Title: [215875] trunk/LayoutTests
Revision
215875
Author
mmaxfi...@apple.com
Date
2017-04-27 09:55:12 -0700 (Thu, 27 Apr 2017)

Log Message

Make fast/text/complex-small-caps-non-bmp-capitalize.html more robust
https://bugs.webkit.org/show_bug.cgi?id=171366
<rdar://problem/30060323>

Reviewed by Alex Christensen.

This test needs a font which supports Deseret but doesn't support small caps.
Geneva is a better choice for such a font.

* fast/text/complex-small-caps-non-bmp-capitalize-expected.html:
* fast/text/complex-small-caps-non-bmp-capitalize.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (215874 => 215875)


--- trunk/LayoutTests/ChangeLog	2017-04-27 16:51:11 UTC (rev 215874)
+++ trunk/LayoutTests/ChangeLog	2017-04-27 16:55:12 UTC (rev 215875)
@@ -1,3 +1,17 @@
+2017-04-27  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        Make fast/text/complex-small-caps-non-bmp-capitalize.html more robust
+        https://bugs.webkit.org/show_bug.cgi?id=171366
+        <rdar://problem/30060323>
+
+        Reviewed by Alex Christensen.
+
+        This test needs a font which supports Deseret but doesn't support small caps.
+        Geneva is a better choice for such a font.
+
+        * fast/text/complex-small-caps-non-bmp-capitalize-expected.html:
+        * fast/text/complex-small-caps-non-bmp-capitalize.html:
+
 2017-04-27  Antti Koivisto  <an...@apple.com>
 
         Repeated layouts in Mail due to viewport units being used with auto-sizing

Modified: trunk/LayoutTests/fast/text/complex-small-caps-non-bmp-capitalize-expected.html (215874 => 215875)


--- trunk/LayoutTests/fast/text/complex-small-caps-non-bmp-capitalize-expected.html	2017-04-27 16:51:11 UTC (rev 215874)
+++ trunk/LayoutTests/fast/text/complex-small-caps-non-bmp-capitalize-expected.html	2017-04-27 16:55:12 UTC (rev 215875)
@@ -3,7 +3,7 @@
 </head>
 <body>
 <p>This test makes sure that the complex text codepath can handle small caps with non-BMP characters which can be uppercased.</p>
-<div style="font-size: 70px;">
+<div style="font: 70px 'Geneva';">
 <div style="position: absolute; left: 16px; top: 16px;"><span style="font-size: 100px;">&#x642;</span>&#x10400;</div>
 <div style="position: absolute; left: 116px; top: 16px;">&#x10400;<span style="font-size: 100px;">&#x642;</span></div>
 <div style="position: absolute; left: 216px; top: 16px;"><span style="font-size: 100px;">&#x642;</span>&#x10400;&#x300;</div>
@@ -10,4 +10,4 @@
 <div style="position: absolute; left: 316px; top: 16px;">&#x10400;&#x300;<span style="font-size: 100px;">&#x642;</span></div>
 </div>
 </body>
-</html>
\ No newline at end of file
+</html>

Modified: trunk/LayoutTests/fast/text/complex-small-caps-non-bmp-capitalize.html (215874 => 215875)


--- trunk/LayoutTests/fast/text/complex-small-caps-non-bmp-capitalize.html	2017-04-27 16:51:11 UTC (rev 215874)
+++ trunk/LayoutTests/fast/text/complex-small-caps-non-bmp-capitalize.html	2017-04-27 16:55:12 UTC (rev 215875)
@@ -3,7 +3,7 @@
 </head>
 <body>
 <p>This test makes sure that the complex text codepath can handle small caps with non-BMP characters which can be uppercased.</p>
-<div style="font-size: 100px; font-variant: small-caps">
+<div style="font: 100px 'Geneva'; font-variant: small-caps">
 <div style="position: absolute; left: 16px; top: 16px;">&#x642;&#x10428;</div>
 <div style="position: absolute; left: 116px; top: 16px;">&#x10428;&#x642;</div>
 <div style="position: absolute; left: 216px; top: 16px;">&#x642;&#x10428;&#x300;</div>
@@ -11,4 +11,4 @@
 </div>
 </div>
 </body>
-</html>
\ No newline at end of file
+</html>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to