| Index: LayoutTests/platform/win/virtual/windows-directwrite/fast/text/whitespace/024-expected.txt
|
| diff --git a/LayoutTests/platform/win/virtual/windows-directwrite/fast/text/whitespace/024-expected.txt b/LayoutTests/platform/win/virtual/windows-directwrite/fast/text/whitespace/024-expected.txt
|
| index de0ac73cea838894b0ef7ed70f36414d1cceef1c..e400ce93462403c0286f6676d7e31a8081d1a6c7 100644
|
| --- a/LayoutTests/platform/win/virtual/windows-directwrite/fast/text/whitespace/024-expected.txt
|
| +++ b/LayoutTests/platform/win/virtual/windows-directwrite/fast/text/whitespace/024-expected.txt
|
| @@ -4,61 +4,61 @@ layer at (0,0) size 785x1183
|
| RenderBlock {HTML} at (0,0) size 785x1182.69
|
| RenderBody {BODY} at (8,8) size 769x1166.69 [bgcolor=#FFFFFF]
|
| RenderBlock {H1} at (0,0) size 769x37
|
| - RenderText {#text} at (0,0) size 351x36
|
| - text run at (0,0) width 351: "Safari 1.0 PRE width bug"
|
| + RenderText {#text} at (0,0) size 350x36
|
| + text run at (0,0) width 350: "Safari 1.0 PRE width bug"
|
| RenderBlock (anonymous) at (0,58.44) size 769x72
|
| - RenderText {#text} at (0,0) size 101x17
|
| - text run at (0,0) width 101: "As noted in my "
|
| - RenderInline {A} at (0,0) size 28x17 [color=#0000EE]
|
| - RenderText {#text} at (101,0) size 28x17
|
| - text run at (101,0) width 28: "blog"
|
| - RenderText {#text} at (129,0) size 763x71
|
| - text run at (129,0) width 8: ", "
|
| - text run at (137,0) width 431: "in certain cases Safari will miscalculate the width of a PRE element. "
|
| - text run at (568,0) width 195: "I think I've found the trigger. If"
|
| - text run at (0,18) width 265: "a nested container element is preceded by "
|
| - text run at (265,18) width 441: "uncontained text and a blank line, and there are \"too many\" characters"
|
| - text run at (0,36) width 412: "contained in the nested element, the PRE width will be too wide. "
|
| - text run at (412,36) width 337: "In the examples below, the nested element is a SPAN"
|
| - text run at (0,54) width 95: "whose content "
|
| - text run at (95,54) width 226: "is the days-of-week line, as follows:"
|
| + RenderText {#text} at (0,0) size 103x17
|
| + text run at (0,0) width 103: "As noted in my "
|
| + RenderInline {A} at (0,0) size 29x17 [color=#0000EE]
|
| + RenderText {#text} at (102,0) size 29x17
|
| + text run at (102,0) width 29: "blog"
|
| + RenderText {#text} at (130,0) size 765x71
|
| + text run at (130,0) width 9: ", "
|
| + text run at (138,0) width 442: "in certain cases Safari will miscalculate the width of a PRE element. "
|
| + text run at (579,0) width 186: "I think I've found the trigger."
|
| + text run at (0,18) width 286: "If a nested container element is preceded by "
|
| + text run at (285,18) width 449: "uncontained text and a blank line, and there are \"too many\" characters"
|
| + text run at (0,36) width 419: "contained in the nested element, the PRE width will be too wide. "
|
| + text run at (418,36) width 343: "In the examples below, the nested element is a SPAN"
|
| + text run at (0,54) width 96: "whose content "
|
| + text run at (95,54) width 233: "is the days-of-week line, as follows:"
|
| RenderBlock {PRE} at (0,143.44) size 769x15
|
| - RenderText {#text} at (0,0) size 376x15
|
| - text run at (0,0) width 376: " <SPAN CLASS=dow> D M T W J F S</SPAN>"
|
| - text run at (376,0) width 0: " "
|
| + RenderText {#text} at (0,0) size 367x15
|
| + text run at (0,0) width 367: " <SPAN CLASS=dow> D M T W J F S</SPAN>"
|
| + text run at (366,0) width 1: " "
|
| RenderBlock {H2} at (0,178.34) size 769x27
|
| RenderText {#text} at (0,0) size 109x26
|
| text run at (0,0) width 109: "Example 1"
|
| RenderTable {TABLE} at (0,225.25) size 769x171
|
| RenderTableSection {TBODY} at (0,0) size 769x171
|
| RenderTableRow {TR} at (0,2) size 769x167
|
| - RenderTableCell {TD} at (2,2) size 177x167 [r=0 c=0 rs=1 cs=1]
|
| - RenderBlock {PRE} at (1,1) size 175x165 [bgcolor=#CCCC99] [border: (1px solid #000000)]
|
| - RenderText {#text} at (7,8) size 97x30
|
| - text run at (7,8) width 97: " 2003"
|
| - text run at (103,8) width 1: " "
|
| + RenderTableCell {TD} at (2,2) size 174x167 [r=0 c=0 rs=1 cs=1]
|
| + RenderBlock {PRE} at (1,1) size 172x165 [bgcolor=#CCCC99] [border: (1px solid #000000)]
|
| + RenderText {#text} at (7,8) size 95x30
|
| + text run at (7,8) width 95: " 2003"
|
| + text run at (101,8) width 1: " "
|
| text run at (7,23) width 1: " "
|
| - RenderInline {SPAN} at (0,0) size 161x19 [border: (1px solid #000000) none (2px solid #000000) none]
|
| - RenderText {#text} at (7,37) size 161x16
|
| - text run at (7,37) width 161: " D M T W J F S"
|
| - RenderText {#text} at (167,37) size 161x121
|
| - text run at (167,37) width 1: " "
|
| + RenderInline {SPAN} at (0,0) size 157x19 [border: (1px solid #000000) none (2px solid #000000) none]
|
| + RenderText {#text} at (7,37) size 157x16
|
| + text run at (7,37) width 157: " D M T W J F S"
|
| + RenderText {#text} at (163,37) size 157x121
|
| + text run at (163,37) width 1: " "
|
| text run at (7,53) width 1: " "
|
| - text run at (7,68) width 121: " September"
|
| - text run at (127,68) width 1: " "
|
| - text run at (7,83) width 161: " 1 2 3 4 5 6"
|
| - text run at (167,83) width 1: " "
|
| - text run at (7,98) width 161: " 7 8 9 10 11 12 13"
|
| - text run at (167,98) width 1: " "
|
| - text run at (7,113) width 161: "14 15 16 17 18 19 20"
|
| - text run at (167,113) width 1: " "
|
| - text run at (7,128) width 161: "21 22 23 24 25 26 27"
|
| - text run at (167,128) width 1: " "
|
| - text run at (7,143) width 65: "28 29 30"
|
| - RenderTableCell {TD} at (181,2) size 586x20 [r=0 c=1 rs=1 cs=1]
|
| - RenderText {#text} at (1,1) size 483x17
|
| - text run at (1,1) width 341: "The blank line between '2003' and the nested element "
|
| - text run at (342,1) width 142: "triggers the width bug."
|
| + text run at (7,68) width 118: " September"
|
| + text run at (124,68) width 1: " "
|
| + text run at (7,83) width 157: " 1 2 3 4 5 6"
|
| + text run at (163,83) width 1: " "
|
| + text run at (7,98) width 157: " 7 8 9 10 11 12 13"
|
| + text run at (163,98) width 1: " "
|
| + text run at (7,113) width 157: "14 15 16 17 18 19 20"
|
| + text run at (163,113) width 1: " "
|
| + text run at (7,128) width 157: "21 22 23 24 25 26 27"
|
| + text run at (163,128) width 1: " "
|
| + text run at (7,143) width 63: "28 29 30"
|
| + RenderTableCell {TD} at (178,2) size 589x20 [r=0 c=1 rs=1 cs=1]
|
| + RenderText {#text} at (1,1) size 491x17
|
| + text run at (1,1) width 346: "The blank line between '2003' and the nested element "
|
| + text run at (346,1) width 146: "triggers the width bug."
|
| RenderBlock (anonymous) at (0,396.25) size 769x18
|
| RenderBR {BR} at (0,0) size 0x17
|
| RenderBlock {H2} at (0,434.16) size 769x27
|
| @@ -67,39 +67,39 @@ layer at (0,0) size 785x1183
|
| RenderTable {TABLE} at (0,481.06) size 769x171
|
| RenderTableSection {TBODY} at (0,0) size 769x171
|
| RenderTableRow {TR} at (0,2) size 769x167
|
| - RenderTableCell {TD} at (2,2) size 177x167 [r=0 c=0 rs=1 cs=1]
|
| - RenderBlock {PRE} at (1,1) size 175x165 [bgcolor=#CCCC99] [border: (1px solid #000000)]
|
| - RenderText {#text} at (7,8) size 97x30
|
| - text run at (7,8) width 97: " 2003"
|
| - text run at (103,8) width 1: " "
|
| + RenderTableCell {TD} at (2,2) size 174x167 [r=0 c=0 rs=1 cs=1]
|
| + RenderBlock {PRE} at (1,1) size 172x165 [bgcolor=#CCCC99] [border: (1px solid #000000)]
|
| + RenderText {#text} at (7,8) size 95x30
|
| + text run at (7,8) width 95: " 2003"
|
| + text run at (101,8) width 1: " "
|
| text run at (7,23) width 1: " "
|
| - RenderInline {SPAN} at (0,0) size 97x19 [border: (1px solid #000000) none (2px solid #000000) none]
|
| - RenderText {#text} at (7,37) size 97x16
|
| - text run at (7,37) width 97: " D M TWJFS"
|
| - RenderText {#text} at (103,37) size 161x121
|
| - text run at (103,37) width 1: " "
|
| + RenderInline {SPAN} at (0,0) size 95x19 [border: (1px solid #000000) none (2px solid #000000) none]
|
| + RenderText {#text} at (7,37) size 95x16
|
| + text run at (7,37) width 95: " D M TWJFS"
|
| + RenderText {#text} at (101,37) size 157x121
|
| + text run at (101,37) width 1: " "
|
| text run at (7,53) width 1: " "
|
| - text run at (7,68) width 121: " September"
|
| - text run at (127,68) width 1: " "
|
| - text run at (7,83) width 161: " 1 2 3 4 5 6"
|
| - text run at (167,83) width 1: " "
|
| - text run at (7,98) width 161: " 7 8 9 10 11 12 13"
|
| - text run at (167,98) width 1: " "
|
| - text run at (7,113) width 161: "14 15 16 17 18 19 20"
|
| - text run at (167,113) width 1: " "
|
| - text run at (7,128) width 161: "21 22 23 24 25 26 27"
|
| - text run at (167,128) width 1: " "
|
| - text run at (7,143) width 65: "28 29 30"
|
| - RenderTableCell {TD} at (181,2) size 586x72 [r=0 c=1 rs=1 cs=1]
|
| - RenderBlock (anonymous) at (1,1) size 584x18
|
| - RenderText {#text} at (0,0) size 483x17
|
| - text run at (0,0) width 341: "The blank line between '2003' and the nested element "
|
| - text run at (341,0) width 142: "triggers the width bug."
|
| - RenderBlock {P} at (1,35) size 584x36
|
| - RenderText {#text} at (0,0) size 568x35
|
| - text run at (0,0) width 351: "Here, the excess whitespace is reduced by reducing the "
|
| - text run at (351,0) width 217: "number of characters contained by"
|
| - text run at (0,18) width 120: "the nested element."
|
| + text run at (7,68) width 118: " September"
|
| + text run at (124,68) width 1: " "
|
| + text run at (7,83) width 157: " 1 2 3 4 5 6"
|
| + text run at (163,83) width 1: " "
|
| + text run at (7,98) width 157: " 7 8 9 10 11 12 13"
|
| + text run at (163,98) width 1: " "
|
| + text run at (7,113) width 157: "14 15 16 17 18 19 20"
|
| + text run at (163,113) width 1: " "
|
| + text run at (7,128) width 157: "21 22 23 24 25 26 27"
|
| + text run at (163,128) width 1: " "
|
| + text run at (7,143) width 63: "28 29 30"
|
| + RenderTableCell {TD} at (178,2) size 589x72 [r=0 c=1 rs=1 cs=1]
|
| + RenderBlock (anonymous) at (1,1) size 587x18
|
| + RenderText {#text} at (0,0) size 491x17
|
| + text run at (0,0) width 346: "The blank line between '2003' and the nested element "
|
| + text run at (345,0) width 146: "triggers the width bug."
|
| + RenderBlock {P} at (1,35) size 587x36
|
| + RenderText {#text} at (0,0) size 578x35
|
| + text run at (0,0) width 357: "Here, the excess whitespace is reduced by reducing the "
|
| + text run at (356,0) width 222: "number of characters contained by"
|
| + text run at (0,18) width 124: "the nested element."
|
| RenderBlock (anonymous) at (0,652.06) size 769x18
|
| RenderBR {BR} at (0,0) size 0x17
|
| RenderBlock {H2} at (0,689.97) size 769x27
|
| @@ -108,33 +108,33 @@ layer at (0,0) size 785x1183
|
| RenderTable {TABLE} at (0,736.88) size 769x156
|
| RenderTableSection {TBODY} at (0,0) size 769x156
|
| RenderTableRow {TR} at (0,2) size 769x152
|
| - RenderTableCell {TD} at (2,2) size 177x152 [r=0 c=0 rs=1 cs=1]
|
| - RenderBlock {PRE} at (1,1) size 175x150 [bgcolor=#CCCC99] [border: (1px solid #000000)]
|
| - RenderText {#text} at (7,8) size 97x15
|
| - text run at (7,8) width 97: " 2003"
|
| - text run at (103,8) width 1: " "
|
| - RenderInline {SPAN} at (0,0) size 161x19 [border: (1px solid #000000) none (2px solid #000000) none]
|
| - RenderText {#text} at (7,22) size 161x16
|
| - text run at (7,22) width 161: " D M T W J F S"
|
| - RenderText {#text} at (167,22) size 161x121
|
| - text run at (167,22) width 1: " "
|
| + RenderTableCell {TD} at (2,2) size 174x152 [r=0 c=0 rs=1 cs=1]
|
| + RenderBlock {PRE} at (1,1) size 172x150 [bgcolor=#CCCC99] [border: (1px solid #000000)]
|
| + RenderText {#text} at (7,8) size 95x15
|
| + text run at (7,8) width 95: " 2003"
|
| + text run at (101,8) width 1: " "
|
| + RenderInline {SPAN} at (0,0) size 157x19 [border: (1px solid #000000) none (2px solid #000000) none]
|
| + RenderText {#text} at (7,22) size 157x16
|
| + text run at (7,22) width 157: " D M T W J F S"
|
| + RenderText {#text} at (163,22) size 157x121
|
| + text run at (163,22) width 1: " "
|
| text run at (7,38) width 1: " "
|
| - text run at (7,53) width 121: " September"
|
| - text run at (127,53) width 1: " "
|
| - text run at (7,68) width 161: " 1 2 3 4 5 6"
|
| - text run at (167,68) width 1: " "
|
| - text run at (7,83) width 161: " 7 8 9 10 11 12 13"
|
| - text run at (167,83) width 1: " "
|
| - text run at (7,98) width 161: "14 15 16 17 18 19 20"
|
| - text run at (167,98) width 1: " "
|
| - text run at (7,113) width 161: "21 22 23 24 25 26 27"
|
| - text run at (167,113) width 1: " "
|
| - text run at (7,128) width 65: "28 29 30"
|
| - RenderTableCell {TD} at (181,2) size 586x38 [r=0 c=1 rs=1 cs=1]
|
| - RenderText {#text} at (1,1) size 566x35
|
| - text run at (1,1) width 341: "The blank line between '2003' and the nested element "
|
| - text run at (342,1) width 225: "has been removed, so the bug is not"
|
| - text run at (1,19) width 60: "triggered."
|
| + text run at (7,53) width 118: " September"
|
| + text run at (124,53) width 1: " "
|
| + text run at (7,68) width 157: " 1 2 3 4 5 6"
|
| + text run at (163,68) width 1: " "
|
| + text run at (7,83) width 157: " 7 8 9 10 11 12 13"
|
| + text run at (163,83) width 1: " "
|
| + text run at (7,98) width 157: "14 15 16 17 18 19 20"
|
| + text run at (163,98) width 1: " "
|
| + text run at (7,113) width 157: "21 22 23 24 25 26 27"
|
| + text run at (163,113) width 1: " "
|
| + text run at (7,128) width 63: "28 29 30"
|
| + RenderTableCell {TD} at (178,2) size 589x38 [r=0 c=1 rs=1 cs=1]
|
| + RenderText {#text} at (1,1) size 575x35
|
| + text run at (1,1) width 346: "The blank line between '2003' and the nested element "
|
| + text run at (346,1) width 230: "has been removed, so the bug is not"
|
| + text run at (1,19) width 62: "triggered."
|
| RenderBlock (anonymous) at (0,892.88) size 769x18
|
| RenderBR {BR} at (0,0) size 0x17
|
| RenderBlock {H2} at (0,930.78) size 769x27
|
| @@ -143,36 +143,36 @@ layer at (0,0) size 785x1183
|
| RenderTable {TABLE} at (0,977.69) size 769x171
|
| RenderTableSection {TBODY} at (0,0) size 769x171
|
| RenderTableRow {TR} at (0,2) size 769x167
|
| - RenderTableCell {TD} at (2,2) size 177x167 [r=0 c=0 rs=1 cs=1]
|
| - RenderBlock {PRE} at (1,1) size 175x165 [bgcolor=#CCCC99] [border: (1px solid #000000)]
|
| - RenderInline {SPAN} at (0,0) size 97x15
|
| - RenderText {#text} at (7,8) size 97x15
|
| - text run at (7,8) width 97: " 2003"
|
| - RenderText {#text} at (103,8) size 97x30
|
| - text run at (103,8) width 1: " "
|
| + RenderTableCell {TD} at (2,2) size 174x167 [r=0 c=0 rs=1 cs=1]
|
| + RenderBlock {PRE} at (1,1) size 172x165 [bgcolor=#CCCC99] [border: (1px solid #000000)]
|
| + RenderInline {SPAN} at (0,0) size 95x15
|
| + RenderText {#text} at (7,8) size 95x15
|
| + text run at (7,8) width 95: " 2003"
|
| + RenderText {#text} at (101,8) size 95x30
|
| + text run at (101,8) width 1: " "
|
| text run at (7,23) width 1: " "
|
| - RenderInline {SPAN} at (0,0) size 161x19 [border: (1px solid #000000) none (2px solid #000000) none]
|
| - RenderText {#text} at (7,37) size 161x16
|
| - text run at (7,37) width 161: " D M T W J F S"
|
| - RenderText {#text} at (167,37) size 161x121
|
| - text run at (167,37) width 1: " "
|
| + RenderInline {SPAN} at (0,0) size 157x19 [border: (1px solid #000000) none (2px solid #000000) none]
|
| + RenderText {#text} at (7,37) size 157x16
|
| + text run at (7,37) width 157: " D M T W J F S"
|
| + RenderText {#text} at (163,37) size 157x121
|
| + text run at (163,37) width 1: " "
|
| text run at (7,53) width 1: " "
|
| - text run at (7,68) width 121: " September"
|
| - text run at (127,68) width 1: " "
|
| - text run at (7,83) width 161: " 1 2 3 4 5 6"
|
| - text run at (167,83) width 1: " "
|
| - text run at (7,98) width 161: " 7 8 9 10 11 12 13"
|
| - text run at (167,98) width 1: " "
|
| - text run at (7,113) width 161: "14 15 16 17 18 19 20"
|
| - text run at (167,113) width 1: " "
|
| - text run at (7,128) width 161: "21 22 23 24 25 26 27"
|
| - text run at (167,128) width 1: " "
|
| - text run at (7,143) width 65: "28 29 30"
|
| - RenderTableCell {TD} at (181,2) size 586x38 [r=0 c=1 rs=1 cs=1]
|
| - RenderText {#text} at (1,1) size 576x35
|
| - text run at (1,1) width 341: "The blank line between '2003' and the nested element "
|
| - text run at (342,1) width 206: "no longer triggers the width bug,"
|
| - text run at (1,19) width 284: "because now the '2003' is itself contained by "
|
| - text run at (285,19) width 292: "a nested element (in this case, another SPAN)."
|
| + text run at (7,68) width 118: " September"
|
| + text run at (124,68) width 1: " "
|
| + text run at (7,83) width 157: " 1 2 3 4 5 6"
|
| + text run at (163,83) width 1: " "
|
| + text run at (7,98) width 157: " 7 8 9 10 11 12 13"
|
| + text run at (163,98) width 1: " "
|
| + text run at (7,113) width 157: "14 15 16 17 18 19 20"
|
| + text run at (163,113) width 1: " "
|
| + text run at (7,128) width 157: "21 22 23 24 25 26 27"
|
| + text run at (163,128) width 1: " "
|
| + text run at (7,143) width 63: "28 29 30"
|
| + RenderTableCell {TD} at (178,2) size 589x38 [r=0 c=1 rs=1 cs=1]
|
| + RenderText {#text} at (1,1) size 586x35
|
| + text run at (1,1) width 346: "The blank line between '2003' and the nested element "
|
| + text run at (346,1) width 211: "no longer triggers the width bug,"
|
| + text run at (1,19) width 289: "because now the '2003' is itself contained by "
|
| + text run at (289,19) width 298: "a nested element (in this case, another SPAN)."
|
| RenderBlock (anonymous) at (0,1148.69) size 769x18
|
| RenderBR {BR} at (0,0) size 0x17
|
|
|