Title: [186249] trunk/Source/WebCore
Revision
186249
Author
d...@apple.com
Date
2015-07-02 18:27:25 -0700 (Thu, 02 Jul 2015)

Log Message

Tapping a video in Safari causes the video to flash gray for a quick moment
https://bugs.webkit.org/show_bug.cgi?id=146570
<rdar://problem/21325181>

Reviewed by Brent Fulgham.

On iOS, video elements should not show the tap highlight.

* css/html.css:
(video):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (186248 => 186249)


--- trunk/Source/WebCore/ChangeLog	2015-07-03 00:53:10 UTC (rev 186248)
+++ trunk/Source/WebCore/ChangeLog	2015-07-03 01:27:25 UTC (rev 186249)
@@ -1,5 +1,18 @@
 2015-07-02  Dean Jackson  <d...@apple.com>
 
+        Tapping a video in Safari causes the video to flash gray for a quick moment
+        https://bugs.webkit.org/show_bug.cgi?id=146570
+        <rdar://problem/21325181>
+
+        Reviewed by Brent Fulgham.
+
+        On iOS, video elements should not show the tap highlight.
+
+        * css/html.css:
+        (video):
+
+2015-07-02  Dean Jackson  <d...@apple.com>
+
         WebKit should use 80% white background for PiP indicator
         https://bugs.webkit.org/show_bug.cgi?id=146444
         <rdar://problem/21555726>

Modified: trunk/Source/WebCore/css/html.css (186248 => 186249)


--- trunk/Source/WebCore/css/html.css	2015-07-03 00:53:10 UTC (rev 186248)
+++ trunk/Source/WebCore/css/html.css	2015-07-03 01:27:25 UTC (rev 186249)
@@ -106,6 +106,9 @@
 
 video {
     object-fit: contain;
+#if defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS
+    -webkit-tap-highlight-color: transparent;
+#endif
 }
 
 /* heading elements */
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to