| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
| |
Fixed a bug that would lead to styles unnecessarily being recalculated
if the root element had a :hover dependency.
|
| |
|
| |
|
| |
|
|
|
|
| |
this way it works for <select> tags too
|
| |
|
|
|
|
| |
ref. https://todo.sr.ht/~bptato/chawan/27
|
| |
|
|
|
|
|
|
| |
eh
probably have to move the event loop to pager...
|
|
|
|
| |
no longer needed as we just redirect on wrong dir URLs
|
| |
|
|
|
|
|
| |
* jump to first selected item (if any) when opened
* fix crash on control chars in option (at least they didn't bleed...)
|
|
|
|
|
| |
no longer needed since we don't pass fpermissive, now we can just use
nim.cfg
|
|
|
|
| |
forgot about word-break
|
|
|
|
| |
one less mystery
|
|
|
|
|
| |
no longer makes sense to keep it as a separate module since everything
is in CGI
|
|
|
|
| |
progress. now they only mess up coloring a bit.
|
|
|
|
|
|
|
| |
This broke CJK combined with table layouts.
(Inline layout's state dependencies between procs are getting a bit
scary...)
|
| |
|
|
|
|
| |
merge text nodes, eat nobr, wbr
|
| |
|
|
|
|
|
| |
not quite happy with this design but for now let's just try to make
it work well
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's *not* a context menu: items are fixed, and currently not even
customizable. Former is a feature, latter is a bug.
Also, select now has improved mouse support; its behavior is a
combination of the w3m menu (for btn1) and GTK Firefox context menu
(for btn3).
Also, fix some bugs in select:
* lines with double width chars are handled better (not perfectly,
but at least the grid isn't completely mangled anymore)
* non-multiple select now highlights the currently selected option
* small selects at the bottom of the screen are handled correctly
* selects at the right edge of the screen are handled correctly
* select multiple no longer discards selected items on cursorLeft
|
|
|
|
| |
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
|