https://bugs.webkit.org/show_bug.cgi?id=80088
Patch by Yoshifumi Inoue <yosin@chromium.org> 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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111830
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-03-22 Yoshifumi Inoue <yosin@chromium.org>
+
+ [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 <li.yin@intel.com>
[WebSocket]A client must close a connection if it detects a masked frame
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
button { background: lime; }
progress { background: lime; }
meter { background: lime; }
+ option { background: lime; }
+ select { background: lime; }
</style>
</head>
<body>
<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>
"button-reset",
"progress",
"meter",
+ "option",
];
var normalColor = "rgb(0, 255, 0)";