Captions do not render in PiP window when element is hidden
[WebKit-https.git] / Source / WebCore / ChangeLog
index eff9edc..80076e6 100644 (file)
@@ -1,3 +1,20 @@
+2016-07-27  Eric Carlson  <eric.carlson@apple.com>
+
+        Captions do not render in PiP window when element is hidden
+        https://bugs.webkit.org/show_bug.cgi?id=160265
+        <rdar://problem/27556788>
+
+        Reviewed by Simon Fraser.
+
+        * html/shadow/MediaControlElements.cpp:
+        (WebCore::MediaControlTextTrackContainerElement::createTextTrackRepresentationImage): Pass new flag so
+        caption layers are always rendered.
+
+        * rendering/RenderLayer.cpp:
+        (WebCore::RenderLayer::paintLayerContents): Paint non-visible layers when PaintLayerIgnoreVisibility
+        flag is set.
+        * rendering/RenderLayer.h: Define PaintLayerIgnoreVisibility.
+
 2016-07-27  Chris Dumez  <cdumez@apple.com>
 
         Parameter to named property getter should be mandatory