Title: [201091] trunk/LayoutTests
Revision
201091
Author
mmaxfi...@apple.com
Date
2016-05-18 12:10:14 -0700 (Wed, 18 May 2016)

Log Message

[OS X] Update platform/mac/fast/text/sticky-typesetting-features.html
https://bugs.webkit.org/show_bug.cgi?id=157851

Reviewed by Simon Fraser.

Kerning and ligatures are enabled by default now.

* platform/mac/fast/text/sticky-typesetting-features-expected.png:
* platform/mac/fast/text/sticky-typesetting-features-expected.txt:
* platform/mac/fast/text/sticky-typesetting-features.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (201090 => 201091)


--- trunk/LayoutTests/ChangeLog	2016-05-18 19:06:27 UTC (rev 201090)
+++ trunk/LayoutTests/ChangeLog	2016-05-18 19:10:14 UTC (rev 201091)
@@ -1,3 +1,16 @@
+2016-05-18  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        [OS X] Update platform/mac/fast/text/sticky-typesetting-features.html
+        https://bugs.webkit.org/show_bug.cgi?id=157851
+
+        Reviewed by Simon Fraser.
+
+        Kerning and ligatures are enabled by default now.
+
+        * platform/mac/fast/text/sticky-typesetting-features-expected.png:
+        * platform/mac/fast/text/sticky-typesetting-features-expected.txt:
+        * platform/mac/fast/text/sticky-typesetting-features.html:
+
 2016-05-18  Simon Fraser  <simon.fra...@apple.com>
 
         REGRESSION (r200534) Command-+ no longer zooms pages 

Modified: trunk/LayoutTests/platform/mac/fast/text/sticky-typesetting-features-expected.png


(Binary files differ)

Modified: trunk/LayoutTests/platform/mac/fast/text/sticky-typesetting-features-expected.txt (201090 => 201091)


--- trunk/LayoutTests/platform/mac/fast/text/sticky-typesetting-features-expected.txt	2016-05-18 19:06:27 UTC (rev 201090)
+++ trunk/LayoutTests/platform/mac/fast/text/sticky-typesetting-features-expected.txt	2016-05-18 19:10:14 UTC (rev 201091)
@@ -1,17 +1,20 @@
 layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
+layer at (0,0) size 800x390
+  RenderBlock {HTML} at (0,0) size 800x390
+    RenderBody {BODY} at (8,16) size 784x366
       RenderBlock {P} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 351x18
-          text run at (0,0) width 351: "This should be rendered without kerning and ligatures:"
-      RenderBlock {DIV} at (0,34) size 784x166
-        RenderText {#text} at (0,0) size 754x166
-          text run at (0,0) width 754: "Office\x{301} Today"
-      RenderBlock {P} at (0,216) size 784x18
-        RenderText {#text} at (0,0) size 331x18
-          text run at (0,0) width 331: "This should be rendered with kerning and ligatures:"
-      RenderBlock {DIV} at (0,250) size 784x166
-        RenderText {#text} at (0,0) size 754x166
-          text run at (0,0) width 754: "Office Today"
+        RenderText {#text} at (0,0) size 464x18
+          text run at (0,0) width 464: "All of the following lines should be rendered with kerning and ligatures:"
+      RenderBlock {DIV} at (0,34) size 784x83
+        RenderText {#text} at (0,0) size 377x83
+          text run at (0,0) width 377: "Office\x{301} Today"
+      RenderBlock {DIV} at (0,117) size 784x83
+        RenderText {#text} at (0,0) size 377x83
+          text run at (0,0) width 377: "Office Today"
+      RenderBlock {DIV} at (0,200) size 784x83
+        RenderText {#text} at (0,0) size 377x83
+          text run at (0,0) width 377: "Office\x{301} Today"
+      RenderBlock {DIV} at (0,283) size 784x83
+        RenderText {#text} at (0,0) size 377x83
+          text run at (0,0) width 377: "Office Today"

Modified: trunk/LayoutTests/platform/mac/fast/text/sticky-typesetting-features.html (201090 => 201091)


--- trunk/LayoutTests/platform/mac/fast/text/sticky-typesetting-features.html	2016-05-18 19:06:27 UTC (rev 201090)
+++ trunk/LayoutTests/platform/mac/fast/text/sticky-typesetting-features.html	2016-05-18 19:10:14 UTC (rev 201091)
@@ -1,12 +1,20 @@
-<p>
-    This should be rendered without kerning and ligatures:
-</p>
-<div style="font-size: 144px;">
-    Office&#x0301; Today
-</div>
-<p>
-    This should be rendered with kerning and ligatures:
-</p>
-<div style="font-size: 144px; text-rendering: optimizelegibility">
-    Office Today
-</div>
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+.test {
+    font-size: 72px;
+}
+.legibility {
+    text-rendering: optimizeLegibility;
+}
+</style>
+</head>
+<body>
+<p>All of the following lines should be rendered with kerning and ligatures:</p>
+<div class="test">Office&#x0301; Today</div>
+<div class="test">Office Today</div>
+<div class="test legibility">Office&#x0301; Today</div>
+<div class="test legibility">Office Today</div>
+</body>
+</html>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to