about summary refs log tree commit diff stats
path: root/src/html
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* buffer: make iframes clickablebptato2025-01-091-1/+3
| | | | better than nothing
* dom: add data setter for CharacterDatabptato2025-01-091-1/+1
|
* env: basic postMessagebptato2025-01-093-10/+50
|
* Add performance modulebptato2025-01-093-0/+39
| | | | | Just to replace what QJS-NG has, because I don't want to expose a nanosecond precision clock.
* domexception: add legacy constant namesbptato2025-01-081-1/+32
|
* dom: fix content type detection for user-provided codecsbptato2025-01-081-1/+1
| | | | | contentType is the network type; t may be different depending on the extension.
* dom: implement HTMLMetaElement interfacebptato2025-01-081-3/+13
|
* dom: standard tagNamebptato2025-01-071-2/+6
| | | | Fixes acid3 test 21
* mediaquery: add serializationbptato2025-01-061-1/+1
| | | | also, reduce the number of types named MediaQueryList by 50%
* dom: add document.referrerbptato2025-01-062-4/+6
| | | | Only works if referer-from is enabled.
* env: add media query matchingbptato2025-01-062-15/+29
| | | | | | | In lite mode, it uses default window attributes. Incidentally, this also untangles media query matching from cascade, saving us a forward declaration hack (yay!)
* dom: clean up namespace handling, add createElementNSbptato2025-01-053-67/+139
|
* dom: DOMTokenList fixes/improvementsbptato2025-01-051-7/+14
|
* dom: add form length, fix document.getElementsByName("")bptato2025-01-051-0/+10
|
* dom: clean up, add some strict defsbptato2025-01-051-170/+171
|
* dom: button fixesbptato2025-01-052-4/+6
|
* dom: add some table interfacesbptato2025-01-042-26/+260
|
* dom: radiogroup fixesbptato2025-01-041-17/+20
|
* dom: implement cssFloatbptato2025-01-041-0/+4
|
* dom: JS input/form fixesbptato2025-01-031-1/+10
| | | | Fixes acid3 test 53
* env, buffer: restyle on getComputedStylebptato2025-01-032-0/+5
| | | | | | style/layout invalidation is a mess :( Fixes acid3 test00
* dom: make stringifiers explicit, optimize tokenList toStringbptato2025-01-031-3/+3
|
* dom: add option value setter, input checked setterbptato2025-01-031-22/+26
|
* script, buffer: add <, > around URLbptato2025-01-031-1/+1
| | | | this way, markURL works on stack traces
* jsintl: add selectbptato2025-01-031-0/+5
|
* dom: fully implement ParentNode mixinbptato2025-01-031-2/+108
| | | | | | | | * standard firstElementChild, lastElementChild * add childElementCount, prepend, append, replaceChildren supporting JSValue "this" values in Monoucha would be useful for these (so you could specify where it's defined in the jsfunc string)
* dom: add CSSStyleDeclaration setProperty, removeProperty; stub out scrollTobptato2025-01-021-17/+49
|
* layout, dom: input rendering fixesbptato2025-01-011-2/+2
| | | | | * do not display submit/reset text with empty value * fix erroneous blank placement with white-space: pre on new line
* dom: add cookie setter stub, HTMLSelectElement stuffbptato2025-01-011-19/+68
|
* dom: small refactoring + optimizationbptato2024-12-312-22/+22
|
* dom: expose currentScriptbptato2024-12-311-1/+1
|
* buffer: make video, audio clickablebptato2024-12-301-4/+4
| | | | | more intuitive than shoehorning it into "view image" (also makes it easier to apply the content type)
* dom, cssvalues: add getComputedStylebptato2024-12-302-5/+31
| | | | Only available in "app" mode.
* dom: add input type getter/setterbptato2024-12-301-1/+1
|
* script: improve defineConstsbptato2024-12-304-3/+16
| | | | | | Well, I guess this works for now, but something is still wrong. In Gecko, document.__proto__ === Document.__proto__, but in Chawan, it isn't.
* env: stub postMessagebptato2024-12-301-0/+3
|