[Webkit-unassigned] [Bug 80088] [Forms][CSS] The option element should not match pseudo class :valid

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 19 00:47:41 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=80088





--- Comment #3 from yosin at chromium.org  2012-03-19 00:47:41 PST ---
The "option" elements match following CSS pseudo classes[1]:
1. enables
2. disabled
3. checked
4. default

I'm not sure 

[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/selectors.html#pseudo-classes

== Sample HTML ==


<head>
<style type="text/css">
option:enabled { color: #0000ff; font-size: 30pt; }
option:disabled { color: #808080; font-size: 20pt;}
option:checked { background: #00ffff; }
option:default{ font-style: italic; }
</style>
</head>
<select size="10">
<option id="enabled">enabled #0000ff</option>
<option id="disabled" disabled="disabled">disabled #cccccc</option>
<option id="checcked">checked #00ffff</option>
<option id="default" selected="selected">default #italic</option>
</select>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list