Bug 105690
| Summary: | button element doesn't accept CSS :focus styling | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Raphael <raphael> |
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | ap |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Windows 7 | ||
| URL: | http://codepen.io/raphaelgoetter/pen/fLGow | ||
Raphael
Tried following CSS :
button + label {background: yellow;}
button:focus + label {background: green;}
Result is not OK on Chrome 23 (label must be green on button click)
see : http://codepen.io/raphaelgoetter/pen/fLGow
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
I think that this is a duplicate of bug 22261. Label becomes green when the button is actually focused. just not when it's clicked.
*** This bug has been marked as a duplicate of bug 22261 ***