Title: [225521] trunk/Source/WebCore
Revision
225521
Author
[email protected]
Date
2017-12-05 00:22:08 -0800 (Tue, 05 Dec 2017)

Log Message

<video> and scale() transforms yield shrunk small or clipped controls
https://bugs.webkit.org/show_bug.cgi?id=180358
<rdar://problem/34436124>

Unreviewed.

Use DOMMatrix vs. WebKitCSSMatrix per Simon's post-commit review feedback.

* Modules/modern-media-controls/media/media-controller.js:
(MediaController.prototype._updateControlsSize):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (225520 => 225521)


--- trunk/Source/WebCore/ChangeLog	2017-12-05 08:02:57 UTC (rev 225520)
+++ trunk/Source/WebCore/ChangeLog	2017-12-05 08:22:08 UTC (rev 225521)
@@ -1,3 +1,16 @@
+2017-12-05  Antoine Quint  <[email protected]>
+
+        <video> and scale() transforms yield shrunk small or clipped controls
+        https://bugs.webkit.org/show_bug.cgi?id=180358
+        <rdar://problem/34436124>
+
+        Unreviewed.
+
+        Use DOMMatrix vs. WebKitCSSMatrix per Simon's post-commit review feedback.
+
+        * Modules/modern-media-controls/media/media-controller.js:
+        (MediaController.prototype._updateControlsSize):
+
 2017-12-04  Chris Dumez  <[email protected]>
 
         Support container.getRegistration() / getRegistrations() inside service workers

Modified: trunk/Source/WebCore/Modules/modern-media-controls/media/media-controller.js (225520 => 225521)


--- trunk/Source/WebCore/Modules/modern-media-controls/media/media-controller.js	2017-12-05 08:02:57 UTC (rev 225520)
+++ trunk/Source/WebCore/Modules/modern-media-controls/media/media-controller.js	2017-12-05 08:22:08 UTC (rev 225521)
@@ -220,9 +220,9 @@
         // First, we traverse the node hierarchy up from the media element to compute the effective
         // transform matrix applied to the media element.
         let node = this.media;
-        let transform = new WebKitCSSMatrix;
+        let transform = new DOMMatrix;
         while (node && node instanceof HTMLElement) {
-            transform = transform.multiply(new WebKitCSSMatrix(getComputedStyle(node).transform));
+            transform = transform.multiply(new DOMMatrix(getComputedStyle(node).transform));
             node = node.parentNode;
         }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to