This website requires JavaScript.
Explore
Help
Sign in
Stowage
/
ladybird
Watch
2
Star
0
Fork
You've already forked ladybird
0
mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced
2025-12-07 21:59:54 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
d31a58a7d6
ladybird
/
Tests
/
LibWeb
/
Text
/
expected
/
getComputedStyle-grid-template-rows-columns.txt
4 lines
32 B
Text
Raw
Normal View
History
Unescape
Escape
LibWeb+WebContent: Do not include DOM HTML in text test expectations For example, in the following abbreviated test HTML: <span>some text</span> <script>println("whf")</script> We would have to craft the expectation file to include the "some text" segment, usually with some leading whitespace. This is a bit annoying, and makes it difficult to manually craft expectation files. So instead of comparing the expectation against the entire DOM inner text, we now send the inner text of just the <pre> element containing the test output when we invoke `internals.signalTextTestIsDone`.
2024-10-02 12:38:10 -04:00
100px 100px
LibWeb: Return used values for grid tracks in getComputedStyle() That's awkward, but getComputedStyle needs to return used track values for gridTemplateColumns and gridTemplateRows properties. This change implements it by saving style values with used values into layout state, so it could be assigned to paintables during LayoutState::commit() and later accessed by style_value_for_property(). I haven't seen it used in the wild, but WPT grid tests extensively use it. For example this change helps to go from 0/10 to 8/10 on this test: https://wpt.live/css/css-grid/layout-algorithm/grid-fit-content-percentage.html
2024-09-09 12:15:49 +02:00
50px 50px
LibWeb: Return computed grid-template-rows/columns if there's no used If grid-template-rows or grid-template-columns queried for a box that is not a grid container, the result should be computed value instead of null. Fixes crashing in inspector.
2024-09-09 18:13:24 +02:00
auto auto
Reference in a new issue
Copy permalink