[Webkit-unassigned] [Bug 62218] Some selectors with shadow pseudo ids can bleed into nested shadow DOM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 15 19:23:10 PDT 2012


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





--- Comment #8 from Silvia Pfeiffer <silviapf at chromium.org>  2012-03-15 19:23:10 PST ---
(In reply to comment #7)
> (In reply to comment #5)
> > video::-webkit-media-controls  input[type="range"]::-webkit-slider-container {
> 
> A descendant combinator after a pseudo-element - I understand what you're attempting to do, but this is quite hairy from a spec point of view.

OK, I am just trying to find something that works.

> Have you tried
> 
> video::-webkit-media-controls::-webkit-slider-container

This is what I tried first and it doesn't work.


> Or even
> 
> video::-webkit-slider-container

Again, this doesn't work.

Also, I cannot address individual sliders differently in this way. For example, I have a slider for the timeline and a slider for the volume. If I wanted to style them differently, it wouldn't be possible. (Thank god that's not currently required, but I can see it coming...)


> ? If those don't work either, then finding a solution for something like this (even with code changes) would go over much smoother IMHO.

I'm open for any suggestions. Other than hard coding media controls knowledge into the shadow dom of the input element, I couldn't see a solution. I don't think hard coding is the right approach.

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