| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
just sync'ing
|
|
|
|
| |
Parse rule values in sheet addRule, not during cascade.
|
| |
|
|
|
|
|
| |
See attached test case; previously, this would result in a missing space
in visual mode and a crash in dump mode.
|
|
|
|
|
| |
* get rid of BlockGroup
* unify BlockBox construction for flex, block, table
|
|
|
|
|
|
|
| |
Much cleaner than the previous solution.
Should also be somewhat less wasteful, as we no longer constantly
rebuild the same tree with new branches.
|
| |
|
|
|
|
| |
get rid of percHeight, unify min/max sizing, etc.
|
| |
|
|
|
|
|
| |
I would prefer it to not cut off the canvas background color, but the
current output is just as valid.
|
| |
|
|
|
|
|
| |
* do not use inline block computed values for wrapper fragment
* fix minimum line box height calculation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous solution had the issue that it switched between "delete
buffer, then move back" and "delete buffer, then move forward" depending
on whether the buffer was the root of the buffer tree, which made its
behavior quite unpredictable.
Now the pager (sort of) remembers the direction you are coming from,
and D moves in that direction. So e.g.:
* Enter, D just moves back to where you were coming from (as before)
* Comma, D deletes the previous buffer, then returns to the current
buffer
If no buffer exists in the target direction, then we alert.
Also, new commands are: `d,' `d.'. They do the same thing the
non-d-prefixed variations do, but also delete the current buffer. Useful
if you're no longer sure where you are coming from, but know where you
want to go. (`d,' in particular is equivalent to w3m's `B'.)
|
|
|
|
|
|
|
| |
As expected, the mystery line was just hiding another bug. (In
particular, indefinite containing size constraints were not denied in
resolveContentWidth, so it only (accidentally) worked with stretched
sizes.)
|
|
|
|
| |
seems like this line is necessary after all
|
| |
|
|
|
|
|
|
| |
* merge caption sizing code path with layoutRootBlock
* fix caption margins being disregarded
* fix incorrect positioning of `caption-side: bottom'
|
| |
|
|
|
|
|
| |
- simplify `JS_IsArray` for proxy chains
- remove `js_proxy_isArray`
|
|
|
|
|
|
| |
* add `JS_StrictEq()`, `JS_SameValue()`, and `JS_SameValueZero()` all accepting `JSValueConst`
* make `js_strict_eq` accept `JSValueConst`, remove uses of this function internally and replace them with
`js_strict_eq2` instead.
|
|
|
|
|
|
| |
* Expose `JS_SetUncatchableError()`
* Remove unnecessary `JS_SetUncatchableError` declaration
|
| |
|
| |
|
|
|
|
| |
taking it from upstream
|
|
|
|
|
| |
* use current fragment's line height for percentage baselines
* get rid of baseline calculating pass in verticalAlignLine
|
|
|
|
|
|
|
|
| |
TODO: find the exact flags we need instead of -fpermissive.
See also:
https://todo.sr.ht/~bptato/chawan/12
https://forum.nim-lang.org/t/11587
|
|
|
|
|
|
|
|
|
|
|
| |
As per standard:
> Adjoining vertical margins collapse, except:
> [...]
> If the top and bottom margins of an element with clearance are
> adjoining, its margins collapse with the adjoining margins of
> following siblings but that resulting margin does not collapse with
> the bottom margin of the parent block.
|
| |
|
|
|
|
| |
just merge it with InlineFragment
|
|
|
|
| |
We have a markdown converter, so why not use it?
|
| |
|
| |
|
|
|
|
| |
This avoids some unnecessary string copying.
|
|
|
|
| |
this way, we do not refer to nodes of previous cascade passes
|
|
|
|
|
|
|
|
|
|
| |
Instead of allocating a separate object for each box, just re-use
a single BlockBox on re-layouts.
This means that now the (block-level) tree is built in its final form in
the first pass.
(Inline boxes remain the same as before for now.)
|
|
|
|
|
| |
* fix list-style-position: inside
* get rid of ListItemBoxBuilder
|
|
|
|
|
|
|
|
|
| |
Captions are no longer positioned inside tables, yay.
Also, misc:
* rename some things for consistency
* clamp out of bounds rgb() values
* remove inherited property lookup table
|
|
|
|
|
| |
This is not a perfect solution, but it's still better than not being
able to double click on CJK links correctly.
|
|
|
|
|
|
|
| |
Pointless bloat that fixes no real problems, but it's standard now...
(Are we supposed to add a helper function that returns null for *every*
constructor that can throw now?)
|
|
|
|
|
| |
I wish we didn't need any, but fixing this for integers would be too
involved and the float64 one was causing problems now.
|
| |
|
| |
|
|
|
|
| |
removes elaborate table box type hierarchy that does nothing
|
| |
|
| |
|
|
|
|
| |
Both outputs suck, but it probably doesn't matter much.
|
|
|
|
|
| |
* update naming
* do not send status code (it was always 200 anyway)
|
|
|
|
| |
seems to get called for signal handlers
|
|
|
|
| |
rationale: see previous commit
|
|
|
|
|
|
|
|
| |
The pager already unlinks it, so ideally this should change nothing.
(This was causing buffer processes to core dump on OpenBSD, because I
forgot that I removed unlink promise. Better keep code paths the same
when possible...)
|