mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03:00
Tests/LibWeb: Use SerenitySans in new layout tests
This ensures consistent font metrics no matter which platform fonts are available.
This commit is contained in:
parent
ff7b949061
commit
da861fe7af
Notes:
sideshowbarker
2024-07-16 23:06:12 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/da861fe7af
@ -6,9 +6,9 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
Box <div.flex-container> at (11,11) content-size 600x10 flex-container(row) children: not-inline
|
||||
BlockContainer <(anonymous)> at (11,11) content-size 0x0 children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <div.flex-item> at (12,72) content-size 24.859375x18.000007 flex-item children: inline
|
||||
line 0 width: 24.859375, height: 19.359375, bottom: 19.359375, baseline: 15.5
|
||||
frag 0 from TextNode start: 0, length: 3, rect: [12,72 24.859375x19.359375]
|
||||
BlockContainer <div.flex-item> at (12,72) content-size 27.15625x18.000007 flex-item children: inline
|
||||
line 0 width: 27.15625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 3, rect: [12,72 27.15625x17.46875]
|
||||
"foo"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> at (11,11) content-size 0x0 children: inline
|
||||
|
@ -7,12 +7,12 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <(anonymous)> at (11,11) content-size 600x0 children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <div.foo> at (12,72) content-size 598x18.000007 children: inline
|
||||
line 0 width: 24.859375, height: 19.359375, bottom: 19.359375, baseline: 15.5
|
||||
frag 0 from TextNode start: 0, length: 3, rect: [12,72 24.859375x19.359375]
|
||||
line 0 width: 27.15625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 3, rect: [12,72 27.15625x17.46875]
|
||||
"foo"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> at (11,211) content-size 600x19.359375 children: inline
|
||||
line 0 width: 25.21875, height: 19.359375, bottom: 19.359375, baseline: 15.5
|
||||
frag 0 from TextNode start: 1, length: 3, rect: [11,211 25.21875x19.359375]
|
||||
BlockContainer <(anonymous)> at (11,211) content-size 600x17.46875 children: inline
|
||||
line 0 width: 27.640625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 1, length: 3, rect: [11,211 27.640625x17.46875]
|
||||
"bar"
|
||||
TextNode <#text>
|
||||
|
@ -1,6 +1,7 @@
|
||||
<style>
|
||||
* {
|
||||
border: 1px solid black;
|
||||
font-family: 'SerenitySans';
|
||||
}
|
||||
.flex-container {
|
||||
display: flex;
|
||||
|
@ -1,6 +1,7 @@
|
||||
<style>
|
||||
* {
|
||||
border: 1px solid black;
|
||||
font-family: 'SerenitySans';
|
||||
}
|
||||
.cb {
|
||||
width: 600px;
|
||||
|
Loading…
Reference in New Issue
Block a user