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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 3 11:22:55 PDT 2011


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





--- Comment #7 from Dimitri Glazkov (Google) <dglazkov at chromium.org>  2011-11-03 11:22:54 PST ---
(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.

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

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