[Webkit-unassigned] [Bug 71216] Add Media characteristics pseudo classes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 3 16:06:09 PDT 2011


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





--- Comment #8 from Antti Koivisto <koivisto at iki.fi>  2011-11-03 16:06:09 PST ---
(In reply to comment #7)
> (In reply to comment #6)
> > It is not clear to me what these are good for (even after reading the whatwg thread). CSS is not very good for styling things based on state of another element so these are fairly inflexible to use.
> 
> What do you mean by this? Styling based on state of an ancestor is a very common pattern in Web development.

Exactly. Ancestors only. Inflexible. Presumably you would occasionally want elements other than ancestors to be affected by the media state.

> > A media controller needs scripting anyway. A full implementation of all pseudo classes would require quite a bit of code.
> 
> Yep. That's certainly a cost. But the benefit is pretty nice too, albeit localized to media controls and those styling them. And yes, you would still need scripting to build a full-blown media controller, but with these pseudo-classes, you could totally get away with just CSS to skin existing controls.

I think there is a whiff off adding features for the sake of adding features here. I think you should at least get some traction in whatwg first.

I don't really feel very strongly about this either way. Just asking the potential reviewers to consider if this is really worth doing.

-- 
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