| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
ref. https://todo.sr.ht/~bptato/chawan/24
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* add HTMLDocument as alias to Document
* set Image as configurable/writable
So looking closer, HTMLDocument *is* specified, just major browsers
don't follow the spec.
I doubt this incompatibility causes issues, anyway.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
It necessarily removes the config.images check from codec access, which
I'm not quite happy about, so I've added a check to the DOM instead.
(TODO: maybe pager should just dynamically grant codec access as a
capability instead? but maybe that's even more error prone...)
|
|
|
|
|
|
| |
* replace weird cursor position representation
* add cursorTop, cursorMiddle, cursorBottom, scrollDown, scrollUp
* expose fromy, cursory to JS
|
|
|
|
|
| |
It is documented in chame that parentNode may be nil, and indeed, it is
nil in some cases.
|
|
|
|
|
|
| |
It does not have to, according to the standard.
(Slashes before the item selector are still collapsed.)
|
| |
|
| |
|
|
|
|
| |
Assume it is required, so that we can still skip the first scan.
|
|
|
|
|
|
| |
Turns out the generics weren't really needed in the first place.
Also, StyledNode is now 16 bytes smaller.
|
| |
|
|
|
|
| |
canceled was not being set, because we jumped out of the loop too early.
|
| |
|
| |
|
|
|
|
| |
maybe I'll get it right one of these days
|
| |
|
| |
|
|
|
|
| |
continuation of 79d832c37
|
| |
|
|
|
|
|
| |
The HTML standard wants us to treat it specially, but for now this seems
to work OK too.
|
|
|
|
|
|
|
| |
ref. https://todo.sr.ht/~bptato/chawan/23
TODO: I'm not quite sure *why* it's getting called. curls operate in
mysterious ways.
|
|
|
|
| |
just in case
|
|
|
|
|
| |
The rowspan filler must get a smaller colspan if its first cells are
occupied by another cell with a colspan > 1.
|
|
|
|
| |
gmifetch did this, but apparently it got lost in the rewrite.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was a bit annoying because it triggered the popup warning on
cursorNextLink -> click with form buttons (as the square brackets around
[button] are implemented with ::before/::after.)
Notably, this also removes the visibility check from isClickable.
I suspect there was a good reason why I added it, but I can't remember
why, and it's incompatible with what desktop browsers do on:
<a href="https://asdf.com" style="visibility: hidden">
<div style="visibility: visible">
test
</div>
</div>
So if it's ever added back, then this case should be respected too.
|
|
|
|
|
| |
findPrevLink is still an unreadable mess, but at least findNextLink
looks alright now.
|
| |
|
| |
|
|
|
|
| |
this was causing images to disappear sometimes
|
| |
|
| |
|
|
|
|
|
| |
* get rid of hash table
* only do a single port lookup every time the port changes
|
|
|
|
|
|
|
|
|
| |
wait isn't this exponential
-- apparently not, at least not with the DOM builder.
(however it is if JS builds the DOM out of place. what can you do, at
least it works now.)
|
| |
|
|
|
|
| |
kill qmark hack, plus refactor the form data parser/serializer
|
| |
|
|
|
|
| |
for consistency
|
| |
|
|
|
|
|
|
|
| |
most of it has already been moved to monoucha, and the rest fits better
in other directories.
also, move urimethodmap to config
|
| |
|
|
|
|
|
|
|
| |
far from perfect, but it's something.
(ideally, we should store enums in a bitmap instead of allocating a
GC'ed property for each of them.)
|
| |
|
| |
|
|
|
|
| |
like line height, this caused more trouble than it was worth
|
|
|
|
|
|
|
|
|
| |
* fix incorrect :- behavior
* merge non-standard '${%VARIABLE}' syntax with regular syntax; now all
internal variables are exported to the environment, so the behavior
should be equivalent.
* handle terminal symbol appropriately in all states
* deny numeric curly substitutions
|
|
|
|
|
| |
mainly to avoid licensing issues and to skip an unnecessary build step
when the git repo is cloned
|