Index: LayoutTests/platform/mac/css1/cascade/important-expected.txt |
diff --git a/LayoutTests/platform/mac/css1/cascade/important-expected.txt b/LayoutTests/platform/mac/css1/cascade/important-expected.txt |
index 40a1c2e2eddaa301bcb3a9126e31bdf68516aabc..4dc4ab7ab0e59d0c7d4cae733ad855cf29d549d8 100644 |
--- a/LayoutTests/platform/mac/css1/cascade/important-expected.txt |
+++ b/LayoutTests/platform/mac/css1/cascade/important-expected.txt |
@@ -3,66 +3,66 @@ layer at (0,0) size 800x600 |
layer at (0,0) size 800x600 |
RenderBlock {HTML} at (0,0) size 800x600 |
RenderBody {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC] |
- RenderBlock {P} at (0,0) size 784x16 [color=#008000] |
- RenderText {#text} at (0,0) size 363x16 |
+ RenderBlock {P} at (0,0) size 784x18 [color=#008000] |
+ RenderText {#text} at (0,0) size 363x18 |
text run at (0,0) width 363: "The style declarations which apply to the text below are:" |
- RenderBlock {PRE} at (0,32) size 784x52 |
- RenderText {#text} at (0,0) size 227x52 |
+ RenderBlock {PRE} at (0,34) size 784x60 |
+ RenderText {#text} at (0,0) size 227x60 |
text run at (0,0) width 227: "P {color: green ! important;}" |
text run at (226,0) width 1: " " |
- text run at (0,13) width 118: "P {color: red;}" |
- text run at (117,13) width 1: " " |
- text run at (0,26) width 172: "P#id1 {color: purple;}" |
- text run at (171,26) width 1: " " |
- text run at (0,39) width 0: " " |
- RenderBlock {HR} at (0,97) size 784x2 [border: (1px inset #EEEEEE)] |
- RenderBlock {P} at (0,115) size 784x32 [color=#008000] |
- RenderText {#text} at (0,0) size 784x32 |
+ text run at (0,15) width 118: "P {color: red;}" |
+ text run at (117,15) width 1: " " |
+ text run at (0,30) width 172: "P#id1 {color: purple;}" |
+ text run at (171,30) width 1: " " |
+ text run at (0,45) width 0: " " |
+ RenderBlock {HR} at (0,107) size 784x2 [border: (1px inset #EEEEEE)] |
+ RenderBlock {P} at (0,125) size 784x36 [color=#008000] |
+ RenderText {#text} at (0,0) size 784x36 |
text run at (0,0) width 784: "This sentence should be green, because the declaration marked important should override any other normal declaration for" |
- text run at (0,16) width 366: "the same element, even if it occurs later in the stylesheet." |
- RenderBlock {P} at (0,163) size 784x32 [color=#008000] |
- RenderText {#text} at (0,0) size 409x16 |
+ text run at (0,18) width 366: "the same element, even if it occurs later in the stylesheet." |
+ RenderBlock {P} at (0,177) size 784x36 [color=#008000] |
+ RenderText {#text} at (0,0) size 409x18 |
text run at (0,0) width 409: "This sentence should also be green, even though it has an ID of " |
- RenderInline {TT} at (0,0) size 25x13 |
- RenderText {#text} at (408,2) size 25x13 |
+ RenderInline {TT} at (0,0) size 25x15 |
+ RenderText {#text} at (408,2) size 25x15 |
text run at (408,2) width 25: "id1" |
- RenderText {#text} at (432,0) size 738x32 |
+ RenderText {#text} at (432,0) size 738x36 |
text run at (432,0) width 263: ", which would ordinarily make it purple. " |
text run at (694,0) width 44: "This is" |
- text run at (0,16) width 714: "because declarations marked important have more weight than normal declarations given in a STYLE attribute." |
- RenderBlock {P} at (0,211) size 784x32 [color=#008000] |
- RenderText {#text} at (0,0) size 712x32 |
+ text run at (0,18) width 714: "because declarations marked important have more weight than normal declarations given in a STYLE attribute." |
+ RenderBlock {P} at (0,229) size 784x36 [color=#008000] |
+ RenderText {#text} at (0,0) size 712x36 |
text run at (0,0) width 615: "This sentence should also be green, even though it has a STYLE attribute declaring it to be red. " |
text run at (614,0) width 98: "This is because" |
- text run at (0,16) width 659: "declarations marked important have more weight than normal declarations given in a STYLE attribute." |
- LayoutTable {TABLE} at (0,259) size 784x162 [border: (1px outset #808080)] |
- LayoutTableSection {TBODY} at (1,1) size 782x160 |
- LayoutTableRow {TR} at (0,0) size 782x24 |
- LayoutTableCell {TD} at (0,0) size 782x24 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2] |
- RenderInline {STRONG} at (0,0) size 163x16 |
- RenderText {#text} at (4,4) size 163x16 |
+ text run at (0,18) width 659: "declarations marked important have more weight than normal declarations given in a STYLE attribute." |
+ LayoutTable {TABLE} at (0,281) size 784x176 [border: (1px outset #808080)] |
+ LayoutTableSection {TBODY} at (1,1) size 782x174 |
+ LayoutTableRow {TR} at (0,0) size 782x26 |
+ LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2] |
+ RenderInline {STRONG} at (0,0) size 163x18 |
+ RenderText {#text} at (4,4) size 163x18 |
text run at (4,4) width 163: "TABLE Testing Section" |
- LayoutTableRow {TR} at (0,24) size 782x136 |
- LayoutTableCell {TD} at (0,80) size 12x24 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1] |
- RenderText {#text} at (4,4) size 4x16 |
+ LayoutTableRow {TR} at (0,26) size 782x148 |
+ LayoutTableCell {TD} at (0,87) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1] |
+ RenderText {#text} at (4,4) size 4x18 |
text run at (4,4) width 4: " " |
- LayoutTableCell {TD} at (12,24) size 770x136 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1] |
- RenderBlock {P} at (4,4) size 762x32 [color=#008000] |
- RenderText {#text} at (0,0) size 761x32 |
+ LayoutTableCell {TD} at (12,26) size 770x148 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1] |
+ RenderBlock {P} at (4,4) size 762x36 [color=#008000] |
+ RenderText {#text} at (0,0) size 761x36 |
text run at (0,0) width 761: "This sentence should be green, because the declaration marked important should override any other normal declaration" |
- text run at (0,16) width 388: "for the same element, even if it occurs later in the stylesheet." |
- RenderBlock {P} at (4,52) size 762x32 [color=#008000] |
- RenderText {#text} at (0,0) size 409x16 |
+ text run at (0,18) width 388: "for the same element, even if it occurs later in the stylesheet." |
+ RenderBlock {P} at (4,56) size 762x36 [color=#008000] |
+ RenderText {#text} at (0,0) size 409x18 |
text run at (0,0) width 409: "This sentence should also be green, even though it has an ID of " |
- RenderInline {TT} at (0,0) size 25x13 |
- RenderText {#text} at (408,2) size 25x13 |
+ RenderInline {TT} at (0,0) size 25x15 |
+ RenderText {#text} at (408,2) size 25x15 |
text run at (408,2) width 25: "id1" |
- RenderText {#text} at (432,0) size 738x32 |
+ RenderText {#text} at (432,0) size 738x36 |
text run at (432,0) width 263: ", which would ordinarily make it purple. " |
text run at (694,0) width 44: "This is" |
- text run at (0,16) width 714: "because declarations marked important have more weight than normal declarations given in a STYLE attribute." |
- RenderBlock {P} at (4,100) size 762x32 [color=#008000] |
- RenderText {#text} at (0,0) size 712x32 |
+ text run at (0,18) width 714: "because declarations marked important have more weight than normal declarations given in a STYLE attribute." |
+ RenderBlock {P} at (4,108) size 762x36 [color=#008000] |
+ RenderText {#text} at (0,0) size 712x36 |
text run at (0,0) width 615: "This sentence should also be green, even though it has a STYLE attribute declaring it to be red. " |
text run at (614,0) width 98: "This is because" |
- text run at (0,16) width 659: "declarations marked important have more weight than normal declarations given in a STYLE attribute." |
+ text run at (0,18) width 659: "declarations marked important have more weight than normal declarations given in a STYLE attribute." |