Title: [150184] trunk/LayoutTests
Revision
150184
Author
ser...@webkit.org
Date
2013-05-16 10:06:58 -0700 (Thu, 16 May 2013)

Log Message

Enable the CSSVariables setting in css-variable-definition.html test
https://bugs.webkit.org/show_bug.cgi?id=116231

Reviewed by Andreas Kling.

CSSVariablesEnabled setting must be set to true to allow
CSSVariables at runtime.

Modified also the indent size to 4 spaces.

* css3/css-variable-definition-expected.html:
* css3/css-variable-definition.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (150183 => 150184)


--- trunk/LayoutTests/ChangeLog	2013-05-16 15:44:09 UTC (rev 150183)
+++ trunk/LayoutTests/ChangeLog	2013-05-16 17:06:58 UTC (rev 150184)
@@ -1,3 +1,18 @@
+2013-05-16  Sergio Villar Senin  <svil...@igalia.com>
+
+        Enable the CSSVariables setting in css-variable-definition.html test
+        https://bugs.webkit.org/show_bug.cgi?id=116231
+
+        Reviewed by Andreas Kling.
+
+        CSSVariablesEnabled setting must be set to true to allow
+        CSSVariables at runtime.
+
+        Modified also the indent size to 4 spaces.
+
+        * css3/css-variable-definition-expected.html:
+        * css3/css-variable-definition.html:
+
 2013-05-15  Andy Estes  <aes...@apple.com>
 
         Resources from non-HTTP schemes should not be cached indefinitely

Modified: trunk/LayoutTests/css3/css-variable-definition-expected.html (150183 => 150184)


--- trunk/LayoutTests/css3/css-variable-definition-expected.html	2013-05-16 15:44:09 UTC (rev 150183)
+++ trunk/LayoutTests/css3/css-variable-definition-expected.html	2013-05-16 17:06:58 UTC (rev 150184)
@@ -1,14 +1,17 @@
 <html>
+<script>
+    internals.settings.setCSSVariablesEnabled(true);
+</script>
 <style>
-  :root {
-      -webkit-var-mycolor: red;
-  }
-  div {
-      color: -webkit-var(mycolor);
-  }
+    :root {
+        -webkit-var-mycolor: red;
+    }
+    div {
+        color: -webkit-var(mycolor);
+    }
 </style>
 <body>
-  <p>Check that a CSS variable definition accepts spaces before the ':'</p>
-  <div>This text should be red</div>
+    <p>Check that a CSS variable definition accepts spaces before the ':'</p>
+    <div>This text should be red</div>
 </body>
 </html>

Modified: trunk/LayoutTests/css3/css-variable-definition.html (150183 => 150184)


--- trunk/LayoutTests/css3/css-variable-definition.html	2013-05-16 15:44:09 UTC (rev 150183)
+++ trunk/LayoutTests/css3/css-variable-definition.html	2013-05-16 17:06:58 UTC (rev 150184)
@@ -1,14 +1,17 @@
 <html>
+<script>
+    internals.settings.setCSSVariablesEnabled(true);
+</script>
 <style>
-  :root {
-      -webkit-var-mycolor : red;
-  }
-  div {
-      color: -webkit-var(mycolor);
-  }
+    :root {
+        -webkit-var-mycolor : red;
+    }
+    div {
+        color: -webkit-var(mycolor);
+    }
 </style>
 <body>
-  <p>Check that a CSS variable definition accepts spaces before the ':'</p>
-  <div>This text should be red</div>
+    <p>Check that a CSS variable definition accepts spaces before the ':'</p>
+    <div>This text should be red</div>
 </body>
 </html>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to