[Webkit-unassigned] [Bug 12520] ARCH: General sibling selectors and multiple chained adjacent selectors don't work dynamically
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Feb 27 17:02:40 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=12520
Ryan <seddon.ryan at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |seddon.ryan at gmail.com
--- Comment #13 from Ryan <seddon.ryan at gmail.com> 2010-02-27 17:02:40 PST ---
The general sibling combinator in conjunction with checked pseudo-class isn't
working e.g.
input:checked ~ div { ... }
This won't work and neither will chaining adjacent sibling combinators e.g.
input:checked + label + div { ... }
However using the checked pseudo class with just a single adjacent sibling
combinator works when the checkbox/radio is checked/unchecked e.g.
input:checked + label { ... }
However #2, doing a general sibling combinator with the enabled or disabled
pseudo-class works fine e.g.
input:enabled ~ div { ... }
input:disabled ~ div { ... }
Seems it doesn't update the styles on elements that are changed dynamically
i.e. :checked or if an input is disabled through javascript.
--
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