Cue line-height property shouldn't be inherited from the video element
authorvcarbune@chromium.org <vcarbune@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Mar 2013 22:02:27 +0000 (22:02 +0000)
committervcarbune@chromium.org <vcarbune@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Mar 2013 22:02:27 +0000 (22:02 +0000)
commit4bceda3099382a868e7ef764224d5f0cc590977d
tree3c44c660bdfc6d5e83fe31f71b86306057035afe
parent693aa0fc33380a5c14cf614095431b46a55cf261
Cue line-height property shouldn't be inherited from the video element
https://bugs.webkit.org/show_bug.cgi?id=111262

Reviewed by Eric Carlson.

Source/WebCore:

Test: media/track/track-cue-rendering-on-resize.html

* css/mediaControls.css:
(video::-webkit-media-text-track-container): Set the default font size
and family using the "font" property to also reset the line-height property.

LayoutTests:

* media/track/captions-webvtt/captions-snap-to-lines-set.vtt: Updated.
* media/track/track-cue-rendering-on-resize-expected.txt: Added.
* media/track/track-cue-rendering-on-resize.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@144814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/media/track/captions-webvtt/captions-snap-to-lines-set.vtt
LayoutTests/media/track/track-cue-rendering-on-resize-expected.txt [new file with mode: 0644]
LayoutTests/media/track/track-cue-rendering-on-resize.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/css/mediaControls.css