Title: [285342] trunk/Source/WebCore
Revision
285342
Author
grao...@webkit.org
Date
2021-11-05 09:32:31 -0700 (Fri, 05 Nov 2021)

Log Message

[Media Controls] range buttons don't prevent scrolling while dragging
https://bugs.webkit.org/show_bug.cgi?id=232757
<rdar://problem/83637971>

Reviewed by Dean Jackson.

Since we are using Pointer Events to implement the dragging interaction for RangeButton,
we need to set `touch-action: none` to prevent any default user-agent behavior.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (285341 => 285342)


--- trunk/Source/WebCore/ChangeLog	2021-11-05 16:10:33 UTC (rev 285341)
+++ trunk/Source/WebCore/ChangeLog	2021-11-05 16:32:31 UTC (rev 285342)
@@ -1,3 +1,17 @@
+2021-11-05  Antoine Quint  <grao...@webkit.org>
+
+        [Media Controls] range buttons don't prevent scrolling while dragging
+        https://bugs.webkit.org/show_bug.cgi?id=232757
+        <rdar://problem/83637971>
+
+        Reviewed by Dean Jackson.
+
+        Since we are using Pointer Events to implement the dragging interaction for RangeButton,
+        we need to set `touch-action: none` to prevent any default user-agent behavior.
+
+        * Modules/modern-media-controls/controls/range-button.css:
+        (button.range):
+
 2021-11-05  Carlos Garcia Campos  <cgar...@igalia.com>
 
         AX: rename actionVerb() as localizedActionVerb()

Modified: trunk/Source/WebCore/Modules/modern-media-controls/controls/range-button.css (285341 => 285342)


--- trunk/Source/WebCore/Modules/modern-media-controls/controls/range-button.css	2021-11-05 16:10:33 UTC (rev 285341)
+++ trunk/Source/WebCore/Modules/modern-media-controls/controls/range-button.css	2021-11-05 16:32:31 UTC (rev 285342)
@@ -23,6 +23,10 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+button.range {
+    touch-action: none;
+}
+
 button.range > div.indicator {
     --indicator-width: 45px;
     --indicator-height: 134px;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to