mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
LibWeb: Always blockify the root element
This is what the spec tells us to do: The root element’s display type is always blockified, and its principal box always establishes an independent formatting context. Additionally, a display of contents computes to block on the root element. Spec link: https://drafts.csswg.org/css-display/#root Fixes #1562
This commit is contained in:
parent
f377bf862a
commit
f1be662f68
Notes:
github-actions[bot]
2024-09-29 09:47:03 +00:00
Author: https://github.com/awesomekling
Commit: f1be662f68
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1563
12 changed files with 44 additions and 12 deletions
1
Tests/LibWeb/Layout/input/html-display-contents.html
Normal file
1
Tests/LibWeb/Layout/input/html-display-contents.html
Normal file
|
@ -0,0 +1 @@
|
|||
<html style="display:contents"><body>lol
|
Loading…
Add table
Add a link
Reference in a new issue