about summary refs log tree commit diff stats
path: root/src/html
Commit message (Collapse)AuthorAgeFilesLines
...
* buffer, event: add input events, set isTrustedbptato2025-02-073-1/+40
|
* catom: convert JS_ATOM_NULL to CAtomNullbptato2025-02-061-3/+6
| | | | unsure about the utility of this, but why not
* jsintl: support unitsbptato2025-02-061-20/+194
|
* dom: various collection fixesbptato2025-02-051-8/+28
| | | | | | | | | | * fix iterator assertion failing if finalizer del's after incl * fix strange mismatch in id * fix missing HTMLOptionsCollection finalizer * optimize refreshCollection * fix root liveCollections not being updated by the finalizer Now it shouldn't crash pages anymore.
* formdata: fix FormData constructor, append filename handlingbptato2025-02-051-19/+22
| | | | + some strict defs
* dom: fix @import processing orderbptato2025-02-031-14/+31
| | | | Not only was it wrong until now, it was also non-deterministic...
* dom, event: stub UIEvent, MouseEvent; accept customevent in createEventbptato2025-02-033-5/+23
|
* dom: expose activeElementbptato2025-02-031-1/+1
|
* buffer: fire change event on selection etcbptato2025-02-032-0/+6
|
* dom: reflect iframe src, namebptato2025-02-031-2/+2
|
* dom: fire load event on image loadbptato2025-02-031-0/+3
|
* dom: add blur()bptato2025-02-021-0/+6
|
* javascript: derive ctor functions from parent ctor functionsbptato2025-02-021-3/+2
| | | | no idea why JS_NewCFunction3 is not public...
* dom: load inline module scripts toobptato2025-02-012-6/+22
|
* dom: stub scrollIntoViewbptato2025-02-011-0/+3
|
* dom: handle exceptions in module scriptbptato2025-02-011-7/+10
|
* dom, layout: fix empty canvas cache idsbptato2025-02-011-0/+2
| | | | ok now I understand why I made shareCachedItem crash...
* dom: add title setter, unify newText usebptato2025-02-012-5/+19
| | | | createTextNode is redundant...
* dom: basic module supportbptato2025-02-013-9/+84
| | | | probably breaks with TLA
* buffer: drop pipe, pipe2, passFd privilegesbptato2025-01-301-20/+4
| | | | | All uses of these could be delegated to other processes with more privileges.
* event: fix some refcounting bugsbptato2025-01-282-5/+6
|
* cascade: reuse input value when possiblebptato2025-01-271-17/+35
|
* chadombuilder: perform microtask checkpoint on script insertionbptato2025-01-233-14/+26
|
* dom: fix img tag insertion stepsbptato2025-01-231-1/+1
| | | | | TAG_IMAGE does not really exist; it's auto-converted to TAG_IMG by the parser.
* Add annotations for move semanticsbptato2025-01-223-24/+25
| | | | | | | | | Supposedly they aren't broken in refc after 2.0.0, so we can do this now that 1.6.14 is dropped. I've confirmed lent to work as advertised; it indeed reduces copies. sink doesn't seem to help much, but I guess it will be useful once we switch to ORC.
* javascript: add .jsrget, .jsrfgetbptato2025-01-221-16/+13
| | | | Implements the [Replaceable] WebIDL property.
* dom: add some missing nil checksbptato2025-01-221-6/+14
|
* cssvalues: fix rgba() function parsingbptato2025-01-201-1/+1
|
* cascade: collapse StyledNode tree into DOMbptato2025-01-202-106/+168
| | | | | We now compute styles on-demand, which is both more efficient and simpler than the convoluted tree diffing logic we previously used.
* dom: simplify a bitbptato2025-01-191-1/+1
|
* dom: CSSStyleDeclaration improvementsbptato2025-01-192-17/+26
| | | | Now getComputedStyle works with pseudo-elements too.
* dom, stylednode: move more fields, handle pseudo-element getComputedStylebptato2025-01-182-27/+91
|
* dom: optimizebptato2025-01-182-10/+16
| | | | We'll see if the borrow checker actually works :)
* dom: compare rel case insensitivelybptato2025-01-172-7/+12
|
* dom: fix input checkedness invalidationbptato2025-01-171-0/+4
|
* dom: add Option constructorbptato2025-01-161-0/+13
|
* dom: set target on dispatchbptato2025-01-161-0/+1
|
* env, dom: add crypto.getRandomValues, HTMLInputElement.filesbptato2025-01-163-9/+29
|
* dom: optimize isFirstVisualNodebptato2025-01-151-8/+7
|
* pager: improve content type handlingbptato2025-01-151-1/+1
| | | | also remove some unused fields of Container
* css: refactor selector parsing & cascading, some work on variablesbptato2025-01-141-4/+6
| | | | | | | | | Untangled some nested arrays to reduce the number of intermediary seqs in cascade, and collapsed the two rule def sorts into just one (per pseudo element). This should make cascading somewhat faster. Also, we now parse variables, but they aren't resolved yet. Probably a seq won't cut it for var lookup...
* dom: mark insertBefore "before" as Optionbptato2025-01-132-12/+14
|
* dom: fix leak, HTMLOptionsCollection length getterbptato2025-01-131-0/+4
| | | | Fixes acid3 test 57
* dom: HTMLTemplateElement content getterbptato2025-01-131-1/+1
|
* config: switch to camel casebptato2025-01-131-11/+1
| | | | | | We already need a camel -> kebab converter anyway. Unfortunately this also changes JS binding names, so it's a breaking change. Oh well.
* cssvalues: reduce CSSValues sizebptato2025-01-121-7/+3
| | | | | | | | | | | | | | | | * switch from float64 -> float32; other browsers use 32-bit floats too * specify integer size as 32-bit * use NetworkBitmap for background-image value (currently just an invalid dummy value) * remove "none" property & value types CSSValue's payload is always one word (plus another for the type tag). CSSValues keeps its size, but no longer has to heap-alloc + refcount word-sized CSSValues. (On 32-bit systems, CSSValues might actually be larger than before, but I expect it's still a net benefit with the removal of refcounting and the switch to 32-bit floats.)
* dom: reflect titlebptato2025-01-101-1/+2
|
* dom: add createDocumentbptato2025-01-102-19/+55
|
* dom: more select interfacesbptato2025-01-104-12/+71
| | | | this should be all of them
* buffer, ua.css, dom: more select adjustmentsbptato2025-01-101-15/+40
| | | | | | | ok, now it works like in w3m. (mostly, barring CSS limitations...) we'll see how this works out Also adds/fixes some select and option DOM APIs.