Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dom: clean up namespace handling, add createElementNS | bptato | 2025-01-05 | 3 | -67/+139 |
| | |||||
* | dom: DOMTokenList fixes/improvements | bptato | 2025-01-05 | 1 | -7/+14 |
| | |||||
* | dom: add form length, fix document.getElementsByName("") | bptato | 2025-01-05 | 1 | -0/+10 |
| | |||||
* | dom: clean up, add some strict defs | bptato | 2025-01-05 | 1 | -170/+171 |
| | |||||
* | dom: button fixes | bptato | 2025-01-05 | 2 | -4/+6 |
| | |||||
* | dom: add some table interfaces | bptato | 2025-01-04 | 2 | -26/+260 |
| | |||||
* | dom: radiogroup fixes | bptato | 2025-01-04 | 1 | -17/+20 |
| | |||||
* | dom: implement cssFloat | bptato | 2025-01-04 | 1 | -0/+4 |
| | |||||
* | dom: JS input/form fixes | bptato | 2025-01-03 | 1 | -1/+10 |
| | | | | Fixes acid3 test 53 | ||||
* | env, buffer: restyle on getComputedStyle | bptato | 2025-01-03 | 2 | -0/+5 |
| | | | | | | style/layout invalidation is a mess :( Fixes acid3 test00 | ||||
* | dom: make stringifiers explicit, optimize tokenList toString | bptato | 2025-01-03 | 1 | -3/+3 |
| | |||||
* | dom: add option value setter, input checked setter | bptato | 2025-01-03 | 1 | -22/+26 |
| | |||||
* | script, buffer: add <, > around URL | bptato | 2025-01-03 | 1 | -1/+1 |
| | | | | this way, markURL works on stack traces | ||||
* | jsintl: add select | bptato | 2025-01-03 | 1 | -0/+5 |
| | |||||
* | dom: fully implement ParentNode mixin | bptato | 2025-01-03 | 1 | -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 scrollTo | bptato | 2025-01-02 | 1 | -17/+49 |
| | |||||
* | layout, dom: input rendering fixes | bptato | 2025-01-01 | 1 | -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 stuff | bptato | 2025-01-01 | 1 | -19/+68 |
| | |||||
* | dom: small refactoring + optimization | bptato | 2024-12-31 | 2 | -22/+22 |
| | |||||
* | dom: expose currentScript | bptato | 2024-12-31 | 1 | -1/+1 |
| | |||||
* | buffer: make video, audio clickable | bptato | 2024-12-30 | 1 | -4/+4 |
| | | | | | more intuitive than shoehorning it into "view image" (also makes it easier to apply the content type) | ||||
* | dom, cssvalues: add getComputedStyle | bptato | 2024-12-30 | 2 | -5/+31 |
| | | | | Only available in "app" mode. | ||||
* | dom: add input type getter/setter | bptato | 2024-12-30 | 1 | -1/+1 |
| | |||||
* | script: improve defineConsts | bptato | 2024-12-30 | 4 | -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 postMessage | bptato | 2024-12-30 | 1 | -0/+3 |
| | |||||
* | xhr: fix flipped exception in overrideMimeType | bptato | 2024-12-28 | 1 | -1/+1 |
| | |||||
* | env: add innerWidth, innerHeight | bptato | 2024-12-28 | 1 | -0/+6 |
| | |||||
* | env: do not copy attrs, fix screen on client | bptato | 2024-12-28 | 2 | -8/+8 |
| | | | | Now screen.width etc. works in the pager too. | ||||
* | dom: standard querySelector/All; type erase children | bptato | 2024-12-27 | 1 | -12/+50 |
| | |||||
* | dom: set elIndex to -1 for AttrDummyElement | bptato | 2024-12-27 | 1 | -0/+2 |
| | |||||
* | dom: expose getPropertyValue | bptato | 2024-12-27 | 1 | -1/+1 |
| | |||||
* | dom: add focus() | bptato | 2024-12-27 | 2 | -2/+9 |
| | | | | Respects autofocus. | ||||
* | jsencoding: fix nil deref on empty encode input | bptato | 2024-12-26 | 1 | -9/+9 |
| | |||||
* | Optimize some Option[string] out | bptato | 2024-12-26 | 2 | -15/+15 |
| | | | | toJS is generally more efficient | ||||
* | env: fix taintEnabled | bptato | 2024-12-26 | 1 | -1/+1 |
| | | | | it should have been a function | ||||
* | buffer: add "app" scripting mode | bptato | 2024-12-26 | 4 | -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 userAgent | bptato | 2024-12-26 | 2 | -5/+6 |
| | |||||
* | dom: optimize textContent, nodeValue; add nodeValue setter | bptato | 2024-12-22 | 1 | -16/+31 |
| | |||||
* | dom: add inline SVG support | bptato | 2024-12-20 | 2 | -86/+184 |
| | |||||
* | response: automatically resume before close | bptato | 2024-12-19 | 1 | -5/+0 |
| | | | | doing it manually is too error prone | ||||
* | css: add :target pseudo class | bptato | 2024-12-17 | 1 | -1/+12 |
| | |||||
* | dom, match: optimize :nth-child, :nth-last-child | bptato | 2024-12-17 | 1 | -8/+30 |
| | | | | | | I want to use it in the UA sheet, so the loop won't cut it. (Also fix a parsing bug that prevented "of" from working.) | ||||
* | default(T) -> T.default, add some strict defs | bptato | 2024-12-17 | 2 | -2/+2 |
| | |||||
* | css: resolve units to px before layout | bptato | 2024-12-16 | 1 | -6/+15 |
| | | | | Lets us skip a couple pointless multiplications/divisions during layout. | ||||
* | dom, css: fix case-insensitive class/id/attr matching | bptato | 2024-12-15 | 2 | -9/+35 |
| | | | | Uses an additional lower-case map for O(1) case-insensitive comparisons. | ||||
* | css: align h[1-6] behavior with w3m | bptato | 2024-12-14 | 1 | -0/+23 |
| | | | | | | | | | | | Implemented using proprietary selectors -cha-first-node and -cha-last-node, modeled after -moz-first-node and -moz-last-node. I think they are compatible. That does mean this is more limited than w3m's trimming, e.g. it can't really deal with nesting or empty tags. I think this is fine, as it's mainly meant for unstyled documents in the first place (which are unlikely to have e.g. MAIN tags). | ||||
* | dom: remove cached childNodes, children pointers | bptato | 2024-12-13 | 1 | -34/+37 |
| | | | | | | | Instead, just define the actual value over the getter function on the first use. Also, avoid accidentally creating the attributes NamedNodeMap on adopt. | ||||
* | dom: queryCommandSupported, HTMLIFrameELement stub | bptato | 2024-12-13 | 1 | -0/+7 |
| | |||||
* | twtstr: reduce copying in atob | bptato | 2024-12-12 | 1 | -3/+3 |
| | |||||
* | mimetypes: use cmpIgnoreCase for JS types | bptato | 2024-12-12 | 1 | -4/+4 |
| |