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-08 06:09:58 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
f3f7f77dbc
ladybird
/
Tests
/
LibWeb
/
Text
/
expected
/
getComputedStyle-grid-template-rows-columns.txt
4 lines
40 B
Text
Raw
Normal View
History
Unescape
Escape
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
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