| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* ips -> io/
* loader related stuff -> loader/
* tempfile -> extern/
* buffer, forkserver -> server/
* lineedit, window -> display/
* cell -> types/
* opt -> types/
|
|
|
|
|
| |
Now cells with a rowspan > 1 actually occupy several rows.
The implementation is quite ugly but it should work for now.
|
|
|
|
|
| |
Turns out we had the row groups separated for a reason: we need them
so we can implicitly sort rows based on their row group type.
|
|
|
|
| |
the iterator here was rather pointless
|
|
|
|
|
|
| |
Specifically, we used to set the width computed value of table cells
manually in the past. It was a hack that never worked very well, and has
been unnecessary ever since we switched to SizeConstraints.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Re-consideration of 1e0506adb: we do need to explicitly specify padding
after all, so the rendering engine knows of it too.
|
|
|
|
|
|
| |
In the tab width case, only whitespacenum was being divided instead of
charwidth + whitespacenum, which resulted in an exponential growth of
both charwidth and whitespacenum.
|
|
|
|
|
| |
So e.g. padding: 1px does not inhibit automatic addition of spaces
for inline blocks.
|
| |
|
|
|
|
| |
Still not perfect, but at least not completely broken.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
computeShift now checks if the last inline atom is spacing, and
if yes, it does not add more spacing.
This fixes rendering of the following document:
<span>
a
</span>
<span>
b
</span>
|
| |
|
|
|
|
|
| |
Only inherit width from the last positioned element if position:
absolute is set.
|
|
|
|
|
|
| |
Factor out the "shrink" variable and the (broken) isWidthSpecified into a
SizeConstraint type.
This should make box sizing easier to reason about.
|
|
|
|
| |
whoops
|
|
|
|
|
|
|
|
| |
* Set contentWidthInfinite to false when specified width commands so
* Unify applyWidth of block boxes. probably still incorrect, just less so
(at least we no longer have two slightly different cases...)
This appears to fix some infinite table cell width issues.
|
|
|
|
| |
Split it into smaller functions.
|
|
|
|
| |
urls can get pretty long
|
|
|
|
| |
This fixes interpretation of "@media (min/max-width: 1234px)".
|
| |
|
|
|
|
| |
Reduces ugly rendering caused by rounding errors.
|
| |
|
|
|
|
|
| |
In other words, if the element is wider than it's container, we
don't do anything at all.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Fix margin-top being used instead of margin-bottom.
Content width resolving makes somewhat more sense now.
min-width, max-width doesn't completely break width calculation anymore.
Finally, position: absolute is no longer implemented as a horribly
broken hack.
|
|
|
|
| |
It was being used the same way as max-width. Oops.
|
|
|
|
|
| |
by checking if the box has been positioned before. Not a very
good solution, but it works...
|
| |
|
|
|
|
| |
Now at least absolute should be positioned correctly.
|
| |
|
|
|
|
| |
Also fix margin-left/right: auto, to some extent.
|
| |
|
|
|
|
|
| |
Also, a hack for inline box background-color. It doesn't work very
well, but good enough for now.
|
|
|
|
| |
Just how many white-space properties can I get wrong?
|
|
|
|
| |
inline-table was calling the wrong layout, which made an assertion fail.
|
|
|
|
|
| |
In shrink, we can only take up as much space as our content, so we first
have to determine our content width and only then align the children.
|
| |
|
|
|
|
|
|
| |
Implement hanging ascii spaces. Non-ascii is still not supported...
Markers are now built in shrunken inline contexts, and are set to
white-space pre, so the trailing space is preserved.
|
|
|
|
|
|
|
|
| |
Table layout: weight calculation is no longer broken. We use
maxContentWidth for this, which the first pass of a non-specified
table cell layout overrides.
pre-wrap: just a minor fix - include it in whitespacepre, now that
we have a distinction between pre and wrapping white-space
|
|
|
|
| |
Layout should only depend on cascading.
|
| |
|
| |
|
|
|
|
|
| |
...by flushing anonymous tables *before* inline layout is
set (therefore avoiding placing them inside inline boxes.)
|