Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | layout/engine: fix text-align: cha-* for boxes with shrink | bptato | 2023-01-01 | 1 | -15/+22 |
| | | | | | 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. | ||||
* | layout/engine: fix crash on padding-right | bptato | 2022-12-31 | 2 | -2/+1 |
| | |||||
* | layout/engine: add hanging spaces, markers | bptato | 2022-12-28 | 1 | -10/+25 |
| | | | | | | 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. | ||||
* | layout/engine: table layout improvements, fix pre-wrap whitespace | bptato | 2022-12-28 | 2 | -126/+206 |
| | | | | | | | | 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/engine: get rid of dom dependency | bptato | 2022-12-27 | 2 | -32/+22 |
| | | | | Layout should only depend on cascading. | ||||
* | Proper support for tabs | bptato | 2022-12-27 | 2 | -4/+10 |
| | |||||
* | layout/engine: calculate wrappervals only if needed | bptato | 2022-12-26 | 1 | -2/+2 |
| | |||||
* | Fix an anonymous table bug | bptato | 2022-12-25 | 1 | -1/+7 |
| | | | | | ...by flushing anonymous tables *before* inline layout is set (therefore avoiding placing them inside inline boxes.) | ||||
* | layout/engine: handle soft hyphens, wrap on ascii dash | bptato | 2022-12-25 | 1 | -13/+42 |
| | |||||
* | layout/engine: store vertical-align at atom creation | bptato | 2022-12-25 | 1 | -10/+9 |
| | |||||
* | layout/engine: use spec in positionBlocks | bptato | 2022-12-25 | 1 | -3/+2 |
| | |||||
* | layout/engine: clean up & fix width computation | bptato | 2022-12-25 | 2 | -163/+142 |
| | | | | | Get rid of compwidth, fix some edge cases where boxes would be computed incorrectly, etc. | ||||
* | layout/engine: simplify a bit | bptato | 2022-12-21 | 2 | -38/+29 |
| | |||||
* | layout/engine: reset absolutes on relayout | bptato | 2022-12-20 | 1 | -0/+1 |
| | |||||
* | Add unicode normalization, etc | bptato | 2022-12-19 | 1 | -3/+9 |
| | |||||
* | Fix division by zero in table layout | bptato | 2022-12-17 | 1 | -6/+8 |
| | |||||
* | Display text for img tag, background-image | bptato | 2022-12-16 | 2 | -42/+49 |
| | |||||
* | Remove obsolete buildInlineTableBox | bptato | 2022-12-16 | 1 | -27/+0 |
| | |||||
* | layout/engine: clean up shrink attribute | bptato | 2022-12-16 | 2 | -58/+69 |
| | |||||
* | layout/engine: fix a <br> bug that ate inline boxes, add broken ↵ | bptato | 2022-12-16 | 2 | -11/+55 |
| | | | | | | | | | min-width/max-width min-width, max-width, min-height, max-height are mostly broken, because they aren't enforced on inline level. Though really the whole size calculation mechanism needs to be refactored, its current state is horrible. | ||||
* | Fix tab width in pre | bptato | 2022-12-15 | 1 | -0/+2 |
| | |||||
* | Make background-color non-inherited; fix {}= for CSSComputedValues | bptato | 2022-12-12 | 1 | -17/+11 |
| | |||||
* | Add support for q, fix list-item counter behavior | bptato | 2022-12-12 | 1 | -49/+100 |
| | |||||
* | layout/engine: fix wrap on pre-wrap (instead of pre-line) | bptato | 2022-12-11 | 1 | -1/+1 |
| | |||||
* | Add border-collapse, border-spacing; fix fd sending hack | bptato | 2022-12-11 | 2 | -7/+27 |
| | | | | | | Note that they don't actually work correctly because of rounding errors. The fd sending hack now emits C directly. Let's hope this actually works. | ||||
* | Add div align | bptato | 2022-12-11 | 1 | -9/+18 |
| | |||||
* | Support vertical-align on td | bptato | 2022-12-11 | 2 | -19/+41 |
| | |||||
* | Add caption-side | bptato | 2022-12-11 | 1 | -9/+32 |
| | |||||
* | Implement a proper table layout | bptato | 2022-12-11 | 2 | -30/+109 |
| | |||||
* | Table layout improvements | bptato | 2022-12-11 | 2 | -7/+29 |
| | |||||
* | Add support for margin-left/right: auto | bptato | 2022-12-11 | 1 | -1/+17 |
| | |||||
* | Add multiple text-decoration, overline emulation | bptato | 2022-12-07 | 1 | -1/+1 |
| | |||||
* | Remove unused BlockBox attribute | bptato | 2022-12-07 | 1 | -1/+0 |
| | |||||
* | Note on table layout + accept inline-table in iflush | bptato | 2022-12-07 | 1 | -1/+3 |
| | |||||
* | Fix table cell reflow | bptato | 2022-12-07 | 2 | -54/+37 |
| | | | | (still not perfect...) | ||||
* | Table changes | bptato | 2022-12-06 | 2 | -16/+25 |
| | | | | mostly failed attempts to improve the table layout | ||||
* | Hacky inline-table implementation | bptato | 2022-12-05 | 1 | -2/+45 |
| | |||||
* | layout: clean up previously rendered root boxes | bptato | 2022-11-30 | 1 | -0/+1 |
| | |||||
* | Add missing iflush call, add experimental line height error correction | bptato | 2022-11-29 | 1 | -0/+1 |
| | | | | It kind of works, I guess? | ||||
* | Add position css property, inline block fixes | bptato | 2022-11-28 | 2 | -106/+187 |
| | | | | | More specifically, inline block white-space is no longer incorrectly determined by its computed values, but rather by its parent's values. | ||||
* | Fix some regressions, add loading progress bar | bptato | 2022-11-27 | 1 | -5/+3 |
| | |||||
* | Fix some table layout issues | bptato | 2022-11-25 | 2 | -173/+238 |
| | |||||
* | Add some quirks mode rules + presentational hints | bptato | 2022-11-25 | 1 | -0/+6 |
| | | | | Only as a POC for now. | ||||
* | Fix misc bugs | bptato | 2022-11-25 | 1 | -6/+6 |
| | |||||
* | Fix typo | bptato | 2022-11-25 | 1 | -2/+2 |
| | |||||
* | Table improvements | bptato | 2022-11-22 | 2 | -37/+58 |
| | |||||
* | Table fixes wip | bptato | 2022-11-22 | 2 | -49/+61 |
| | |||||
* | Terminal refactorings | bptato | 2022-11-20 | 2 | -7/+7 |
| | |||||
* | Fix table cell size calculation | bptato | 2022-11-19 | 2 | -34/+40 |
| | |||||
* | Fix incorrect fit-to-shrink heuristics | bptato | 2022-11-15 | 1 | -1/+5 |
| | | | | No guarantees that it's correct now... |