Diff
Modified: trunk/LayoutTests/ChangeLog (147698 => 147699)
--- trunk/LayoutTests/ChangeLog 2013-04-05 02:48:14 UTC (rev 147698)
+++ trunk/LayoutTests/ChangeLog 2013-04-05 02:51:23 UTC (rev 147699)
@@ -1,5 +1,25 @@
2013-04-04 Benjamin Poulain <[email protected]>
+ Change class_as_selector-expected.html to be a ref-test
+ https://bugs.webkit.org/show_bug.cgi?id=113970
+
+ Reviewed by Geoffrey Garen.
+
+ The test checks style can be applied to text with a CSS class.
+ The reference is done by applying a style attribute directly
+ on each element.
+
+ * css1/basic/class_as_selector-expected.html: Added.
+ * platform/efl/css1/basic/class_as_selector-expected.png: Removed.
+ * platform/efl/css1/basic/class_as_selector-expected.txt: Removed.
+ * platform/gtk/css1/basic/class_as_selector-expected.txt: Removed.
+ * platform/mac/css1/basic/class_as_selector-expected.png: Removed.
+ * platform/mac/css1/basic/class_as_selector-expected.txt: Removed.
+ * platform/qt/css1/basic/class_as_selector-expected.png: Removed.
+ * platform/qt/css1/basic/class_as_selector-expected.txt: Removed.
+
+2013-04-04 Benjamin Poulain <[email protected]>
+
Unskip 3 backface-visibility tests on OS X
* platform/mac/TestExpectations:
Added: trunk/LayoutTests/css1/basic/class_as_selector-expected.html (0 => 147699)
--- trunk/LayoutTests/css1/basic/class_as_selector-expected.html (rev 0)
+++ trunk/LayoutTests/css1/basic/class_as_selector-expected.html 2013-04-05 02:51:23 UTC (rev 147699)
@@ -0,0 +1,39 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+<body background=""
+<p>The style declarations which apply to the text below are:</p>
+<pre>.one {color: green;}
+.1 {color: red;}
+.a1 {color: green;}
+P.two {color: purple;}
+</pre>
+<hr>
+<p style="color:green">This sentence should be green.</p>
+<p>This sentence should be black, not red-- class selectors cannot begin with digits in CSS1.</p>
+<p style="color:green">This sentence should be green.</p>
+<p style="color:purple">This sentence should be purple.</p>
+<pre>This sentence should NOT be purple.</pre>
+<ul>
+ <li>This sentence should NOT be purple.</li>
+</ul>
+
+<table border cellspacing="0" cellpadding="3">
+ <tr>
+ <td colspan="2" bgcolor="silver"><strong>TABLE Testing Section</strong></td>
+ </tr>
+ <tr>
+ <td bgcolor="silver"> </td>
+ <td>
+ <p style="color:green">This sentence should be green.</p>
+ <p>This sentence should be black, not red-- class selectors cannot begin with digits in CSS1.</p>
+ <p style="color:green">This sentence should be green.</p>
+ <p style="color:purple">This sentence should be purple.</p>
+ <pre>This sentence should NOT be purple.</pre>
+ <ul>
+ <li>This sentence should NOT be purple.</li>
+ </ul>
+ </td>
+ </tr>
+</table>
+</body>
+</html>
\ No newline at end of file
Deleted: trunk/LayoutTests/platform/efl/css1/basic/class_as_selector-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/efl/css1/basic/class_as_selector-expected.txt (147698 => 147699)
--- trunk/LayoutTests/platform/efl/css1/basic/class_as_selector-expected.txt 2013-04-05 02:48:14 UTC (rev 147698)
+++ trunk/LayoutTests/platform/efl/css1/basic/class_as_selector-expected.txt 2013-04-05 02:51:23 UTC (rev 147699)
@@ -1,73 +0,0 @@
-layer at (0,0) size 800x600
- RenderView 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 784x18
- RenderText {#text} at (0,0) size 355x17
- text run at (0,0) width 355: "The style declarations which apply to the text below are:"
- RenderBlock {PRE} at (0,34) size 784x60
- RenderText {#text} at (0,0) size 176x60
- text run at (0,0) width 160: ".one {color: green;}"
- text run at (160,0) width 0: " "
- text run at (0,15) width 128: ".1 {color: red;}"
- text run at (128,15) width 0: " "
- text run at (0,30) width 152: ".a1 {color: green;}"
- text run at (152,30) width 0: " "
- text run at (0,45) width 176: "P.two {color: purple;}"
- text run at (176,45) width 0: " "
- RenderBlock {HR} at (0,107) size 784x2 [border: (1px inset #000000)]
- RenderBlock {P} at (0,125) size 784x18 [color=#008000]
- RenderText {#text} at (0,0) size 194x17
- text run at (0,0) width 194: "This sentence should be green."
- RenderBlock {P} at (0,159) size 784x18
- RenderText {#text} at (0,0) size 559x17
- text run at (0,0) width 559: "This sentence should be black, not red-- class selectors cannot begin with digits in CSS1."
- RenderBlock {P} at (0,193) size 784x18 [color=#008000]
- RenderText {#text} at (0,0) size 194x17
- text run at (0,0) width 194: "This sentence should be green."
- RenderBlock {P} at (0,227) size 784x18 [color=#800080]
- RenderText {#text} at (0,0) size 199x17
- text run at (0,0) width 199: "This sentence should be purple."
- RenderBlock {PRE} at (0,261) size 784x15
- RenderText {#text} at (0,0) size 280x15
- text run at (0,0) width 280: "This sentence should NOT be purple."
- text run at (280,0) width 0: " "
- RenderBlock {UL} at (0,292) size 784x18
- RenderListItem {LI} at (40,0) size 744x18
- RenderListMarker at (-17,0) size 7x17: bullet
- RenderText {#text} at (0,0) size 237x17
- text run at (0,0) width 237: "This sentence should NOT be purple."
- RenderTable {TABLE} at (0,326) size 581x237 [border: (1px outset #808080)]
- RenderTableSection {TBODY} at (1,1) size 579x235
- RenderTableRow {TR} at (0,0) size 579x26
- RenderTableCell {TD} at (0,0) size 579x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
- RenderInline {STRONG} at (0,0) size 163x17
- RenderText {#text} at (4,4) size 163x17
- text run at (4,4) width 163: "TABLE Testing Section"
- RenderTableRow {TR} at (0,26) size 579x209
- RenderTableCell {TD} at (0,117) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
- RenderText {#text} at (4,4) size 4x17
- text run at (4,4) width 4: " "
- RenderTableCell {TD} at (12,26) size 567x209 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
- RenderBlock {P} at (4,4) size 559x18 [color=#008000]
- RenderText {#text} at (0,0) size 194x17
- text run at (0,0) width 194: "This sentence should be green."
- RenderBlock {P} at (4,38) size 559x18
- RenderText {#text} at (0,0) size 559x17
- text run at (0,0) width 559: "This sentence should be black, not red-- class selectors cannot begin with digits in CSS1."
- RenderBlock {P} at (4,72) size 559x18 [color=#008000]
- RenderText {#text} at (0,0) size 194x17
- text run at (0,0) width 194: "This sentence should be green."
- RenderBlock {P} at (4,106) size 559x18 [color=#800080]
- RenderText {#text} at (0,0) size 199x17
- text run at (0,0) width 199: "This sentence should be purple."
- RenderBlock {PRE} at (4,140) size 559x15
- RenderText {#text} at (0,0) size 280x15
- text run at (0,0) width 280: "This sentence should NOT be purple."
- text run at (280,0) width 0: " "
- RenderBlock {UL} at (4,171) size 559x18
- RenderListItem {LI} at (40,0) size 519x18
- RenderListMarker at (-17,0) size 7x17: bullet
- RenderText {#text} at (0,0) size 237x17
- text run at (0,0) width 237: "This sentence should NOT be purple."
Deleted: trunk/LayoutTests/platform/gtk/css1/basic/class_as_selector-expected.txt (147698 => 147699)
--- trunk/LayoutTests/platform/gtk/css1/basic/class_as_selector-expected.txt 2013-04-05 02:48:14 UTC (rev 147698)
+++ trunk/LayoutTests/platform/gtk/css1/basic/class_as_selector-expected.txt 2013-04-05 02:51:23 UTC (rev 147699)
@@ -1,73 +0,0 @@
-layer at (0,0) size 800x600
- RenderView 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 784x18
- RenderText {#text} at (0,0) size 355x19
- text run at (0,0) width 355: "The style declarations which apply to the text below are:"
- RenderBlock {PRE} at (0,34) size 784x60
- RenderText {#text} at (0,0) size 176x60
- text run at (0,0) width 160: ".one {color: green;}"
- text run at (160,0) width 0: " "
- text run at (0,15) width 128: ".1 {color: red;}"
- text run at (128,15) width 0: " "
- text run at (0,30) width 152: ".a1 {color: green;}"
- text run at (152,30) width 0: " "
- text run at (0,45) width 176: "P.two {color: purple;}"
- text run at (176,45) width 0: " "
- RenderBlock {HR} at (0,107) size 784x2 [border: (1px inset #000000)]
- RenderBlock {P} at (0,125) size 784x18 [color=#008000]
- RenderText {#text} at (0,0) size 194x19
- text run at (0,0) width 194: "This sentence should be green."
- RenderBlock {P} at (0,159) size 784x18
- RenderText {#text} at (0,0) size 559x19
- text run at (0,0) width 559: "This sentence should be black, not red-- class selectors cannot begin with digits in CSS1."
- RenderBlock {P} at (0,193) size 784x18 [color=#008000]
- RenderText {#text} at (0,0) size 194x19
- text run at (0,0) width 194: "This sentence should be green."
- RenderBlock {P} at (0,227) size 784x18 [color=#800080]
- RenderText {#text} at (0,0) size 199x19
- text run at (0,0) width 199: "This sentence should be purple."
- RenderBlock {PRE} at (0,261) size 784x15
- RenderText {#text} at (0,0) size 280x15
- text run at (0,0) width 280: "This sentence should NOT be purple."
- text run at (280,0) width 0: " "
- RenderBlock {UL} at (0,292) size 784x18
- RenderListItem {LI} at (40,0) size 744x18
- RenderListMarker at (-18,0) size 7x19: bullet
- RenderText {#text} at (0,0) size 237x19
- text run at (0,0) width 237: "This sentence should NOT be purple."
- RenderTable {TABLE} at (0,326) size 581x237 [border: (1px outset #808080)]
- RenderTableSection {TBODY} at (1,1) size 579x235
- RenderTableRow {TR} at (0,0) size 579x26
- RenderTableCell {TD} at (0,0) size 579x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
- RenderInline {STRONG} at (0,0) size 163x19
- RenderText {#text} at (4,4) size 163x19
- text run at (4,4) width 163: "TABLE Testing Section"
- RenderTableRow {TR} at (0,26) size 579x209
- RenderTableCell {TD} at (0,117) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
- RenderText {#text} at (4,4) size 4x19
- text run at (4,4) width 4: " "
- RenderTableCell {TD} at (12,26) size 567x209 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
- RenderBlock {P} at (4,4) size 559x18 [color=#008000]
- RenderText {#text} at (0,0) size 194x19
- text run at (0,0) width 194: "This sentence should be green."
- RenderBlock {P} at (4,38) size 559x18
- RenderText {#text} at (0,0) size 559x19
- text run at (0,0) width 559: "This sentence should be black, not red-- class selectors cannot begin with digits in CSS1."
- RenderBlock {P} at (4,72) size 559x18 [color=#008000]
- RenderText {#text} at (0,0) size 194x19
- text run at (0,0) width 194: "This sentence should be green."
- RenderBlock {P} at (4,106) size 559x18 [color=#800080]
- RenderText {#text} at (0,0) size 199x19
- text run at (0,0) width 199: "This sentence should be purple."
- RenderBlock {PRE} at (4,140) size 559x15
- RenderText {#text} at (0,0) size 280x15
- text run at (0,0) width 280: "This sentence should NOT be purple."
- text run at (280,0) width 0: " "
- RenderBlock {UL} at (4,171) size 559x18
- RenderListItem {LI} at (40,0) size 519x18
- RenderListMarker at (-18,0) size 7x19: bullet
- RenderText {#text} at (0,0) size 237x19
- text run at (0,0) width 237: "This sentence should NOT be purple."
Deleted: trunk/LayoutTests/platform/mac/css1/basic/class_as_selector-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/mac/css1/basic/class_as_selector-expected.txt (147698 => 147699)
--- trunk/LayoutTests/platform/mac/css1/basic/class_as_selector-expected.txt 2013-04-05 02:48:14 UTC (rev 147698)
+++ trunk/LayoutTests/platform/mac/css1/basic/class_as_selector-expected.txt 2013-04-05 02:51:23 UTC (rev 147699)
@@ -1,73 +0,0 @@
-layer at (0,0) size 800x600
- RenderView 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 784x18
- RenderText {#text} at (0,0) size 355x18
- text run at (0,0) width 355: "The style declarations which apply to the text below are:"
- RenderBlock {PRE} at (0,34) size 784x60
- RenderText {#text} at (0,0) size 176x60
- text run at (0,0) width 160: ".one {color: green;}"
- text run at (160,0) width 0: " "
- text run at (0,15) width 128: ".1 {color: red;}"
- text run at (128,15) width 0: " "
- text run at (0,30) width 152: ".a1 {color: green;}"
- text run at (152,30) width 0: " "
- text run at (0,45) width 176: "P.two {color: purple;}"
- text run at (176,45) width 0: " "
- RenderBlock {HR} at (0,107) size 784x2 [border: (1px inset #000000)]
- RenderBlock {P} at (0,125) size 784x18 [color=#008000]
- RenderText {#text} at (0,0) size 194x18
- text run at (0,0) width 194: "This sentence should be green."
- RenderBlock {P} at (0,159) size 784x18
- RenderText {#text} at (0,0) size 559x18
- text run at (0,0) width 559: "This sentence should be black, not red-- class selectors cannot begin with digits in CSS1."
- RenderBlock {P} at (0,193) size 784x18 [color=#008000]
- RenderText {#text} at (0,0) size 194x18
- text run at (0,0) width 194: "This sentence should be green."
- RenderBlock {P} at (0,227) size 784x18 [color=#800080]
- RenderText {#text} at (0,0) size 199x18
- text run at (0,0) width 199: "This sentence should be purple."
- RenderBlock {PRE} at (0,261) size 784x15
- RenderText {#text} at (0,0) size 280x15
- text run at (0,0) width 280: "This sentence should NOT be purple."
- text run at (280,0) width 0: " "
- RenderBlock {UL} at (0,292) size 784x18
- RenderListItem {LI} at (40,0) size 744x18
- RenderListMarker at (-17,0) size 7x18: bullet
- RenderText {#text} at (0,0) size 237x18
- text run at (0,0) width 237: "This sentence should NOT be purple."
- RenderTable {TABLE} at (0,326) size 581x237 [border: (1px outset #808080)]
- RenderTableSection {TBODY} at (1,1) size 579x235
- RenderTableRow {TR} at (0,0) size 579x26
- RenderTableCell {TD} at (0,0) size 579x26 [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"
- RenderTableRow {TR} at (0,26) size 579x209
- RenderTableCell {TD} at (0,117) 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: " "
- RenderTableCell {TD} at (12,26) size 567x209 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
- RenderBlock {P} at (4,4) size 559x18 [color=#008000]
- RenderText {#text} at (0,0) size 194x18
- text run at (0,0) width 194: "This sentence should be green."
- RenderBlock {P} at (4,38) size 559x18
- RenderText {#text} at (0,0) size 559x18
- text run at (0,0) width 559: "This sentence should be black, not red-- class selectors cannot begin with digits in CSS1."
- RenderBlock {P} at (4,72) size 559x18 [color=#008000]
- RenderText {#text} at (0,0) size 194x18
- text run at (0,0) width 194: "This sentence should be green."
- RenderBlock {P} at (4,106) size 559x18 [color=#800080]
- RenderText {#text} at (0,0) size 199x18
- text run at (0,0) width 199: "This sentence should be purple."
- RenderBlock {PRE} at (4,140) size 559x15
- RenderText {#text} at (0,0) size 280x15
- text run at (0,0) width 280: "This sentence should NOT be purple."
- text run at (280,0) width 0: " "
- RenderBlock {UL} at (4,171) size 559x18
- RenderListItem {LI} at (40,0) size 519x18
- RenderListMarker at (-17,0) size 7x18: bullet
- RenderText {#text} at (0,0) size 237x18
- text run at (0,0) width 237: "This sentence should NOT be purple."
Deleted: trunk/LayoutTests/platform/qt/css1/basic/class_as_selector-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/qt/css1/basic/class_as_selector-expected.txt (147698 => 147699)
--- trunk/LayoutTests/platform/qt/css1/basic/class_as_selector-expected.txt 2013-04-05 02:48:14 UTC (rev 147698)
+++ trunk/LayoutTests/platform/qt/css1/basic/class_as_selector-expected.txt 2013-04-05 02:51:23 UTC (rev 147699)
@@ -1,73 +0,0 @@
-layer at (0,0) size 800x600
- RenderView 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 784x19
- RenderText {#text} at (0,0) size 337x19
- text run at (0,0) width 337: "The style declarations which apply to the text below are:"
- RenderBlock {PRE} at (0,35) size 784x60
- RenderText {#text} at (0,0) size 176x60
- text run at (0,0) width 160: ".one {color: green;}"
- text run at (160,0) width 0: " "
- text run at (0,15) width 128: ".1 {color: red;}"
- text run at (128,15) width 0: " "
- text run at (0,30) width 152: ".a1 {color: green;}"
- text run at (152,30) width 0: " "
- text run at (0,45) width 176: "P.two {color: purple;}"
- text run at (176,45) width 0: " "
- RenderBlock {HR} at (0,108) size 784x2 [border: (1px inset #000000)]
- RenderBlock {P} at (0,126) size 784x19 [color=#008000]
- RenderText {#text} at (0,0) size 184x19
- text run at (0,0) width 184: "This sentence should be green."
- RenderBlock {P} at (0,161) size 784x19
- RenderText {#text} at (0,0) size 536x19
- text run at (0,0) width 536: "This sentence should be black, not red-- class selectors cannot begin with digits in CSS1."
- RenderBlock {P} at (0,196) size 784x19 [color=#008000]
- RenderText {#text} at (0,0) size 184x19
- text run at (0,0) width 184: "This sentence should be green."
- RenderBlock {P} at (0,231) size 784x19 [color=#800080]
- RenderText {#text} at (0,0) size 189x19
- text run at (0,0) width 189: "This sentence should be purple."
- RenderBlock {PRE} at (0,266) size 784x15
- RenderText {#text} at (0,0) size 280x15
- text run at (0,0) width 280: "This sentence should NOT be purple."
- text run at (280,0) width 0: " "
- RenderBlock {UL} at (0,297) size 784x19
- RenderListItem {LI} at (40,0) size 744x19
- RenderListMarker at (-18,0) size 7x19: bullet
- RenderText {#text} at (0,0) size 226x19
- text run at (0,0) width 226: "This sentence should NOT be purple."
- RenderTable {TABLE} at (0,332) size 558x243 [border: (1px outset #808080)]
- RenderTableSection {TBODY} at (1,1) size 556x241
- RenderTableRow {TR} at (0,0) size 556x27
- RenderTableCell {TD} at (0,0) size 556x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
- RenderInline {STRONG} at (0,0) size 159x19
- RenderText {#text} at (4,4) size 159x19
- text run at (4,4) width 159: "TABLE Testing Section"
- RenderTableRow {TR} at (0,27) size 556x214
- RenderTableCell {TD} at (0,120) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
- RenderText {#text} at (4,4) size 4x19
- text run at (4,4) width 4: " "
- RenderTableCell {TD} at (12,27) size 544x214 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
- RenderBlock {P} at (4,4) size 536x19 [color=#008000]
- RenderText {#text} at (0,0) size 184x19
- text run at (0,0) width 184: "This sentence should be green."
- RenderBlock {P} at (4,39) size 536x19
- RenderText {#text} at (0,0) size 536x19
- text run at (0,0) width 536: "This sentence should be black, not red-- class selectors cannot begin with digits in CSS1."
- RenderBlock {P} at (4,74) size 536x19 [color=#008000]
- RenderText {#text} at (0,0) size 184x19
- text run at (0,0) width 184: "This sentence should be green."
- RenderBlock {P} at (4,109) size 536x19 [color=#800080]
- RenderText {#text} at (0,0) size 189x19
- text run at (0,0) width 189: "This sentence should be purple."
- RenderBlock {PRE} at (4,144) size 536x15
- RenderText {#text} at (0,0) size 280x15
- text run at (0,0) width 280: "This sentence should NOT be purple."
- text run at (280,0) width 0: " "
- RenderBlock {UL} at (4,175) size 536x19
- RenderListItem {LI} at (40,0) size 496x19
- RenderListMarker at (-18,0) size 7x19: bullet
- RenderText {#text} at (0,0) size 226x19
- text run at (0,0) width 226: "This sentence should NOT be purple."