Move media controls UA style into a separate ruleset
The current rules for media controls should only apply to elements in the UA shadow dom for media elements, but were added to the ruleset for all html UA style. Since the media controls styling adds a bunch of rules in the universal tag bucket, once we add a media element to our renderer, we were stuck with having to reject a bunch of these rules for every html element. Instead, create a different set of styles for media controls and only try applying rules from that set for elements inside the UA shadow tree for media elements. Bug: 1166198, 1032957 Change-Id: I5b2fa635558a28a29bf69538f94763d158c7d2ce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2631490 Commit-Queue: Rune Lillesveen <futhark@chromium.org> Reviewed-by:Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/master@{#844975}
Showing
Please register or sign in to comment