about summary refs log tree commit diff stats
path: root/src/html
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* xhr: fix flipped exception in overrideMimeTypebptato2024-12-281-1/+1
|
* env: add innerWidth, innerHeightbptato2024-12-281-0/+6
|
* env: do not copy attrs, fix screen on clientbptato2024-12-282-8/+8
| | | | Now screen.width etc. works in the pager too.
* dom: standard querySelector/All; type erase childrenbptato2024-12-271-12/+50
|
* dom: set elIndex to -1 for AttrDummyElementbptato2024-12-271-0/+2
|
* dom: expose getPropertyValuebptato2024-12-271-1/+1
|
* dom: add focus()bptato2024-12-272-2/+9
| | | | Respects autofocus.
* jsencoding: fix nil deref on empty encode inputbptato2024-12-261-9/+9
|
* Optimize some Option[string] outbptato2024-12-262-15/+15
| | | | toJS is generally more efficient
* env: fix taintEnabledbptato2024-12-261-1/+1
| | | | it should have been a function
* buffer: add "app" scripting modebptato2024-12-264-29/+49
| | | | | | | | | | For APIs that cannot be implemented in a privacy-friendly manner. As a start, I've added accurate screen size queries; getComputedStyle, getBoundingClientRect, etc. should follow. (We have a harmless getComputedStyle already, but it's broken.) Probably, things like JS-based scroll belong in here too, but I'm not sure yet. (Perhaps autofocus should be reused instead?)
* env: reflect user agent header in userAgentbptato2024-12-262-5/+6
|
* dom: optimize textContent, nodeValue; add nodeValue setterbptato2024-12-221-16/+31
|
* dom: add inline SVG supportbptato2024-12-202-86/+184
|