Bug 133175

Summary: Captions layout incorrectly in fullscreen.
Product: WebKit Reporter: Jeremy Jones <jeremyj-wk>
Component: MediaAssignee: Jeremy Jones <jeremyj-wk>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, eric.carlson, esprehn+autocc, glenn, gyuyoung.kim, jer.noble, philipj, sergio
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
eric.carlson: review+
Patch none

Description Jeremy Jones 2014-05-22 01:11:15 PDT
Captions layout incorrectly in fullscreen.
Comment 1 Jeremy Jones 2014-05-22 01:20:25 PDT
Created attachment 231868 [details]
Patch
Comment 2 Jeremy Jones 2014-05-22 01:21:07 PDT
radar://16923830
Comment 3 Eric Carlson 2014-05-22 06:36:42 PDT
Comment on attachment 231868 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=231868&action=review

> Source/WebCore/html/shadow/MediaControlElements.cpp:1366
>              setInlineStyleProperty(CSSPropertyWidth, m_videoDisplaySize.size().width(), CSSPrimitiveValue::CSS_PX);
>              setInlineStyleProperty(CSSPropertyHeight, m_videoDisplaySize.size().height(), CSSPrimitiveValue::CSS_PX);
> +            setInlineStyleProperty(CSSPropertyPosition, CSSValueAbsolute);
> +            setInlineStyleProperty(CSSPropertyLeft, 0, CSSPrimitiveValue::CSS_PX);
> +            setInlineStyleProperty(CSSPropertyTop, 0, CSSPrimitiveValue::CSS_PX);

Nit: this should be in a member function instead of being duplicated here and in updateTimerFired.
Comment 4 Jeremy Jones 2014-05-22 11:01:22 PDT
Created attachment 231896 [details]
Patch
Comment 5 WebKit Commit Bot 2014-05-22 18:05:16 PDT
Comment on attachment 231896 [details]
Patch

Clearing flags on attachment: 231896

Committed r169234: <http://trac.webkit.org/changeset/169234>