[Webkit-unassigned] [Bug 81487] New: [Forms] The option element should not be render with CSS pseudo class ":valid" in listbox
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Mar 18 21:06:30 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=81487
Summary: [Forms] The option element should not be render with
CSS pseudo class ":valid" in listbox
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: http://jsfiddle.net/wawZ8/2/
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: yosin at chromium.org
In sample URI, "option" elements are rendered with CSS pseudo class "valid".
According to HTML5 specification, "option" elements don't support it.
http://www.whatwg.org/specs/web-apps/current-work/multipage/selectors.html#pseudo-classes
== Browser Compatibility ==
* Firefox OK
* IE doesn't support background color in listbox
* Opera OK
== Sample HTML ==
<head>
<style type="text/css">
select:valid {
background: blue;
}
option:valid {
background: red;
}
#one {
background: green;
} </style>
</head>
<body>
<ul>
<li>One's background green</li>
<li>Other's background is blue</li>
</ul>
<select size="5">
<option id="one" value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
<option value="4">Four</option>
</select>
</body>
--
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