Title: [117641] trunk/LayoutTests
Revision
117641
Author
[email protected]
Date
2012-05-18 15:15:12 -0700 (Fri, 18 May 2012)

Log Message

Remove one-space indentation from LayoutTests/fast/backgrounds/background-shorthand-with-backgroundSize-style.html
https://bugs.webkit.org/show_bug.cgi?id=86897

Patch by Joe Thomas <[email protected]> on 2012-05-18
Reviewed by Tony Chang.

* fast/backgrounds/background-shorthand-with-backgroundSize-style.html:

2012-05-17  Levi Weintraub  <[email protected]>

Standalone table-columns should be wrapped in anonymous tables
https://bugs.webkit.org/show_bug.cgi?id=86671

Reviewed by Julien Chaffraix.

Adding 2 test cases and updating test results for two with changed expectations.

* fast/table/table-column-generates-anonymous-table-expected.html: Added.
* fast/table/table-column-generates-anonymous-table.html: Added.
* fast/table/table-column-group-generates-anonymous-table-expected.html: Added.
* fast/table/table-column-group-generates-anonymous-table.html: Added.
* platform/chromium-linux/fast/forms/form-hides-table-expected.txt: Added. An anonymous
table is now generated to enclose the misparented table column.
* platform/chromium-linux/fast/table/form-with-table-style-expected.txt: Added.
* platform/chromium-linux/fast/table/form-with-table-style-expected.png: Modified. The
expectations previously were wrong in that the table column occupied height the
equivalent of its line-height. This is correctly no longer the case.
* platform/chromium/test_expectations.txt: Modified. Skipping modified tests on other
platforms until I can rebaseline.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (117640 => 117641)


--- trunk/LayoutTests/ChangeLog	2012-05-18 22:09:51 UTC (rev 117640)
+++ trunk/LayoutTests/ChangeLog	2012-05-18 22:15:12 UTC (rev 117641)
@@ -1,3 +1,12 @@
+2012-05-18  Joe Thomas  <[email protected]>
+
+        Remove one-space indentation from LayoutTests/fast/backgrounds/background-shorthand-with-backgroundSize-style.html
+        https://bugs.webkit.org/show_bug.cgi?id=86897
+
+        Reviewed by Tony Chang.
+
+        * fast/backgrounds/background-shorthand-with-backgroundSize-style.html:
+
         2012-05-17  Levi Weintraub  <[email protected]>
 
         Standalone table-columns should be wrapped in anonymous tables

Modified: trunk/LayoutTests/fast/backgrounds/background-shorthand-with-backgroundSize-style.html (117640 => 117641)


--- trunk/LayoutTests/fast/backgrounds/background-shorthand-with-backgroundSize-style.html	2012-05-18 22:09:51 UTC (rev 117640)
+++ trunk/LayoutTests/fast/backgrounds/background-shorthand-with-backgroundSize-style.html	2012-05-18 22:15:12 UTC (rev 117641)
@@ -3,126 +3,126 @@
 <script src=""
 <div id="test"> </div>
 <script>
- description("Tests background shortand property with background-size");
+description("Tests background shortand property with background-size");
 
- var e = document.getElementById('test');
- var computedStyle = window.getComputedStyle(e, null);
+var e = document.getElementById('test');
+var computedStyle = window.getComputedStyle(e, null);
 
- function checkStyle() {
-     var before = e.style.background;
-     e.style.background = '';
-     e.style.background = ""
-     return (e.style.background == before);
- }
+function checkStyle() {
+    var before = e.style.background;
+    e.style.background = '';
+    e.style.background = ""
+    return (e.style.background == before);
+}
 
- function checkComputedStyleValue() {
-     var before = window.getComputedStyle(e, null).getPropertyValue('background');
-     e.style.background = '';
-     e.style.background = ""
-     return (window.getComputedStyle(e, null).getPropertyValue('background') == before);
- }
+function checkComputedStyleValue() {
+    var before = window.getComputedStyle(e, null).getPropertyValue('background');
+    e.style.background = '';
+    e.style.background = ""
+    return (window.getComputedStyle(e, null).getPropertyValue('background') == before);
+}
 
