1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 09:04:59 +00:00
serenity/Tests/LibWeb/Text/expected/XHR
Andreas Kling e7de5cb4d2 LibWeb: Bring CSS line-height closer to other engines
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.
2024-01-12 15:04:06 +01:00
..
XMLHttpRequest-forbidden-method.txt Tests/LibWeb: Verify XHR.open() throws on forbidden method 2023-11-29 21:51:35 +01:00
XMLHttpRequest-invalid-or-illegal-method.txt Tests/LibWeb: Verify XHR.open() throws on illegal token in method arg 2023-11-29 21:51:35 +01:00
XMLHttpRequest-response-empty.txt Tests/LibWeb: Move existing XHR Text tests in under the XHR folder 2023-11-29 21:51:35 +01:00
XMLHttpRequest-response-gives-Document.txt LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
XMLHttpRequest-response-is-arraybuffer.txt Tests/LibWeb: Verify XHR.response is an instance of ArrayBuffer 2023-11-29 21:51:35 +01:00
XMLHttpRequest-response-is-blob.txt LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
XMLHttpRequest-responseXML-empty.txt Tests/LibWeb: Move existing XHR Text tests in under the XHR folder 2023-11-29 21:51:35 +01:00
XMLHttpRequest-responseXML-gives-XMLDocument.txt Tests/LibWeb: Move existing XHR Text tests in under the XHR folder 2023-11-29 21:51:35 +01:00
XMLHttpRequest-send-flag-already-set.txt Tests/LibWeb: Verify XHR.send() throws when called twice 2023-11-29 21:51:35 +01:00
XMLHttpRequest-state-not-opened.txt Tests/LibWeb: Verify XHR.send() throws when XHR.readyState is UNSENT 2023-11-29 21:51:35 +01:00