[Webkit-unassigned] [Bug 157635] REGRESSION (STP 4): Unable to target pseudo element webkit-media-controls

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 13 12:39:00 PDT 2016


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

--- Comment #8 from Derk-Jan Hartman <hartman.wiki at gmail.com> ---
Hmm, I forgot 1 reason why I wouldn't want to remove the controls attribute... Not all re-users of of our Wikipedia content, are guaranteed to have our Javascript running of course. That means all re-users of Wikipedia content (FB, offline readers, 3rd party mobile apps etc) would have video elements without controls potentially..

It's an option that could be considered, but still not really ideal...
I'd prefer a pure CSS solution for this problem. (top loading JS is not really an option, we are desperately trying to trim that down considerably in favor of styles and progressive JS late loading.

BTW. "The deal here is that the video's controls live in the video's Shadow DOM, and page style is not supposed to be able to affect elements inside a Shadow DOM."

That sounds nice in practice, but as far as I can see, input elements with overriding styling for pseudo controls are everywhere and lot's of stuff would break if we really started following: "page style is not supposed to be able to affect elements inside a Shadow DOM"

And again, as I mentioned, I can easily override a lower level child still.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160513/0a7bfc8f/attachment.html>


More information about the webkit-unassigned mailing list