mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
![]() This patch makes a few changes to the way we calculate line-height: - `line-height: normal` is now resolved using metrics from the used font (specifically, round(A + D + lineGap)). - `line-height: calc(...)` is now resolved at style compute time. - `line-height` values are now absolutized at style compute time. As a consequence of the above, we no longer need to walk the DOM ancestor chain looking for line-heights during style computation. Instead, values are inherited, resolved and absolutized locally. This is not only much faster, but also makes our line-height metrics match those of other engines like Gecko and Blink. |
||
---|---|---|
.. | ||
button-attributes.txt | ||
Form-indexed-property-access.txt | ||
Form-named-property-access.txt | ||
FormData-append-with-emoji-in-name.txt | ||
get-innerHTML.txt | ||
HTMLElement-offsetFoo-in-table-cell.txt | ||
HTMLInputElement-valueAsNumber.txt | ||
iframe-reload-on-src-or-srcdoc-change.txt | ||
img-src-in-innerHTML-crash.txt | ||
Navigation-object-properties.txt | ||
navigator-beacon.txt | ||
set-innerHTML-details.txt | ||
set-innerHTML-input.txt | ||
set-innerHTML-textarea.txt | ||
StructuredClone-array-buffer-views.txt | ||
StructuredClone-object-primitives.txt | ||
StructuredClone-primitives.txt | ||
Window-named-properties-elements.txt | ||
Window-named-properties-iframe.txt | ||
Window-postMessage.txt | ||
Window-prototype.txt |