- e.style.background = "" / cover red url(dummy://test.png) no-repeat border-box";
- shouldBe("e.style.background", "'red url(dummy://test.png) no-repeat border-box border-box 50% 50% / cover'");
- shouldBe("e.style.backgroundSize", "'cover'");
- shouldBe("checkStyle()", "true");
- shouldBe('computedStyle.getPropertyValue("background")', "'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll 50% 50% / cover'");
- shouldBe('computedStyle.getPropertyValue("background-size")', "'cover'");
- shouldBe("checkComputedStyleValue()", "true");
- debug("")
+e.style.background = "" / cover red url(dummy://test.png) no-repeat border-box";
+shouldBe("e.style.background", "'red url(dummy://test.png) no-repeat border-box border-box 50% 50% / cover'");
+shouldBe("e.style.backgroundSize", "'cover'");
+shouldBe("checkStyle()", "true");
+shouldBe('computedStyle.getPropertyValue("background")', "'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll 50% 50% / cover'");
+shouldBe('computedStyle.getPropertyValue("background-size")', "'cover'");
+shouldBe("checkComputedStyleValue()", "true");
+debug("")
 
- e.style.background = "" 20px / contain url(dummy://test.png) no-repeat padding-box";
- shouldBe("e.style.background", "'red url(dummy://test.png) no-repeat padding-box padding-box 20px 50% / contain'");
- shouldBe("e.style.backgroundSize", "'contain'");
- shouldBe("checkStyle()", "true");
- shouldBe('computedStyle.getPropertyValue("background")', "'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll 20px 50% / contain'");
- shouldBe('computedStyle.getPropertyValue("background-size")', "'contain'");
- shouldBe("checkComputedStyleValue()", "true");
- debug("")
+e.style.background = "" 20px / contain url(dummy://test.png) no-repeat padding-box";
+shouldBe("e.style.background", "'red url(dummy://test.png) no-repeat padding-box padding-box 20px 50% / contain'");
+shouldBe("e.style.backgroundSize", "'contain'");
+shouldBe("checkStyle()", "true");
+shouldBe('computedStyle.getPropertyValue("background")', "'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll 20px 50% / contain'");
+shouldBe('computedStyle.getPropertyValue("background-size")', "'contain'");
+shouldBe("checkComputedStyleValue()", "true");
+debug("")
 
- e.style.background = "" url(dummy://test.png) 50px 60px / 50% 75% no-repeat";
- shouldBe("e.style.background", "'red url(dummy://test.png) no-repeat 50px 60px / 50% 75%'");
- shouldBe("e.style.backgroundSize", "'50% 75%'");
- shouldBe("checkStyle()", "true");
- shouldBe('computedStyle.getPropertyValue("background")', "'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll 50px 60px / 50% 75%'");
- shouldBe('computedStyle.getPropertyValue("background-size")', "'50% 75%'");
- shouldBe("checkComputedStyleValue()", "true");
- debug("")
+e.style.background = "" url(dummy://test.png) 50px 60px / 50% 75% no-repeat";
+shouldBe("e.style.background", "'red url(dummy://test.png) no-repeat 50px 60px / 50% 75%'");
+shouldBe("e.style.backgroundSize", "'50% 75%'");
+shouldBe("checkStyle()", "true");
+shouldBe('computedStyle.getPropertyValue("background")', "'rgb(255, 0, 0) url(dummy://test.png) no-repeat scroll 50px 60px / 50% 75%'");
+shouldBe('computedStyle.getPropertyValue("background-size")', "'50% 75%'");
+shouldBe("checkComputedStyleValue()", "true");
+debug("")
 
- e.style.background = "" url(dummy://test.png) repeat top left / 100px 200px border-box border-box";
- shouldBe("e.style.background", "'red url(dummy://test.png) repeat border-box border-box 0% 0% / 100px 200px'");
- shouldBe("e.style.backgroundSize", "'100px 200px'");
- shouldBe("checkStyle()", "true");
- shouldBe('computedStyle.getPropertyValue("background")', "'rgb(255, 0, 0) url(dummy://test.png) repeat scroll 0% 0% / 100px 200px'");
- shouldBe('computedStyle.getPropertyValue("background-size")', "'100px 200px'");
- shouldBe("checkComputedStyleValue()", "true");
- debug("")
+e.style.background = "" url(dummy://test.png) repeat top left / 100px 200px border-box border-box";
+shouldBe("e.style.background", "'red url(dummy://test.png) repeat border-box border-box 0% 0% / 100px 200px'");
+shouldBe("e.style.backgroundSize", "'100px 200px'");
+shouldBe("checkStyle()", "true");
+shouldBe('computedStyle.getPropertyValue("background")', "'rgb(255, 0, 0) url(dummy://test.png) repeat scroll 0% 0% / 100px 200px'");
+shouldBe('computedStyle.getPropertyValue("background-size")', "'100px 200px'");
+shouldBe("checkComputedStyleValue()", "true");
+debug("")
 
- e.style.background = "" url(dummy://test.png) repeat 50% / auto auto content-box content-box";
- shouldBe("e.style.background", "'red url(dummy://test.png) repeat content-box content-box 50% 50% / auto'");
- shouldBe("e.style.backgroundSize", "'auto'");
- shouldBe("checkStyle()", "true");
- shouldBe('computedStyle.getPropertyValue("background")', "'rgb(255, 0, 0) url(dummy://test.png) repeat scroll 50% 50% / auto'");
- shouldBe('computedStyle.getPropertyValue("background-size")', "'auto'");
- shouldBe("checkComputedStyleValue()", "true");
- debug("")
+e.style.background = "" url(dummy://test.png) repeat 50% / auto auto content-box content-box";
+shouldBe("e.style.background", "'red url(dummy://test.png) repeat content-box content-box 50% 50% / auto'");
+shouldBe("e.style.backgroundSize", "'auto'");
+shouldBe("checkStyle()", "true");
+shouldBe('computedStyle.getPropertyValue("background")', "'rgb(255, 0, 0) url(dummy://test.png) repeat scroll 50% 50% / auto'");
+shouldBe('computedStyle.getPropertyValue("background-size")', "'auto'");
+shouldBe("checkComputedStyleValue()", "true");
+debug("")
 
- e.style.background = "" red 50px 60px / 50% no-repeat fixed";
- shouldBe("e.style.background", "'red url(dummy://test.png) no-repeat fixed 50px 60px / 50%'");
- shouldBe("e.style.backgroundSize", "'50%'");
- shouldBe("checkStyle()", "true");
- shouldBe('computedStyle.getPropertyValue("background")', "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 50px 60px / 50%'");
- shouldBe('computedStyle.getPropertyValue("background-size")', "'50%'");
- shouldBe("checkComputedStyleValue()", "true");
- debug("")
+e.style.background = "" red 50px 60px / 50% no-repeat fixed";
+shouldBe("e.style.background", "'red url(dummy://test.png) no-repeat fixed 50px 60px / 50%'");
+shouldBe("e.style.backgroundSize", "'50%'");
+shouldBe("checkStyle()", "true");
+shouldBe('computedStyle.getPropertyValue("background")', "'rgb(255, 0, 0) url(dummy://test.png) no-repeat fixed 50px 60px / 50%'");
+shouldBe('computedStyle.getPropertyValue("background-size")', "'50%'");
+shouldBe("checkComputedStyleValue()", "true");
+debug("")
 
- e.style.background = "" repeat scroll padding-box padding-box top left / 100px url(dummy://test.png)";
- shouldBe("e.style.background", "'red url(dummy://test.png) repeat scroll padding-box padding-box 0% 0% / 100px'");
- shouldBe("e.style.backgroundSize", "'100px'");
- shouldBe("checkStyle()", "true");
- shouldBe('computedStyle.getPropertyValue("background")', "'rgb(255, 0, 0) url(dummy://test.png) repeat scroll 0% 0% / 100px'");
- shouldBe('computedStyle.getPropertyValue("background-size")', "'100px'");
- shouldBe("checkComputedStyleValue()", "true");
- debug("")
+e.style.background = "" repeat scroll padding-box padding-box top left / 100px url(dummy://test.png)";
+shouldBe("e.style.background", "'red url(dummy://test.png) repeat scroll padding-box padding-box 0% 0% / 100px'");
+shouldBe("e.style.backgroundSize", "'100px'");
+shouldBe("checkStyle()", "true");
+shouldBe('computedStyle.getPropertyValue("background")', "'rgb(255, 0, 0) url(dummy://test.png) repeat scroll 0% 0% / 100px'");
+shouldBe('computedStyle.getPropertyValue("background-size")', "'100px'");
+shouldBe("checkComputedStyleValue()", "true");
+debug("")
 
- e.style.background = "" / auto fixed url(dummy://test.png) repeat content-box red";
- shouldBe("e.style.background", "'red url(dummy://test.png) repeat fixed content-box content-box 50% 50% / auto'");
- shouldBe("e.style.backgroundSize", "'auto'");
- shouldBe("checkStyle()", "true");
- shouldBe('computedStyle.getPropertyValue("background")', "'rgb(255, 0, 0) url(dummy://test.png) repeat fixed 50% 50% / auto'");
- shouldBe('computedStyle.getPropertyValue("background-size")', "'auto'");
- shouldBe("checkComputedStyleValue()", "true");
- debug("")
+e.style.background = "" / auto fixed url(dummy://test.png) repeat content-box red";
+shouldBe("e.style.background", "'red url(dummy://test.png) repeat fixed content-box content-box 50% 50% / auto'");
+shouldBe("e.style.backgroundSize", "'auto'");
+shouldBe("checkStyle()", "true");
+shouldBe('computedStyle.getPropertyValue("background")', "'rgb(255, 0, 0) url(dummy://test.png) repeat fixed 50% 50% / auto'");
+shouldBe('computedStyle.getPropertyValue("background-size")', "'auto'");
+shouldBe("checkComputedStyleValue()", "true");
+debug("")
 
- e.style.background = ""
- e.style.background = "" / cover url(dummy://test.png) repeat";
- shouldBe("e.style.background", "''");
- shouldBe("e.style.backgroundSize", "''");
- shouldBe("checkStyle()", "true");
- shouldBe('computedStyle.getPropertyValue("background")', "'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto'");
- shouldBe('computedStyle.getPropertyValue("background-size")', "'auto'");
- shouldBe("checkComputedStyleValue()", "true");
- debug("")
+e.style.background = ""
+e.style.background = "" / cover url(dummy://test.png) repeat";
+shouldBe("e.style.background", "''");
+shouldBe("e.style.backgroundSize", "''");
+shouldBe("checkStyle()", "true");
+shouldBe('computedStyle.getPropertyValue("background")', "'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto'");
+shouldBe('computedStyle.getPropertyValue("background-size")', "'auto'");
+shouldBe("checkComputedStyleValue()", "true");
+debug("")
 
- e.style.background = ""
- e.style.background = "" url(dummy://test.png) repeat 25px / contain contain";
- shouldBe("e.style.background", "''");
- shouldBe("e.style.backgroundSize", "''");
- shouldBe("checkStyle()", "true");
- shouldBe('computedStyle.getPropertyValue("background")', "'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto'");
- shouldBe('computedStyle.getPropertyValue("background-size")', "'auto'");
- shouldBe("checkComputedStyleValue()", "true");
- debug("")
+e.style.background = ""
+e.style.background = "" url(dummy://test.png) repeat 25px / contain contain";
+shouldBe("e.style.background", "''");
+shouldBe("e.style.backgroundSize", "''");
+shouldBe("checkStyle()", "true");
+shouldBe('computedStyle.getPropertyValue("background")', "'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto'");
+shouldBe('computedStyle.getPropertyValue("background-size")', "'auto'");
+shouldBe("checkComputedStyleValue()", "true");
+debug("")
 
- e.style.background = ""
- e.style.background = "" top left / 100px cover url(dummy://test.png) repeat";
- shouldBe("e.style.background", "''");
- shouldBe("e.style.backgroundSize", "''");
- shouldBe("checkStyle()", "true");
- shouldBe('computedStyle.getPropertyValue("background")', "'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto'");
- shouldBe('computedStyle.getPropertyValue("background-size")', "'auto'");
- shouldBe("checkComputedStyleValue()", "true");
- debug("")
+e.style.background = ""
+e.style.background = "" top left / 100px cover url(dummy://test.png) repeat";
+shouldBe("e.style.background", "''");
+shouldBe("e.style.backgroundSize", "''");
+shouldBe("checkStyle()", "true");
+shouldBe('computedStyle.getPropertyValue("background")', "'rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto'");
+shouldBe('computedStyle.getPropertyValue("background-size")', "'auto'");
+shouldBe("checkComputedStyleValue()", "true");
+debug("")
 </script>
 <script src=""
 </body>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to