mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-07 21:17:07 +09:00
Meta: Add doctypes to a few more layout tests
This commit is contained in:
parent
f972342c27
commit
4c54a28c45
Notes:
github-actions[bot]
2025-06-03 10:04:26 +00:00
Author: https://github.com/Psychpsyo
Commit: 4c54a28c45
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4591
Reviewed-by: https://github.com/AtkinsSJ ✅
14 changed files with 21 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x356 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,16) content-size 784x324 children: not-inline
|
||||
BlockContainer <div> at (8,16) content-size 784x154 children: not-inline
|
||||
BlockContainer <p> at (8,16) content-size 784x18 children: inline
|
||||
|
@ -87,7 +87,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x356]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,16 784x324]
|
||||
PaintableWithLines (BlockContainer<DIV>) [8,16 784x154]
|
||||
PaintableWithLines (BlockContainer<P>) [8,16 784x18]
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x34 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x18 children: inline
|
||||
frag 0 from TextNode start: 0, length: 19, rect: [8,8 162.109375x18] baseline: 13.796875
|
||||
"PASS (didn't crash)"
|
||||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x34]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x18]
|
||||
TextPaintable (TextNode<#text>)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x286 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x270 children: not-inline
|
||||
BlockContainer <div.ol> at (24,8) content-size 768x270 children: not-inline
|
||||
BlockContainer <(anonymous)> at (24,8) content-size 768x0 children: inline
|
||||
|
@ -166,7 +166,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x286]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x270]
|
||||
PaintableWithLines (BlockContainer<DIV>.ol) [8,8 784x270]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [24,8 768x0]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x186 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,16) content-size 784x154 children: not-inline
|
||||
BlockContainer <p> at (8,16) content-size 784x18 children: inline
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [26.125,16 14.265625x18] baseline: 13.796875
|
||||
|
@ -43,7 +43,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x186]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,16 784x154]
|
||||
PaintableWithLines (BlockContainer<P>) [8,16 784x18]
|
||||
PaintableWithLines (InlineNode(anonymous))
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x16 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x0 children: not-inline
|
||||
BlockContainer <div> 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<HTML>) [0,0 800x16]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x0]
|
||||
PaintableWithLines (BlockContainer<DIV>) [8,8 784x0]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [8,16 784x0]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x166 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x150 children: inline
|
||||
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 300x150] baseline: 150
|
||||
SVGSVGBox <svg> at (8,8) content-size 300x150 [SVG] children: inline
|
||||
|
@ -10,7 +10,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x166]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x150]
|
||||
SVGSVGPaintable (SVGSVGBox<svg>) [8,8 300x150]
|
||||
SVGGraphicsPaintable (SVGGraphicsBox<symbol>) [8,8 300x150]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x16 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x0 children: not-inline
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x16]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x0]
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
div {
|
||||
counter-increment: line;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
html {
|
||||
content: counters(index);
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
div.ol {
|
||||
counter-reset: index;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
p {
|
||||
counter-increment: a;
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
<!DOCTYPE html>
|
||||
<div style="clip: rect({})"></div>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<body><svg><symbol><set id="set"></set></symbol></body>
|
||||
<script>
|
||||
document.body.offsetWidth;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
test {
|
||||
display: grid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue