Title: [251299] trunk
Revision
251299
Author
[email protected]
Date
2019-10-18 15:16:46 -0700 (Fri, 18 Oct 2019)

Log Message

REGRESSION (r241747): [iOS] Adjust default SVG focus ring width to match width for HTML documents
https://bugs.webkit.org/show_bug.cgi?id=203011

Reviewed by Wenson Hsieh.

Source/WebCore:

Update default user agent stylesheet for SVG documents (i.e. .svg resources) to use the same 3px
outline width for focused elements as we do for HTML documents.

This makes the test imported/blink/svg/custom/focus-ring-2.svg pass on iOS.

* css/svg.css:

LayoutTests:

Remove the test imported/blink/svg/custom/focus-ring-2.svg now that it passes, again.

* platform/ios/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (251298 => 251299)


--- trunk/LayoutTests/ChangeLog	2019-10-18 22:00:48 UTC (rev 251298)
+++ trunk/LayoutTests/ChangeLog	2019-10-18 22:16:46 UTC (rev 251299)
@@ -1,3 +1,14 @@
+2019-10-18  Daniel Bates  <[email protected]>
+
+        REGRESSION (r241747): [iOS] Adjust default SVG focus ring width to match width for HTML documents
+        https://bugs.webkit.org/show_bug.cgi?id=203011
+
+        Reviewed by Wenson Hsieh.
+
+        Remove the test imported/blink/svg/custom/focus-ring-2.svg now that it passes, again.
+
+        * platform/ios/TestExpectations:
+
 2019-10-18  Jer Noble  <[email protected]>
 
         Add experimental HDR MediaCapabilities support.

Modified: trunk/LayoutTests/platform/ios/TestExpectations (251298 => 251299)


--- trunk/LayoutTests/platform/ios/TestExpectations	2019-10-18 22:00:48 UTC (rev 251298)
+++ trunk/LayoutTests/platform/ios/TestExpectations	2019-10-18 22:16:46 UTC (rev 251299)
@@ -3324,7 +3324,6 @@
 http/wpt/resource-timing/rt-initiatorType-xmlhttprequest.html [ Pass Failure ]
 
 # <rdar://problem/51826131> REGRESSION (r241747) 2 Layout tests are failing on Internal iOS 13 iOS / iPad Simulator testers fast/repaint/placeholder-after-caps-lock-hidden.html imported/blink/svg/custom/focus-ring-2.svg
-imported/blink/svg/custom/focus-ring-2.svg [ ImageOnlyFailure ]
 fast/repaint/placeholder-after-caps-lock-hidden.html [ Failure ]
 
 # <rdar://problem/51827049> REGRESSION (iOS 13?) Layout test fast/viewport/ios/use-minimum-device-width-for-page-without-viewport-meta.html is a highly flaky timeout on iOS 13 iOS Simulator

Modified: trunk/Source/WebCore/ChangeLog (251298 => 251299)


--- trunk/Source/WebCore/ChangeLog	2019-10-18 22:00:48 UTC (rev 251298)
+++ trunk/Source/WebCore/ChangeLog	2019-10-18 22:16:46 UTC (rev 251299)
@@ -1,3 +1,17 @@
+2019-10-18  Daniel Bates  <[email protected]>
+
+        REGRESSION (r241747): [iOS] Adjust default SVG focus ring width to match width for HTML documents
+        https://bugs.webkit.org/show_bug.cgi?id=203011
+
+        Reviewed by Wenson Hsieh.
+
+        Update default user agent stylesheet for SVG documents (i.e. .svg resources) to use the same 3px
+        outline width for focused elements as we do for HTML documents.
+
+        This makes the test imported/blink/svg/custom/focus-ring-2.svg pass on iOS.
+
+        * css/svg.css:
+
 2019-10-18  Jer Noble  <[email protected]>
 
         Add experimental HDR MediaCapabilities support.

Modified: trunk/Source/WebCore/css/svg.css (251298 => 251299)


--- trunk/Source/WebCore/css/svg.css	2019-10-18 22:00:48 UTC (rev 251298)
+++ trunk/Source/WebCore/css/svg.css	2019-10-18 22:16:46 UTC (rev 251299)
@@ -69,7 +69,11 @@
 /* states */
 
 :focus {
-    outline: auto 5px -webkit-focus-ring-color
+#if defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY
+    outline: auto 3px -webkit-focus-ring-color;
+#else
+    outline: auto 5px -webkit-focus-ring-color;
+#endif
 }
 
 *:not(svg),
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to