CSS text properties affect <video> shadow root
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Jun 2017 21:55:27 +0000 (21:55 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Jun 2017 21:55:27 +0000 (21:55 +0000)
commit14145666407e37d7a244bae037f0da1d2d7a118f
tree4e0338fe08e7124f2f4a198a1026ffa2872fab0c
parent00ecab9fab624163ebf8c7e5de0d93a88c2accbb
CSS text properties affect <video> shadow root
https://bugs.webkit.org/show_bug.cgi?id=173664
<rdar://problem/32904328>

Patch by Antoine Quint <graouts@apple.com> on 2017-06-21
Reviewed by Dean Jackson.

Source/WebCore:

Ensure that we reset all inheritable styles back to their initial value for media shadow roots.

Test: media/modern-media-controls/time-label/time-label-inherited-text-indent.html

* Modules/modern-media-controls/controls/media-controls.css:
(.media-controls-container):

LayoutTests:

Add a test that ensures that setting an inheritable style on the <video> does not affect
time labels within the shadow root.

* media/modern-media-controls/time-label/time-label-inherited-text-indent-expected.txt: Added.
* media/modern-media-controls/time-label/time-label-inherited-text-indent.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@218655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/media/modern-media-controls/time-label/time-label-inherited-text-indent-expected.txt [new file with mode: 0644]
LayoutTests/media/modern-media-controls/time-label/time-label-inherited-text-indent.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/Modules/modern-media-controls/controls/media-controls.css