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.
LibWeb: Change
printElement()
to not output unnecessary space
No functional changes.
- Loading branch information
Showing
23 changed files
with
74 additions
and
74 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
Tests/LibWeb/Text/expected/DOM/ChildNode-after-next-sibling.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<DIV id="one" > | ||
<DIV id="two" > | ||
<DIV id="two" > | ||
<DIV id="one" > | ||
<DIV id="one"> | ||
<DIV id="two"> | ||
<DIV id="two"> | ||
<DIV id="one"> | ||
PASS (didn't crash) |
8 changes: 4 additions & 4 deletions
8
Tests/LibWeb/Text/expected/DOM/ChildNode-before-previous-sibling.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<DIV id="one" > | ||
<DIV id="two" > | ||
<DIV id="two" > | ||
<DIV id="one" > | ||
<DIV id="one"> | ||
<DIV id="two"> | ||
<DIV id="two"> | ||
<DIV id="one"> | ||
PASS (didn't crash) |
14 changes: 7 additions & 7 deletions
14
Tests/LibWeb/Text/expected/DOM/Document-named-properties.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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<FORM > | ||
<FORM> | ||
document.bob === document.forms[0]: true | ||
<BUTTON id="fred" > | ||
<BUTTON id="fred"> | ||
img element with name 'foo' and id 'bar': | ||
<IMG id="bar" > | ||
<IMG id="bar"> | ||
img element with id 'baz', but no name: | ||
baz === undefined: true | ||
Multiple elements with name 'foo': | ||
foos.length = 2 | ||
<IMG id="bar" > | ||
<FORM > | ||
<IMG id="bar"> | ||
<FORM> | ||
obj element with name 'greg' and id 'banana': | ||
<OBJECT id="banana" > | ||
<OBJECT id="banana" > | ||
<OBJECT id="banana"> | ||
<OBJECT id="banana"> | ||
goodbye greg/banana | ||
no more greg or banana: true, true | ||
meta tag does not match: true |
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 |
---|---|---|
@@ -1 +1 @@ | ||
<DIV id="target" > | ||
<DIV id="target"> |
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 |
---|---|---|
@@ -1 +1 @@ | ||
<DIV id="c" > | ||
<DIV id="c"> |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Negative coordinates return null: true | ||
Coordinates outside the viewport return null: true | ||
<HTML id="root-element" > | ||
<DIV id="large-box" > | ||
<DIV id="small-box" > | ||
<HTML id="root-element"> | ||
<DIV id="large-box"> | ||
<DIV id="small-box"> |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<DIV id="c" > | ||
<DIV id="b" > | ||
<DIV id="a" > | ||
<HTML > | ||
<DIV id="c"> | ||
<DIV id="b"> | ||
<DIV id="a"> | ||
<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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
Negative coordinates return empty array: true | ||
Coordinates outside the viewport return empty array: true | ||
== Elements at (500, 10) == | ||
<DIV id="large-box" > | ||
<HTML > | ||
<DIV id="large-box"> | ||
<HTML> | ||
== Elements at (550, 60) == | ||
<DIV id="small-box" > | ||
<DIV id="large-box" > | ||
<PRE id="out" > | ||
<BODY > | ||
<HTML > | ||
<DIV id="small-box"> | ||
<DIV id="large-box"> | ||
<PRE id="out"> | ||
<BODY> | ||
<HTML> |
6 changes: 3 additions & 3 deletions
6
Tests/LibWeb/Text/expected/DOM/getElementsByClassName-multiple.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
document.getElementsByClassName("te st").length: 3 | ||
<DIV id="1" > | ||
<DIV id="2" > | ||
<DIV id="3" > | ||
<DIV id="1"> | ||
<DIV id="2"> | ||
<DIV id="3"> |
4 changes: 2 additions & 2 deletions
4
Tests/LibWeb/Text/expected/DOM/update-live-ranges-on-node-insertion.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
1 | ||
<H2 > | ||
<H2> | ||
2 | ||
<H2 > | ||
<H2> | ||
2 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
input1 keydown Tab | ||
<INPUT id="input2" > | ||
<INPUT id="input2"> | ||
input2 keydown Tab | ||
<INPUT id="input1" > | ||
<INPUT id="input1"> |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Submitter is null | ||
<INPUT id="form-associated-button" > | ||
<INPUT id="form-associated-button"> | ||
Exception: NotFoundError | ||
Exception: TypeError |
16 changes: 8 additions & 8 deletions
16
Tests/LibWeb/Text/expected/hit_testing/block-element-inside-inline-element.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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<#text > | ||
<#text> | ||
index: 1 | ||
<BODY > | ||
<BODY> | ||
--- | ||
<#text > | ||
<#text> | ||
index: 1 | ||
<B id="b1" > | ||
<B id="b1"> | ||
--- | ||
<#text > | ||
<#text> | ||
index: 1 | ||
<DIV id="d1" > | ||
<DIV id="d1"> | ||
--- | ||
<#text > | ||
<#text> | ||
index: 3 | ||
<B id="b1" > | ||
<B id="b1"> | ||
--- |
2 changes: 1 addition & 1 deletion
2
Tests/LibWeb/Text/expected/hit_testing/click-outside-of-box-with-hidden-overflow.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 |
---|---|---|
@@ -1 +1 @@ | ||
<HTML > | ||
<HTML> |
2 changes: 1 addition & 1 deletion
2
.../LibWeb/Text/expected/hit_testing/click-outside-of-box-with-lines-and-hidden-overflow.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 |
---|---|---|
@@ -1 +1 @@ | ||
<HTML > | ||
<HTML> |
4 changes: 2 additions & 2 deletions
4
Tests/LibWeb/Text/expected/hit_testing/nested-inline-paintables.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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<SPAN id="name" > | ||
<SPAN id="value" > | ||
<SPAN id="name"> | ||
<SPAN id="value"> |
2 changes: 1 addition & 1 deletion
2
Tests/LibWeb/Text/expected/hit_testing/overflow-hidden-wrapped-into-css-translate.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 |
---|---|---|
@@ -1 +1 @@ | ||
<DIV id="box" > | ||
<DIV id="box"> |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<P id="line-6" > | ||
<SPAN id="line-8" > | ||
<P id="line-6"> | ||
<SPAN id="line-8"> |
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<DIV id="a1" > | ||
<BODY > | ||
<DIV id="a1"> | ||
<BODY> | ||
--- | ||
<DIV id="b3" > | ||
<DIV id="b2" > | ||
<DIV id="b3"> | ||
<DIV id="b2"> | ||
--- | ||
<A id="c1" > | ||
<BODY > | ||
<A id="c1"> | ||
<BODY> | ||
--- | ||
<I id="d2" > | ||
<B id="d1" > | ||
<I id="d2"> | ||
<B id="d1"> | ||
--- |
12 changes: 6 additions & 6 deletions
12
Tests/LibWeb/Text/expected/hit_testing/positioned-z-index-0-and-floats.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<DIV id="aa" > | ||
<DIV id="a" > | ||
<DIV id="bb" > | ||
<DIV id="b" > | ||
<DIV id="d" > | ||
<DIV id="container" > | ||
<DIV id="aa"> | ||
<DIV id="a"> | ||
<DIV id="bb"> | ||
<DIV id="b"> | ||
<DIV id="d"> | ||
<DIV id="container"> |
2 changes: 1 addition & 1 deletion
2
Tests/LibWeb/Text/expected/hit_testing/stacking-context-inside-scrollable-box.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 |
---|---|---|
@@ -1 +1 @@ | ||
<DIV id="scroll-space-filler" > | ||
<DIV id="scroll-space-filler"> |
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