Commit 7116f7ff authored by hyatt's avatar hyatt
Browse files

Update layout tests to deal with trailing whitespace at the end of a document properly.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent fc93977b
......@@ -29,3 +29,4 @@ layer at (0,0) size 800x600
RenderBlock {P} at (0,34) size 484x18
RenderText {TEXT} at (0,0) size 147x18
text run at (0,0) width 147: "This text is underneath."
RenderText {TEXT} at (0,0) size 0x0
......@@ -9,3 +9,4 @@ layer at (0,0) size 800x600
text run at (0,0) width 27: "Test"
RenderText {TEXT} at (100,0) size 35x18
text run at (100,0) width 35: "Hello"
RenderText {TEXT} at (0,0) size 0x0
......@@ -15,6 +15,7 @@ layer at (0,0) size 800x172
text run at (0,1) width 528: "Ahem_font_required_for_this_test."
RenderText {TEXT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
layer at (8,80) size 80x16
RenderBlock (positioned) {DIV} at (0,0) size 80x16 [color=#008000]
RenderText {TEXT} at (0,0) size 80x16
......
......@@ -15,6 +15,7 @@ layer at (0,0) size 800x172
text run at (0,1) width 528: "Ahem_font_required_for_this_test."
RenderText {TEXT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
layer at (8,80) size 80x16
RenderBlock (positioned) {DIV} at (0,0) size 80x16 [color=#008000]
RenderText {TEXT} at (0,0) size 80x16
......
......@@ -7,6 +7,7 @@ layer at (0,0) size 785x600
RenderText {TEXT} at (0,0) size 119x18
text run at (0,0) width 119: "Content at the end."
RenderText {TEXT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
layer at (8,8) size 16x2160
RenderBlock (positioned) {DIV} at (0,0) size 16x2160
RenderText {TEXT} at (0,0) size 8x18
......
......@@ -5,6 +5,7 @@ layer at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderText {TEXT} at (0,0) size 619x18
text run at (0,0) width 619: "You should see a single green stripe below. The test has failed if you don't see a perfect rectangle. "
RenderText {TEXT} at (0,0) size 0x0
layer at (8,26) size 96x370
RenderBlock (positioned) {DIV} at (8,26) size 96x370
RenderInline {A} at (0,0) size 46x370 [color=#008000] [bgcolor=#008000]
......
......@@ -13,6 +13,7 @@ layer at (0,0) size 800x600
text run at (0,54) width 470: "parargaph and its left side should begin right after the end of this sentence. "
RenderText {TEXT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
layer at (478,62) size 240x340
RenderBlock (positioned) {SPAN} at (478,62) size 240x340 [border: (20px solid #000000)]
layer at (598,182) size 100x100
......
......@@ -9,6 +9,7 @@ layer at (0,0) size 800x52
text run at (541,0) width 212: "This test is checking to make sure"
text run at (0,18) width 148: "overflow is done using "
text run at (148,18) width 167: "a containing block model. "
RenderText {TEXT} at (0,0) size 0x0
layer at (8,44) size 100x100 scrollWidth 200 scrollHeight 400
RenderBlock (positioned) {DIV} at (8,44) size 100x100 [bgcolor=#008000]
RenderBlock {DIV} at (100,100) size 100x100 [bgcolor=#FF0000]
......@@ -10,6 +10,7 @@ layer at (0,0) size 800x70
text run at (0,18) width 293: "checking to make sure overflow is done using "
text run at (293,18) width 478: "a containing block model, and that a fixed positioned element inside another"
text run at (0,36) width 333: "fixed positioned element is not considered overflow. "
RenderText {TEXT} at (0,0) size 0x0
layer at (8,62) size 100x100 scrollWidth 200 scrollHeight 200
RenderBlock (positioned) {DIV} at (8,62) size 100x100
RenderBlock {DIV} at (100,100) size 100x100 [bgcolor=#FF0000]
......
......@@ -8,6 +8,7 @@ layer at (0,0) size 800x52
text run at (304,0) width 237: "If you see any red, the test has failed. "
text run at (541,0) width 239: "This test is checking to make sure clip"
text run at (0,18) width 192: "is applying to all descendants. "
RenderText {TEXT} at (0,0) size 0x0
layer at (8,44) size 200x200 backgroundClip at (8,44) size 100x100 clip at (8,44) size 100x100
RenderBlock (positioned) {DIV} at (8,44) size 100x100 [bgcolor=#008000]
RenderBlock {DIV} at (100,100) size 100x100 [bgcolor=#FF0000]
......@@ -8,6 +8,7 @@ layer at (0,0) size 800x52
text run at (304,0) width 237: "If you see any red, the test has failed. "
text run at (541,0) width 239: "This test is checking to make sure clip"
text run at (0,18) width 192: "is applying to all descendants. "
RenderText {TEXT} at (0,0) size 0x0
layer at (8,44) size 200x200 backgroundClip at (8,44) size 100x100 clip at (8,44) size 100x100
RenderBlock (positioned) {DIV} at (8,44) size 100x100 [bgcolor=#008000]
RenderBlock {DIV} at (100,100) size 100x100 [bgcolor=#FF0000]
......@@ -8,6 +8,7 @@ layer at (0,0) size 800x52
text run at (304,0) width 237: "If you see any red, the test has failed. "
text run at (541,0) width 239: "This test is checking to make sure clip"
text run at (0,18) width 192: "is applying to all descendants. "
RenderText {TEXT} at (0,0) size 0x0
layer at (8,44) size 200x400 backgroundClip at (8,44) size 100x100 clip at (8,44) size 100x100
RenderBlock (positioned) {DIV} at (8,44) size 100x100 [bgcolor=#008000]
RenderBlock {DIV} at (100,100) size 100x100 [bgcolor=#FF0000]
......@@ -8,6 +8,7 @@ layer at (0,0) size 800x52
text run at (304,0) width 237: "If you see any red, the test has failed. "
text run at (541,0) width 239: "This test is checking to make sure clip"
text run at (0,18) width 192: "is applying to all descendants. "
RenderText {TEXT} at (0,0) size 0x0
layer at (8,44) size 200x400 backgroundClip at (8,44) size 100x100 clip at (8,44) size 100x100
RenderBlock (positioned) {DIV} at (8,44) size 100x100 [bgcolor=#008000]
RenderBlock {DIV} at (100,100) size 100x100 [bgcolor=#FF0000]
......@@ -8,5 +8,6 @@ layer at (0,0) size 800x52
text run at (304,0) width 237: "If you see any red, the test has failed. "
text run at (541,0) width 239: "This test is checking to make sure clip"
text run at (0,18) width 377: "applies to the element itself and starts from the border edge. "
RenderText {TEXT} at (0,0) size 0x0
layer at (8,44) size 120x120 backgroundClip at (18,54) size 100x100 clip at (18,54) size 100x100
RenderBlock (positioned) {DIV} at (8,44) size 120x120 [bgcolor=#008000] [border: (10px solid #FF0000)]
......@@ -10,6 +10,7 @@ layer at (0,0) size 800x70
text run at (0,18) width 617: "to make sure clip applies to the element itself, starts from the border edge, and clips out scrollbars. "
text run at (617,18) width 113: "The bottom of the"
text run at (0,36) width 252: "scrolling mechanism should be clipped. "
RenderText {TEXT} at (0,0) size 0x0
layer at (8,62) size 120x220 backgroundClip at (18,72) size 100x100 clip at (18,72) size 85x100 scrollHeight 1000
RenderBlock (positioned) {DIV} at (8,62) size 120x220 [bgcolor=#008000] [border: (10px solid #FF0000)]
RenderBlock {DIV} at (10,10) size 85x1000
......@@ -7,5 +7,6 @@ layer at (0,0) size 800x600
text run at (0,0) width 300: "You should see a 100x100 green square below."
RenderText {TEXT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
layer at (50,50) size 100x500 backgroundClip at (50,50) size 100x100 clip at (50,50) size 100x100
RenderBlock (positioned) {DIV} at (50,50) size 100x500 [bgcolor=#008000]
......@@ -8,3 +8,4 @@ layer at (0,0) size 800x34
RenderImage at (0,4) size 10x10
RenderText {TEXT} at (10,0) size 107x18
text run at (10,0) width 107: "What's going on."
RenderText {TEXT} at (0,0) size 0x0
......@@ -39,3 +39,4 @@ layer at (0,0) size 800x600
RenderBlock (anonymous) at (0,296) size 784x18
RenderText {TEXT} at (0,0) size 207x18
text run at (0,0) width 207: "Should read: \"Chapter: TEST 4\""
RenderText {TEXT} at (0,0) size 0x0
......@@ -1283,3 +1283,4 @@ layer at (0,0) size 2006x2393
text run at (0,324) width 45: "too)"
RenderText {TEXT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment