Title: [111830] trunk/LayoutTests
Revision
111830
Author
[email protected]
Date
2012-03-22 23:11:35 -0700 (Thu, 22 Mar 2012)

Log Message

[Forms][CSS] The option element should not match pseudo class :valid
https://bugs.webkit.org/show_bug.cgi?id=80088

Patch by Yoshifumi Inoue <[email protected]> on 2012-03-22
Reviewed by Kent Tamura.

This patch added an assertion for checking the "option" element
doesn't match to CSS pseudo class "valid". This behavior was fixed
by r111659.

* fast/css/pseudo-valid-unapplied-expected.txt:
* fast/css/pseudo-valid-unapplied.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (111829 => 111830)


--- trunk/LayoutTests/ChangeLog	2012-03-23 06:08:40 UTC (rev 111829)
+++ trunk/LayoutTests/ChangeLog	2012-03-23 06:11:35 UTC (rev 111830)
@@ -1,3 +1,17 @@
+2012-03-22  Yoshifumi Inoue  <[email protected]>
+
+        [Forms][CSS] The option element should not match pseudo class :valid
+        https://bugs.webkit.org/show_bug.cgi?id=80088
+
+        Reviewed by Kent Tamura.
+
+        This patch added an assertion for checking the "option" element
+        doesn't match to CSS pseudo class "valid". This behavior was fixed
+        by r111659.
+
+        * fast/css/pseudo-valid-unapplied-expected.txt:
+        * fast/css/pseudo-valid-unapplied.html:
+
 2012-03-22  Li Yin  <[email protected]>
 
         [WebSocket]A client must close a connection if it detects a masked frame

Modified: trunk/LayoutTests/fast/css/pseudo-valid-unapplied-expected.txt (111829 => 111830)


--- trunk/LayoutTests/fast/css/pseudo-valid-unapplied-expected.txt	2012-03-23 06:08:40 UTC (rev 111829)
+++ trunk/LayoutTests/fast/css/pseudo-valid-unapplied-expected.txt	2012-03-23 06:11:35 UTC (rev 111830)
@@ -15,6 +15,7 @@
 PASS getBackgroundColor('button-reset') is normalColor
 PASS getBackgroundColor('progress') is normalColor
 PASS getBackgroundColor('meter') is normalColor
+PASS getBackgroundColor('option') is normalColor
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/fast/css/pseudo-valid-unapplied.html (111829 => 111830)


--- trunk/LayoutTests/fast/css/pseudo-valid-unapplied.html	2012-03-23 06:08:40 UTC (rev 111829)
+++ trunk/LayoutTests/fast/css/pseudo-valid-unapplied.html	2012-03-23 06:11:35 UTC (rev 111830)
@@ -11,6 +11,8 @@
  button { background: lime; }
  progress { background: lime; }
  meter { background: lime; }
+ option { background: lime; }
+ select { background: lime; }
 </style>
 </head>
 <body>
@@ -28,6 +30,7 @@
 <button name="button-reset" type="reset">Lorem ipsum</button>
 <progress id="progress" value=50 max=100>50</progress>
 <meter id="meter" value=50 max=100>50</meter>
+<select id="select" required><option id="option" value="1">One</option></select>
 </form>
 <div id="console"></div>
 <script>
@@ -52,6 +55,7 @@
     "button-reset",
     "progress",
     "meter",
+    "option",
 ];
 
 var normalColor = "rgb(0, 255, 0)";
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to