forked from LadybirdBrowser/ladybird
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fill out the json and associated boilerplate for the `writing-mode` property, and fill out a FIXME in `BlockFormattingContext.cpp`
- Loading branch information
1 parent
d0463bf
commit 9a18c80
Showing
11 changed files
with
88 additions
and
6 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
Tests/LibWeb/Layout/expected/block-and-inline/bfc-resolve-height-if-treated-as-auto.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline | ||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline | ||
BlockContainer <body> at (8,8) content-size 784x0 children: not-inline | ||
BlockContainer <div.not-bfc> at (8,8) content-size 784x0 children: not-inline | ||
BlockContainer <div.bfc> at (8,8) content-size 784x0 children: not-inline | ||
BlockContainer <(anonymous)> at (8,16) content-size 784x0 children: inline | ||
TextNode <#text> | ||
|
||
ViewportPaintable (Viewport<#document>) [0,0 800x600] | ||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600] | ||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x0] overflow: [8,16 784x0] | ||
PaintableWithLines (BlockContainer<DIV>.not-bfc) [8,8 784x0] | ||
PaintableWithLines (BlockContainer<DIV>.bfc) [8,8 784x0] | ||
PaintableWithLines (BlockContainer(anonymous)) [8,16 784x0] |
15 changes: 15 additions & 0 deletions
15
Tests/LibWeb/Layout/input/block-and-inline/bfc-resolve-height-if-treated-as-auto.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- Quirks mode --> | ||
<html> | ||
<style> | ||
.not-bfc{ | ||
writing-mode: vertical-rl, | ||
width: 600px | ||
} | ||
.bfc{ | ||
width: auto, | ||
margin-left: 50px, | ||
margin-right: 50px | ||
} | ||
</style> | ||
<div class="not-bfc"><div class="bfc"></div></div> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -484,5 +484,10 @@ | |
"pre", | ||
"pre-line", | ||
"pre-wrap" | ||
], | ||
"writing-mode": [ | ||
"horizontal-tb", | ||
"vertical-lr", | ||
"vertical-rl" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters