[Webkit-unassigned] [Bug 156230] New: :default CSS pseudo-class should match checkboxes+radios with a `checked` attribute
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 4 22:41:34 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=156230
Bug ID: 156230
Summary: :default CSS pseudo-class should match
checkboxes+radios with a `checked` attribute
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: webkit at chrisrebert.com
Created attachment 275642
--> https://bugs.webkit.org/attachment.cgi?id=275642&action=review
Testcase demonstrating the bug
Per https://html.spec.whatwg.org/multipage/scripting.html#selector-default ,
the `:default:` CSS pseudo-class should match (among other things):
> * <input> elements to which the `checked` attribute applies and that have a `checked` attribute
But WebKit doesn't currently seem to make :default match in such cases.
Steps to reproduce:
1. Open the attached testcase in WebKit Nightly.
Expected result:
The text "Green", adjacent to the pre-checked checkbox and the pre-checked radio button, should have a green outline.
Actual result:
The text "Green" has a red outline.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160405/d52bf754/attachment-0001.html>
More information about the webkit-unassigned
mailing list