<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[183662] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/183662">183662</a></dd>
<dt>Author</dt> <dd>dino@apple.com</dd>
<dt>Date</dt> <dd>2015-04-30 18:56:32 -0700 (Thu, 30 Apr 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Expose -apple-system as a font family
https://bugs.webkit.org/show_bug.cgi?id=144484
&lt;rdar://problem/20767330&gt;

Reviewed by Tim Horton.

Source/WebCore:

Accept &quot;-apple-system&quot; for the font-family property, and
rename &quot;-apple-system-font-monospaced-numbers&quot; to
&quot;-apple-system-monospaced-numbers&quot;.

Also change the media controls to use the new name.

Covered by existing tests and this new one:
    fast/text/system-font-legacy-name.html

* Modules/mediacontrols/mediaControlsApple.css:
(audio::-webkit-media-controls-time-remaining-display):
* Modules/mediacontrols/mediaControlsiOS.css:
(::-webkit-media-controls):
(audio::-webkit-media-controls-time-remaining-display):
(audio::-webkit-media-controls-status-display):
* platform/graphics/ios/FontCacheIOS.mm: Add support for the new name.
(WebCore::createCTFontWithFamilyNameAndWeight):
* platform/graphics/mac/FontCacheMac.mm: Ditto.
(WebCore::fontWithFamily):

LayoutTests:

Change a bunch of tests to use &quot;-apple-system&quot; instead
of &quot;-apple-system-font&quot; for font-family.

Add a test to make sure the old name still works.

* fast/text/system-font-legacy-name.html
* platform/ios-simulator/fast/text/system-monospaced-numbers.html:
* platform/ios-simulator/ios/fast/text/apple-logo-expected.txt:
* platform/ios-simulator/ios/fast/text/apple-logo.html:
* platform/ios-simulator/ios/fast/text/opticalFont-expected.txt:
* platform/ios-simulator/ios/fast/text/opticalFont.html:
* platform/ios-simulator/ios/fast/text/opticalFontWithWeight-expected.txt:
* platform/ios-simulator/ios/fast/text/opticalFontWithWeight.html:
* platform/ios-simulator/ios/fast/text/underline-scaling-expected.txt:
* platform/ios-simulator/ios/fast/text/underline-scaling.html:
* platform/mac/fast/text/systemFont-expected.txt:
* platform/mac/fast/text/systemFont.html:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorfasttextsystemmonospacednumbershtml">trunk/LayoutTests/platform/ios-simulator/fast/text/system-monospaced-numbers.html</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatoriosfasttextapplelogoexpectedtxt">trunk/LayoutTests/platform/ios-simulator/ios/fast/text/apple-logo-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatoriosfasttextapplelogohtml">trunk/LayoutTests/platform/ios-simulator/ios/fast/text/apple-logo.html</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatoriosfasttextopticalFontexpectedtxt">trunk/LayoutTests/platform/ios-simulator/ios/fast/text/opticalFont-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatoriosfasttextopticalFonthtml">trunk/LayoutTests/platform/ios-simulator/ios/fast/text/opticalFont.html</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatoriosfasttextopticalFontWithWeightexpectedtxt">trunk/LayoutTests/platform/ios-simulator/ios/fast/text/opticalFontWithWeight-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatoriosfasttextopticalFontWithWeighthtml">trunk/LayoutTests/platform/ios-simulator/ios/fast/text/opticalFontWithWeight.html</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatoriosfasttextunderlinescalingexpectedtxt">trunk/LayoutTests/platform/ios-simulator/ios/fast/text/underline-scaling-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatoriosfasttextunderlinescalinghtml">trunk/LayoutTests/platform/ios-simulator/ios/fast/text/underline-scaling.html</a></li>
<li><a href="#trunkLayoutTestsplatformmacfasttextsystemFontexpectedtxt">trunk/LayoutTests/platform/mac/fast/text/systemFont-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfasttextsystemFonthtml">trunk/LayoutTests/platform/mac/fast/text/systemFont.html</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesmediacontrolsmediaControlsApplecss">trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css</a></li>
<li><a href="#trunkSourceWebCoreModulesmediacontrolsmediaControlsiOScss">trunk/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.css</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicsiosFontCacheIOSmm">trunk/Source/WebCore/platform/graphics/ios/FontCacheIOS.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicsmacFontCacheMacmm">trunk/Source/WebCore/platform/graphics/mac/FontCacheMac.mm</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsfasttextsystemfontlegacynameexpectedtxt">trunk/LayoutTests/fast/text/system-font-legacy-name-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfasttextsystemfontlegacynamehtml">trunk/LayoutTests/fast/text/system-font-legacy-name.html</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (183661 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2015-05-01 01:38:27 UTC (rev 183661)
+++ trunk/LayoutTests/ChangeLog        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -1,3 +1,29 @@
</span><ins>+2015-04-30  Dean Jackson  &lt;dino@apple.com&gt;
+
+        Expose -apple-system as a font family
+        https://bugs.webkit.org/show_bug.cgi?id=144484
+        &lt;rdar://problem/20767330&gt;
+
+        Reviewed by Tim Horton.
+
+        Change a bunch of tests to use &quot;-apple-system&quot; instead
+        of &quot;-apple-system-font&quot; for font-family.
+
+        Add a test to make sure the old name still works.
+
+        * fast/text/system-font-legacy-name.html
+        * platform/ios-simulator/fast/text/system-monospaced-numbers.html:
+        * platform/ios-simulator/ios/fast/text/apple-logo-expected.txt:
+        * platform/ios-simulator/ios/fast/text/apple-logo.html:
+        * platform/ios-simulator/ios/fast/text/opticalFont-expected.txt:
+        * platform/ios-simulator/ios/fast/text/opticalFont.html:
+        * platform/ios-simulator/ios/fast/text/opticalFontWithWeight-expected.txt:
+        * platform/ios-simulator/ios/fast/text/opticalFontWithWeight.html:
+        * platform/ios-simulator/ios/fast/text/underline-scaling-expected.txt:
+        * platform/ios-simulator/ios/fast/text/underline-scaling.html:
+        * platform/mac/fast/text/systemFont-expected.txt:
+        * platform/mac/fast/text/systemFont.html:
+
</ins><span class="cx"> 2015-04-30  Javier Fernandez  &lt;jfernandez@igalia.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [CSS Grid Layout] overflow-position keyword for align and justify properties.
</span></span></pre></div>
<a id="trunkLayoutTestsfasttextsystemfontlegacynameexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/text/system-font-legacy-name-expected.txt (0 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text/system-font-legacy-name-expected.txt                                (rev 0)
+++ trunk/LayoutTests/fast/text/system-font-legacy-name-expected.txt        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+These next two lines should be the same width
+
+This is some text
+
+This is some text
+
+PASS: widths were the same
</ins><span class="cx">Property changes on: trunk/LayoutTests/fast/text/system-font-legacy-name-expected.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<a id="trunkLayoutTestsfasttextsystemfontlegacynamehtmlfromrev183661trunkLayoutTestsplatformiossimulatorfasttextsystemmonospacednumbershtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/text/system-font-legacy-name.html (from rev 183661, trunk/LayoutTests/platform/ios-simulator/fast/text/system-monospaced-numbers.html) (0 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text/system-font-legacy-name.html                                (rev 0)
+++ trunk/LayoutTests/fast/text/system-font-legacy-name.html        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -0,0 +1,38 @@
</span><ins>+&lt;style&gt;
+span {
+    font-size: 24px
+}
+
+#a {
+    font-family: -apple-system;
+}
+
+#b {
+    font-family: -apple-system-font;
+}
+&lt;/style&gt;
+&lt;script&gt;
+if (window.testRunner)
+    window.testRunner.dumpAsText();
+
+window.addEventListener(&quot;load&quot;, run, false);
+
+function run() {
+    var a = document.getElementById(&quot;a&quot;);
+    var b = document.getElementById(&quot;b&quot;);
+    var result = document.getElementById(&quot;result&quot;);
+
+    var aRect = a.getBoundingClientRect();
+    var bRect = b.getBoundingClientRect();
+
+    if (aRect.width == bRect.width)
+        result.textContent = &quot;PASS: widths were the same&quot;;
+    else
+        result.textContent = &quot;FAIL: widths were not the same&quot;;
+}
+&lt;/script&gt;
+&lt;p&gt;These next two lines should be the same width&lt;/p&gt;
+&lt;p&gt;&lt;span id=&quot;a&quot;&gt;This is some text&lt;/span&gt;&lt;/p&gt;
+&lt;p&gt;&lt;span id=&quot;b&quot;&gt;This is some text&lt;/span&gt;&lt;/p&gt;
+
+&lt;p id=&quot;result&quot;&gt;&lt;/p&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorfasttextsystemmonospacednumbershtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/fast/text/system-monospaced-numbers.html (183661 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/fast/text/system-monospaced-numbers.html        2015-05-01 01:38:27 UTC (rev 183661)
+++ trunk/LayoutTests/platform/ios-simulator/fast/text/system-monospaced-numbers.html        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> &lt;style&gt;
</span><span class="cx"> span {
</span><del>-    font-family: -apple-system-font-monospaced-numbers;
</del><ins>+    font-family: -apple-system-monospaced-numbers;
</ins><span class="cx">     font-size: 24px
</span><span class="cx"> }
</span><span class="cx"> &lt;/style&gt;
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatoriosfasttextapplelogoexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/ios/fast/text/apple-logo-expected.txt (183661 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/ios/fast/text/apple-logo-expected.txt        2015-05-01 01:38:27 UTC (rev 183661)
+++ trunk/LayoutTests/platform/ios-simulator/ios/fast/text/apple-logo-expected.txt        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -23,37 +23,37 @@
</span><span class="cx">           text run at (53,2) width 16: &quot;\x{F8FF}&quot;
</span><span class="cx">       RenderText {#text} at (68,5) size 5x19
</span><span class="cx">         text run at (68,5) width 5: &quot; &quot;
</span><del>-      RenderInline {SPAN} at (0,0) size 17x23
-        RenderText {#text} at (72,2) size 17x23
-          text run at (72,2) width 17: &quot;\x{F8FF}&quot;
-      RenderText {#text} at (88,5) size 5x19
-        text run at (88,5) width 5: &quot; &quot;
-      RenderInline {SPAN} at (0,0) size 17x23
-        RenderText {#text} at (92,2) size 17x23
-          text run at (92,2) width 17: &quot;\x{F8FF}&quot;
-      RenderText {#text} at (108,5) size 5x19
-        text run at (108,5) width 5: &quot; &quot;
-      RenderInline {SPAN} at (0,0) size 17x23
-        RenderText {#text} at (112,2) size 17x23
-          text run at (112,2) width 17: &quot;\x{F8FF}&quot;
-      RenderText {#text} at (128,5) size 5x19
-        text run at (128,5) width 5: &quot; &quot;
-      RenderInline {SPAN} at (0,0) size 13x20
-        RenderText {#text} at (132,4) size 13x20
-          text run at (132,4) width 13: &quot;\x{F8FF}&quot;
-      RenderText {#text} at (144,5) size 5x19
-        text run at (144,5) width 5: &quot; &quot;
-      RenderInline {SPAN} at (0,0) size 17x25
-        RenderText {#text} at (148,0) size 17x25
-          text run at (148,0) width 17: &quot;\x{F8FF}&quot;
-      RenderText {#text} at (164,5) size 5x19
-        text run at (164,5) width 5: &quot; &quot;
-      RenderInline {SPAN} at (0,0) size 17x25
-        RenderText {#text} at (168,0) size 17x25
-          text run at (168,0) width 17: &quot;\x{F8FF}&quot;
-      RenderText {#text} at (184,5) size 5x19
-        text run at (184,5) width 5: &quot; &quot;
-      RenderInline {SPAN} at (0,0) size 17x25
-        RenderText {#text} at (188,0) size 17x25
-          text run at (188,0) width 17: &quot;\x{F8FF}&quot;
</del><ins>+      RenderInline {SPAN} at (0,0) size 14x19
+        RenderText {#text} at (72,5) size 14x19
+          text run at (72,5) width 14: &quot;\x{F8FF}&quot;
+      RenderText {#text} at (85,5) size 5x19
+        text run at (85,5) width 5: &quot; &quot;
+      RenderInline {SPAN} at (0,0) size 14x19
+        RenderText {#text} at (89,5) size 14x19
+          text run at (89,5) width 14: &quot;\x{F8FF}&quot;
+      RenderText {#text} at (102,5) size 5x19
+        text run at (102,5) width 5: &quot; &quot;
+      RenderInline {SPAN} at (0,0) size 16x23
+        RenderText {#text} at (106,2) size 16x23
+          text run at (106,2) width 16: &quot;\x{F8FF}&quot;
+      RenderText {#text} at (121,5) size 5x19
+        text run at (121,5) width 5: &quot; &quot;
+      RenderInline {SPAN} at (0,0) size 16x20
+        RenderText {#text} at (125,4) size 16x20
+          text run at (125,4) width 16: &quot;\x{F8FF}&quot;
+      RenderText {#text} at (140,5) size 5x19
+        text run at (140,5) width 5: &quot; &quot;
+      RenderInline {SPAN} at (0,0) size 20x25
+        RenderText {#text} at (144,0) size 20x25
+          text run at (144,0) width 20: &quot;\x{F8FF}&quot;
+      RenderText {#text} at (163,5) size 5x19
+        text run at (163,5) width 5: &quot; &quot;
+      RenderInline {SPAN} at (0,0) size 20x25
+        RenderText {#text} at (167,0) size 20x25
+          text run at (167,0) width 20: &quot;\x{F8FF}&quot;
+      RenderText {#text} at (186,5) size 5x19
+        text run at (186,5) width 5: &quot; &quot;
+      RenderInline {SPAN} at (0,0) size 16x25
+        RenderText {#text} at (190,0) size 16x25
+          text run at (190,0) width 16: &quot;\x{F8FF}&quot;
</ins><span class="cx">       RenderText {#text} at (0,0) size 0x0
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatoriosfasttextapplelogohtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/ios/fast/text/apple-logo.html (183661 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/ios/fast/text/apple-logo.html        2015-05-01 01:38:27 UTC (rev 183661)
+++ trunk/LayoutTests/platform/ios-simulator/ios/fast/text/apple-logo.html        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -7,7 +7,7 @@
</span><span class="cx"> &lt;span style=&quot;font-size: 20px; font: -apple-system-body; font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt;
</span><span class="cx"> &lt;span style=&quot;font-size: 20px; font: -apple-system-body; font-family: 'Times New Roman'; font-style: italic;&quot;&gt;&lt;/span&gt;
</span><span class="cx"> &lt;span style=&quot;font: -apple-system-body; font-size: 20px; font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt;
</span><del>-&lt;span style=&quot;font-family: -apple-system-font;&quot;&gt;&lt;/span&gt;
-&lt;span style=&quot;font-size: 20px; font-family: -apple-system-font;&quot;&gt;&lt;/span&gt;
-&lt;span style=&quot;font-size: 20px; font-family: -apple-system-font; font-weight: bold&quot;&gt;&lt;/span&gt;
-&lt;span style=&quot;font-size: 20px; font-family: -apple-system-font; font-style: italic&quot;&gt;&lt;/span&gt;
</del><ins>+&lt;span style=&quot;font-family: -apple-system;&quot;&gt;&lt;/span&gt;
+&lt;span style=&quot;font-size: 20px; font-family: -apple-system;&quot;&gt;&lt;/span&gt;
+&lt;span style=&quot;font-size: 20px; font-family: -apple-system; font-weight: bold&quot;&gt;&lt;/span&gt;
+&lt;span style=&quot;font-size: 20px; font-family: -apple-system; font-style: italic&quot;&gt;&lt;/span&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatoriosfasttextopticalFontexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/ios/fast/text/opticalFont-expected.txt (183661 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/ios/fast/text/opticalFont-expected.txt        2015-05-01 01:38:27 UTC (rev 183661)
+++ trunk/LayoutTests/platform/ios-simulator/ios/fast/text/opticalFont-expected.txt        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -1,60 +1,56 @@
</span><del>-layer at (0,0) size 800x1349
</del><ins>+layer at (0,0) size 800x1152
</ins><span class="cx">   RenderView at (0,0) size 800x600
</span><del>-layer at (0,0) size 800x1349
-  RenderBlock {HTML} at (0,0) size 800x1349
-    RenderBody {BODY} at (8,8) size 784x1333
</del><ins>+layer at (0,0) size 800x1152
+  RenderBlock {HTML} at (0,0) size 800x1152
+    RenderBody {BODY} at (8,8) size 784x1136
</ins><span class="cx">       RenderBlock {DIV} at (0,0) size 784x29
</span><del>-        RenderText {#text} at (0,0) size 395x29
-          text run at (0,0) width 395: &quot;This is a test for -webkit-system-font&quot;
-      RenderBlock {DIV} at (0,29) size 784x58
-        RenderText {#text} at (0,0) size 744x58
-          text run at (0,0) width 744: &quot;This is a test for -apple-system-font. It should be the same as the line&quot;
-          text run at (0,29) width 73: &quot;above.&quot;
-      RenderBlock {DIV} at (0,87) size 784x74
-        RenderText {#text} at (0,0) size 710x74
-          text run at (0,0) width 710: &quot;This is a test for -webkit-system-font, using the 'font'&quot;
-          text run at (0,37) width 114: &quot;property&quot;
-      RenderBlock {DIV} at (0,161) size 784x74
-        RenderText {#text} at (0,0) size 696x74
-          text run at (0,0) width 696: &quot;This is a test for -apple-system-font, using the 'font'&quot;
-          text run at (0,37) width 114: &quot;property&quot;
-      RenderBlock {DIV} at (0,235) size 784x29
-        RenderInline {B} at (0,0) size 548x29
-          RenderText {#text} at (0,0) size 548x29
-            text run at (0,0) width 548: &quot;This is a test for -webkit-system-font in bold form&quot;
-      RenderBlock {DIV} at (0,264) size 784x29
-        RenderInline {I} at (0,0) size 528x29
-          RenderText {#text} at (0,0) size 528x29
-            text run at (0,0) width 528: &quot;This is a test for -webkit-system-font in italic form&quot;
-      RenderBlock {DIV} at (0,293) size 784x37
-        RenderText {#text} at (0,0) size 663x37
-          text run at (0,0) width 663: &quot;This is a test for -webkit-system-font at size 30px&quot;
-      RenderBlock {DIV} at (0,330) size 784x88
-        RenderText {#text} at (0,0) size 705x88
-          text run at (0,0) width 705: &quot;This is a test for -webkit-system-font at size&quot;
-          text run at (0,44) width 81: &quot;36px&quot;
-      RenderBlock {DIV} at (0,418) size 784x102
-        RenderText {#text} at (0,0) size 738x102
-          text run at (0,0) width 738: &quot;This is a test for -webkit-system-font at&quot;
-          text run at (0,51) width 179: &quot;size 42px&quot;
-      RenderBlock {DIV} at (0,520) size 784x116
-        RenderText {#text} at (0,0) size 705x116
-          text run at (0,0) width 705: &quot;This is a test for -webkit-system-&quot;
-          text run at (0,58) width 355: &quot;font at size 48px&quot;
-      RenderBlock {DIV} at (0,636) size 784x132
-        RenderText {#text} at (0,0) size 600x132
-          text run at (0,0) width 600: &quot;This is a test for -webkit-&quot;
-          text run at (0,66) width 594: &quot;system-font at size 54px&quot;
-      RenderBlock {DIV} at (0,768) size 784x146
-        RenderText {#text} at (0,0) size 666x146
-          text run at (0,0) width 666: &quot;This is a test for -webkit-&quot;
-          text run at (0,73) width 659: &quot;system-font at size 60px&quot;
-      RenderBlock {DIV} at (0,914) size 784x158
-        RenderText {#text} at (0,0) size 733x158
-          text run at (0,0) width 733: &quot;This is a test for -webkit-&quot;
-          text run at (0,79) width 725: &quot;system-font at size 66px&quot;
-      RenderBlock {DIV} at (0,1072) size 784x261
-        RenderText {#text} at (0,0) size 706x261
-          text run at (0,0) width 559: &quot;This is a test for -&quot;
-          text run at (0,87) width 706: &quot;webkit-system-font at&quot;
-          text run at (0,174) width 306: &quot;size 72px&quot;
</del><ins>+        RenderText {#text} at (0,0) size 392x29
+          text run at (0,0) width 392: &quot;This is a test for -webkit-system-font&quot;
+      RenderBlock {DIV} at (0,29) size 784x29
+        RenderText {#text} at (0,0) size 765x29
+          text run at (0,0) width 765: &quot;This is a test for -apple-system. It should be the same as the line above.&quot;
+      RenderBlock {DIV} at (0,58) size 784x74
+        RenderText {#text} at (0,0) size 699x74
+          text run at (0,0) width 699: &quot;This is a test for -webkit-system-font, using the 'font'&quot;
+          text run at (0,37) width 113: &quot;property&quot;
+      RenderBlock {DIV} at (0,132) size 784x37
+        RenderText {#text} at (0,0) size 742x37
+          text run at (0,0) width 742: &quot;This is a test for -apple-system, using the 'font' property&quot;
+      RenderBlock {DIV} at (0,169) size 784x29
+        RenderInline {B} at (0,0) size 551x29
+          RenderText {#text} at (0,0) size 551x29
+            text run at (0,0) width 551: &quot;This is a test for -webkit-system-font in bold form&quot;
+      RenderBlock {DIV} at (0,198) size 784x29
+        RenderInline {I} at (0,0) size 512x29
+          RenderText {#text} at (0,0) size 512x29
+            text run at (0,0) width 512: &quot;This is a test for -webkit-system-font in italic form&quot;
+      RenderBlock {DIV} at (0,227) size 784x37
+        RenderText {#text} at (0,0) size 655x37
+          text run at (0,0) width 655: &quot;This is a test for -webkit-system-font at size 30px&quot;
+      RenderBlock {DIV} at (0,264) size 784x44
+        RenderText {#text} at (0,0) size 782x44
+          text run at (0,0) width 782: &quot;This is a test for -webkit-system-font at size 36px&quot;
+      RenderBlock {DIV} at (0,308) size 784x102
+        RenderText {#text} at (0,0) size 721x102
+          text run at (0,0) width 721: &quot;This is a test for -webkit-system-font at&quot;
+          text run at (0,51) width 176: &quot;size 42px&quot;
+      RenderBlock {DIV} at (0,410) size 784x116
+        RenderText {#text} at (0,0) size 769x116
+          text run at (0,0) width 769: &quot;This is a test for -webkit-system-font&quot;
+          text run at (0,58) width 255: &quot;at size 48px&quot;
+      RenderBlock {DIV} at (0,526) size 784x132
+        RenderText {#text} at (0,0) size 769x132
+          text run at (0,0) width 769: &quot;This is a test for -webkit-system-&quot;
+          text run at (0,66) width 390: &quot;font at size 54px&quot;
+      RenderBlock {DIV} at (0,658) size 784x146
+        RenderText {#text} at (0,0) size 642x146
+          text run at (0,0) width 642: &quot;This is a test for -webkit-&quot;
+          text run at (0,73) width 642: &quot;system-font at size 60px&quot;
+      RenderBlock {DIV} at (0,804) size 784x158
+        RenderText {#text} at (0,0) size 704x158
+          text run at (0,0) width 704: &quot;This is a test for -webkit-&quot;
+          text run at (0,79) width 703: &quot;system-font at size 66px&quot;
+      RenderBlock {DIV} at (0,962) size 784x174
+        RenderText {#text} at (0,0) size 766x174
+          text run at (0,0) width 766: &quot;This is a test for -webkit-&quot;
+          text run at (0,87) width 759: &quot;system-font at size 72px&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatoriosfasttextopticalFonthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/ios/fast/text/opticalFont.html (183661 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/ios/fast/text/opticalFont.html        2015-05-01 01:38:27 UTC (rev 183661)
+++ trunk/LayoutTests/platform/ios-simulator/ios/fast/text/opticalFont.html        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -1,8 +1,8 @@
</span><span class="cx"> &lt;body&gt;
</span><span class="cx">     &lt;div style=&quot;font-family: -webkit-system-font; font-size: 24px&quot;&gt;This is a test for -webkit-system-font&lt;/div&gt;
</span><del>-    &lt;div style=&quot;font-family: -apple-system-font; font-size: 24px&quot;&gt;This is a test for -apple-system-font. It should be the same as the line above.&lt;/div&gt;
</del><ins>+    &lt;div style=&quot;font-family: -apple-system; font-size: 24px&quot;&gt;This is a test for -apple-system. It should be the same as the line above.&lt;/div&gt;
</ins><span class="cx">     &lt;div style=&quot;font: 30.0px -webkit-system-font&quot;&gt;This is a test for -webkit-system-font, using the 'font' property&lt;/div&gt;
</span><del>-    &lt;div style=&quot;font: 30px -apple-system-font&quot;&gt;This is a test for -apple-system-font, using the 'font' property&lt;/div&gt;
</del><ins>+    &lt;div style=&quot;font: 30px -apple-system&quot;&gt;This is a test for -apple-system, using the 'font' property&lt;/div&gt;
</ins><span class="cx">     &lt;div style=&quot;font-family: -webkit-system-font; font-size: 24px&quot;&gt;&lt;b&gt;This is a test for -webkit-system-font in bold form&lt;/b&gt;&lt;/div&gt;
</span><span class="cx">     &lt;div style=&quot;font-family: -webkit-system-font; font-size: 24px&quot;&gt;&lt;i&gt;This is a test for -webkit-system-font in italic form&lt;/i&gt;&lt;/div&gt;
</span><span class="cx">     &lt;div style=&quot;font-family: -webkit-system-font; font-size: 30px&quot;&gt;This is a test for -webkit-system-font at size 30px&lt;/div&gt;
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatoriosfasttextopticalFontWithWeightexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/ios/fast/text/opticalFontWithWeight-expected.txt (183661 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/ios/fast/text/opticalFontWithWeight-expected.txt        2015-05-01 01:38:27 UTC (rev 183661)
+++ trunk/LayoutTests/platform/ios-simulator/ios/fast/text/opticalFontWithWeight-expected.txt        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -1,71 +1,71 @@
</span><del>-layer at (0,0) size 800x992
</del><ins>+layer at (0,0) size 800x822
</ins><span class="cx">   RenderView at (0,0) size 800x600
</span><del>-layer at (0,0) size 800x992
-  RenderBlock {HTML} at (0,0) size 800x993
-    RenderBody {BODY} at (8,8) size 784x969
-      RenderBlock {H2} at (0,0) size 784x30
-        RenderText {#text} at (0,0) size 165x29
-          text run at (0,0) width 165: &quot;Normal Weight&quot;
-      RenderBlock {P} at (0,49) size 784x21
-        RenderText {#text} at (0,0) size 666x20
-          text run at (0,0) width 666: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
-      RenderBlock {H2} at (0,89) size 784x31
-        RenderText {#text} at (0,0) size 125x29
-          text run at (0,0) width 125: &quot;100 Weight&quot;
-      RenderBlock {P} at (0,139) size 784x21
-        RenderText {#text} at (0,0) size 590x20
-          text run at (0,0) width 590: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
-      RenderBlock {H2} at (0,179) size 784x31
-        RenderText {#text} at (0,0) size 125x29
-          text run at (0,0) width 125: &quot;200 Weight&quot;
-      RenderBlock {P} at (0,229) size 784x21
-        RenderText {#text} at (0,0) size 617x20
-          text run at (0,0) width 617: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
-      RenderBlock {H2} at (0,269) size 784x31
-        RenderText {#text} at (0,0) size 125x29
-          text run at (0,0) width 125: &quot;300 Weight&quot;
-      RenderBlock {P} at (0,319) size 784x21
-        RenderText {#text} at (0,0) size 640x20
-          text run at (0,0) width 640: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
-      RenderBlock {H2} at (0,359) size 784x31
-        RenderText {#text} at (0,0) size 125x29
-          text run at (0,0) width 125: &quot;400 Weight&quot;
-      RenderBlock {P} at (0,409) size 784x21
-        RenderText {#text} at (0,0) size 666x20
-          text run at (0,0) width 666: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
-      RenderBlock {H2} at (0,449) size 784x31
-        RenderText {#text} at (0,0) size 125x29
-          text run at (0,0) width 125: &quot;500 Weight&quot;
-      RenderBlock {P} at (0,498) size 784x21
-        RenderText {#text} at (0,0) size 666x20
-          text run at (0,0) width 666: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
-      RenderBlock {H2} at (0,538) size 784x31
-        RenderText {#text} at (0,0) size 137x29
-          text run at (0,0) width 137: &quot;Bold Weight&quot;
-      RenderBlock {P} at (0,588) size 784x21
-        RenderText {#text} at (0,0) size 688x20
-          text run at (0,0) width 688: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
-      RenderBlock {H2} at (0,628) size 784x31
-        RenderText {#text} at (0,0) size 125x29
-          text run at (0,0) width 125: &quot;600 Weight&quot;
-      RenderBlock {P} at (0,678) size 784x21
-        RenderText {#text} at (0,0) size 688x20
-          text run at (0,0) width 688: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
-      RenderBlock {H2} at (0,718) size 784x31
-        RenderText {#text} at (0,0) size 125x29
-          text run at (0,0) width 125: &quot;700 Weight&quot;
-      RenderBlock {P} at (0,768) size 784x21
-        RenderText {#text} at (0,0) size 688x20
-          text run at (0,0) width 688: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
-      RenderBlock {H2} at (0,808) size 784x31
-        RenderText {#text} at (0,0) size 125x29
-          text run at (0,0) width 125: &quot;800 Weight&quot;
-      RenderBlock {P} at (0,858) size 784x21
-        RenderText {#text} at (0,0) size 688x20
-          text run at (0,0) width 688: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
-      RenderBlock {H2} at (0,898) size 784x31
-        RenderText {#text} at (0,0) size 125x29
-          text run at (0,0) width 125: &quot;900 Weight&quot;
-      RenderBlock {P} at (0,948) size 784x21
-        RenderText {#text} at (0,0) size 688x20
-          text run at (0,0) width 688: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
</del><ins>+layer at (0,0) size 800x822
+  RenderBlock {HTML} at (0,0) size 800x822
+    RenderBody {BODY} at (8,8) size 784x798
+      RenderBlock {H2} at (0,0) size 784x22
+        RenderText {#text} at (0,1) size 113x20
+          text run at (0,1) width 113: &quot;Normal Weight&quot;
+      RenderBlock {P} at (0,38) size 784x20
+        RenderText {#text} at (0,0) size 671x20
+          text run at (0,0) width 671: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
+      RenderBlock {H2} at (0,74) size 784x22
+        RenderText {#text} at (0,1) size 86x20
+          text run at (0,1) width 86: &quot;100 Weight&quot;
+      RenderBlock {P} at (0,112) size 784x20
+        RenderText {#text} at (0,0) size 662x20
+          text run at (0,0) width 662: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
+      RenderBlock {H2} at (0,148) size 784x22
+        RenderText {#text} at (0,1) size 88x20
+          text run at (0,1) width 88: &quot;200 Weight&quot;
+      RenderBlock {P} at (0,186) size 784x20
+        RenderText {#text} at (0,0) size 662x20
+          text run at (0,0) width 662: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
+      RenderBlock {H2} at (0,222) size 784x22
+        RenderText {#text} at (0,1) size 89x20
+          text run at (0,1) width 89: &quot;300 Weight&quot;
+      RenderBlock {P} at (0,260) size 784x20
+        RenderText {#text} at (0,0) size 662x20
+          text run at (0,0) width 662: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
+      RenderBlock {H2} at (0,296) size 784x22
+        RenderText {#text} at (0,1) size 89x20
+          text run at (0,1) width 89: &quot;400 Weight&quot;
+      RenderBlock {P} at (0,334) size 784x20
+        RenderText {#text} at (0,0) size 671x20
+          text run at (0,0) width 671: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
+      RenderBlock {H2} at (0,370) size 784x22
+        RenderText {#text} at (0,1) size 89x20
+          text run at (0,1) width 89: &quot;500 Weight&quot;
+      RenderBlock {P} at (0,408) size 784x20
+        RenderText {#text} at (0,0) size 671x20
+          text run at (0,0) width 671: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
+      RenderBlock {H2} at (0,444) size 784x22
+        RenderText {#text} at (0,1) size 92x20
+          text run at (0,1) width 92: &quot;Bold Weight&quot;
+      RenderBlock {P} at (0,482) size 784x20
+        RenderText {#text} at (0,0) size 701x20
+          text run at (0,0) width 701: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
+      RenderBlock {H2} at (0,518) size 784x22
+        RenderText {#text} at (0,1) size 89x20
+          text run at (0,1) width 89: &quot;600 Weight&quot;
+      RenderBlock {P} at (0,556) size 784x20
+        RenderText {#text} at (0,0) size 701x20
+          text run at (0,0) width 701: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
+      RenderBlock {H2} at (0,592) size 784x22
+        RenderText {#text} at (0,1) size 88x20
+          text run at (0,1) width 88: &quot;700 Weight&quot;
+      RenderBlock {P} at (0,630) size 784x20
+        RenderText {#text} at (0,0) size 701x20
+          text run at (0,0) width 701: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
+      RenderBlock {H2} at (0,666) size 784x22
+        RenderText {#text} at (0,1) size 89x20
+          text run at (0,1) width 89: &quot;800 Weight&quot;
+      RenderBlock {P} at (0,704) size 784x20
+        RenderText {#text} at (0,0) size 701x20
+          text run at (0,0) width 701: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
+      RenderBlock {H2} at (0,740) size 784x22
+        RenderText {#text} at (0,1) size 89x20
+          text run at (0,1) width 89: &quot;900 Weight&quot;
+      RenderBlock {P} at (0,778) size 784x20
+        RenderText {#text} at (0,0) size 701x20
+          text run at (0,0) width 701: &quot;Body Text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ornare ornare mi&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatoriosfasttextopticalFontWithWeighthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/ios/fast/text/opticalFontWithWeight.html (183661 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/ios/fast/text/opticalFontWithWeight.html        2015-05-01 01:38:27 UTC (rev 183661)
+++ trunk/LayoutTests/platform/ios-simulator/ios/fast/text/opticalFontWithWeight.html        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -6,7 +6,7 @@
</span><span class="cx">             font: -apple-system-headline;
</span><span class="cx">         }
</span><span class="cx">         p {
</span><del>-            font-family: -apple-system-font;
</del><ins>+            font-family: -apple-system;
</ins><span class="cx">         }
</span><span class="cx">         &lt;/style&gt;
</span><span class="cx">     &lt;/head&gt;
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatoriosfasttextunderlinescalingexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/ios/fast/text/underline-scaling-expected.txt (183661 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/ios/fast/text/underline-scaling-expected.txt        2015-05-01 01:38:27 UTC (rev 183661)
+++ trunk/LayoutTests/platform/ios-simulator/ios/fast/text/underline-scaling-expected.txt        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -4,29 +4,29 @@
</span><span class="cx">   RenderBlock {HTML} at (0,0) size 800x284
</span><span class="cx">     RenderBody {BODY} at (8,8) size 784x268
</span><span class="cx">       RenderBlock {P} at (0,0) size 784x20
</span><del>-        RenderText {#text} at (0,0) size 132x20
-          text run at (0,0) width 132: &quot;font-size is default&quot;
</del><ins>+        RenderText {#text} at (0,0) size 135x20
+          text run at (0,0) width 135: &quot;font-size is default&quot;
</ins><span class="cx">       RenderBlock {P} at (0,20) size 784x10
</span><del>-        RenderText {#text} at (0,0) size 55x10
-          text run at (0,0) width 55: &quot;font-size is 8px&quot;
</del><ins>+        RenderText {#text} at (0,0) size 62x10
+          text run at (0,0) width 62: &quot;font-size is 8px&quot;
</ins><span class="cx">       RenderBlock {P} at (0,30) size 784x15
</span><del>-        RenderText {#text} at (0,0) size 89x15
-          text run at (0,0) width 89: &quot;font-size is 12px&quot;
</del><ins>+        RenderText {#text} at (0,0) size 93x15
+          text run at (0,0) width 93: &quot;font-size is 12px&quot;
</ins><span class="cx">       RenderBlock {P} at (0,45) size 784x20
</span><del>-        RenderText {#text} at (0,0) size 118x20
-          text run at (0,0) width 118: &quot;font-size is 16px&quot;
</del><ins>+        RenderText {#text} at (0,0) size 119x20
+          text run at (0,0) width 119: &quot;font-size is 16px&quot;
</ins><span class="cx">       RenderBlock {P} at (0,65) size 784x25
</span><del>-        RenderText {#text} at (0,0) size 148x25
-          text run at (0,0) width 148: &quot;font-size is 20px&quot;
</del><ins>+        RenderText {#text} at (0,0) size 149x25
+          text run at (0,0) width 149: &quot;font-size is 20px&quot;
</ins><span class="cx">       RenderBlock {P} at (0,90) size 784x29
</span><span class="cx">         RenderText {#text} at (0,0) size 177x29
</span><span class="cx">           text run at (0,0) width 177: &quot;font-size is 24px&quot;
</span><span class="cx">       RenderBlock {P} at (0,119) size 784x39
</span><del>-        RenderText {#text} at (0,0) size 236x39
-          text run at (0,0) width 236: &quot;font-size is 32px&quot;
</del><ins>+        RenderText {#text} at (0,0) size 234x39
+          text run at (0,0) width 234: &quot;font-size is 32px&quot;
</ins><span class="cx">       RenderBlock {P} at (0,158) size 784x49
</span><del>-        RenderText {#text} at (0,0) size 295x49
-          text run at (0,0) width 295: &quot;font-size is 40px&quot;
</del><ins>+        RenderText {#text} at (0,0) size 293x49
+          text run at (0,0) width 293: &quot;font-size is 40px&quot;
</ins><span class="cx">       RenderBlock {P} at (0,207) size 784x61
</span><del>-        RenderText {#text} at (0,0) size 369x61
-          text run at (0,0) width 369: &quot;font-size is 50px&quot;
</del><ins>+        RenderText {#text} at (0,0) size 363x61
+          text run at (0,0) width 363: &quot;font-size is 50px&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatoriosfasttextunderlinescalinghtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/ios/fast/text/underline-scaling.html (183661 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/ios/fast/text/underline-scaling.html        2015-05-01 01:38:27 UTC (rev 183661)
+++ trunk/LayoutTests/platform/ios-simulator/ios/fast/text/underline-scaling.html        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx">         &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
</span><span class="cx">         &lt;style&gt;
</span><span class="cx">         p {
</span><del>-            font-family: -apple-system-font;
</del><ins>+            font-family: -apple-system;
</ins><span class="cx">             text-decoration: underline;
</span><span class="cx">             margin-top: 0;
</span><span class="cx">             margin-bottom: 0;
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfasttextsystemFontexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/fast/text/systemFont-expected.txt (183661 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/text/systemFont-expected.txt        2015-05-01 01:38:27 UTC (rev 183661)
+++ trunk/LayoutTests/platform/mac/fast/text/systemFont-expected.txt        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -1,8 +1,8 @@
</span><del>-layer at (0,0) size 785x2092
</del><ins>+layer at (0,0) size 785x2036
</ins><span class="cx">   RenderView at (0,0) size 785x600
</span><del>-layer at (0,0) size 785x2092
-  RenderBlock {HTML} at (0,0) size 785x2092
-    RenderBody {BODY} at (8,8) size 769x2076
</del><ins>+layer at (0,0) size 785x2036
+  RenderBlock {HTML} at (0,0) size 785x2036
+    RenderBody {BODY} at (8,8) size 769x2020
</ins><span class="cx">       RenderBlock {DIV} at (0,0) size 769x897
</span><span class="cx">         RenderBlock {DIV} at (0,0) size 769x28
</span><span class="cx">           RenderText {#text} at (0,0) size 438x28
</span><span class="lines">@@ -41,58 +41,57 @@
</span><span class="cx">           RenderText {#text} at (0,0) size 762x170
</span><span class="cx">             text run at (0,0) width 551: &quot;This is a test for -&quot;
</span><span class="cx">             text run at (0,85) width 762: &quot;webkit-system-font font&quot;
</span><del>-      RenderBlock {DIV} at (0,897) size 769x897
</del><ins>+      RenderBlock {DIV} at (0,897) size 769x841
</ins><span class="cx">         RenderBlock {DIV} at (0,0) size 769x28
</span><del>-          RenderText {#text} at (0,0) size 427x28
-            text run at (0,0) width 427: &quot;This is a test for -apple-system-font font&quot;
</del><ins>+          RenderText {#text} at (0,0) size 376x28
+            text run at (0,0) width 376: &quot;This is a test for -apple-system font&quot;
</ins><span class="cx">         RenderBlock {DIV} at (0,28) size 769x35
</span><del>-          RenderText {#text} at (0,0) size 533x35
-            text run at (0,0) width 533: &quot;This is a test for -apple-system-font font&quot;
</del><ins>+          RenderText {#text} at (0,0) size 470x35
+            text run at (0,0) width 470: &quot;This is a test for -apple-system font&quot;
</ins><span class="cx">         RenderBlock {DIV} at (0,63) size 769x35
</span><del>-          RenderText {#text} at (0,0) size 533x35
-            text run at (0,0) width 533: &quot;This is a test for -apple-system-font font&quot;
</del><ins>+          RenderText {#text} at (0,0) size 470x35
+            text run at (0,0) width 470: &quot;This is a test for -apple-system font&quot;
</ins><span class="cx">         RenderBlock {DIV} at (0,98) size 769x43
</span><del>-          RenderInline {B} at (0,0) size 686x43
-            RenderText {#text} at (0,0) size 686x43
-              text run at (0,0) width 686: &quot;This is a test for -apple-system-font font&quot;
</del><ins>+          RenderInline {B} at (0,0) size 604x43
+            RenderText {#text} at (0,0) size 604x43
+              text run at (0,0) width 604: &quot;This is a test for -apple-system font&quot;
</ins><span class="cx">         RenderBlock {DIV} at (0,141) size 769x50
</span><del>-          RenderInline {I} at (0,0) size 747x50
-            RenderText {#text} at (0,0) size 747x50
-              text run at (0,0) width 747: &quot;This is a test for -apple-system-font font&quot;
-        RenderBlock {DIV} at (0,191) size 769x112
-          RenderText {#text} at (0,0) size 758x112
-            text run at (0,0) width 758: &quot;This is a test for -apple-system-font&quot;
-            text run at (0,56) width 83: &quot;font&quot;
-        RenderBlock {DIV} at (0,303) size 769x126
-          RenderText {#text} at (0,0) size 759x126
-            text run at (0,0) width 759: &quot;This is a test for -apple-system-&quot;
-            text run at (0,63) width 201: &quot;font font&quot;
-        RenderBlock {DIV} at (0,429) size 769x142
</del><ins>+          RenderInline {I} at (0,0) size 658x50
+            RenderText {#text} at (0,0) size 658x50
+              text run at (0,0) width 658: &quot;This is a test for -apple-system font&quot;
+        RenderBlock {DIV} at (0,191) size 769x56
+          RenderText {#text} at (0,0) size 752x56
+            text run at (0,0) width 752: &quot;This is a test for -apple-system font&quot;
+        RenderBlock {DIV} at (0,247) size 769x126
+          RenderText {#text} at (0,0) size 739x126
+            text run at (0,0) width 739: &quot;This is a test for -apple-system&quot;
+            text run at (0,63) width 93: &quot;font&quot;
+        RenderBlock {DIV} at (0,373) size 769x142
</ins><span class="cx">           RenderText {#text} at (0,0) size 630x142
</span><span class="cx">             text run at (0,0) width 630: &quot;This is a test for -apple-&quot;
</span><del>-            text run at (0,71) width 437: &quot;system-font font&quot;
-        RenderBlock {DIV} at (0,571) size 769x156
</del><ins>+            text run at (0,71) width 311: &quot;system font&quot;
+        RenderBlock {DIV} at (0,515) size 769x156
</ins><span class="cx">           RenderText {#text} at (0,0) size 693x156
</span><span class="cx">             text run at (0,0) width 693: &quot;This is a test for -apple-&quot;
</span><del>-            text run at (0,78) width 481: &quot;system-font font&quot;
-        RenderBlock {DIV} at (0,727) size 769x170
</del><ins>+            text run at (0,78) width 342: &quot;system font&quot;
+        RenderBlock {DIV} at (0,671) size 769x170
</ins><span class="cx">           RenderText {#text} at (0,0) size 756x170
</span><span class="cx">             text run at (0,0) width 756: &quot;This is a test for -apple-&quot;
</span><del>-            text run at (0,85) width 525: &quot;system-font font&quot;
-      RenderBlock {DIV} at (0,1794) size 769x282
</del><ins>+            text run at (0,85) width 373: &quot;system font&quot;
+      RenderBlock {DIV} at (0,1738) size 769x282
</ins><span class="cx">         RenderBlock {DIV} at (0,0) size 769x56
</span><del>-          RenderText {#text} at (0,0) size 695x56
-            text run at (0,0) width 695: &quot;This is a test for -apple-system-font-monospaced-numbers font -&quot;
</del><ins>+          RenderText {#text} at (0,0) size 644x56
+            text run at (0,0) width 644: &quot;This is a test for -apple-system-monospaced-numbers font -&quot;
</ins><span class="cx">             text run at (0,28) width 126: &quot;00:11:22:33&quot;
</span><span class="cx">         RenderBlock {DIV} at (0,56) size 769x70
</span><del>-          RenderText {#text} at (0,0) size 672x70
-            text run at (0,0) width 672: &quot;This is a test for -apple-system-font-monospaced-&quot;
-            text run at (0,35) width 362: &quot;numbers font - 00:11:22:33&quot;
</del><ins>+          RenderText {#text} at (0,0) size 726x70
+            text run at (0,0) width 726: &quot;This is a test for -apple-system-monospaced-numbers&quot;
+            text run at (0,35) width 237: &quot;font - 00:11:22:33&quot;
</ins><span class="cx">         RenderBlock {DIV} at (0,126) size 769x70
</span><del>-          RenderText {#text} at (0,0) size 672x70
-            text run at (0,0) width 672: &quot;This is a test for -apple-system-font-monospaced-&quot;
-            text run at (0,35) width 362: &quot;numbers font - 00:11:22:33&quot;
</del><ins>+          RenderText {#text} at (0,0) size 726x70
+            text run at (0,0) width 726: &quot;This is a test for -apple-system-monospaced-numbers&quot;
+            text run at (0,35) width 237: &quot;font - 00:11:22:33&quot;
</ins><span class="cx">         RenderBlock {DIV} at (0,196) size 769x86
</span><del>-          RenderText {#text} at (0,0) size 658x86
-            text run at (0,0) width 582: &quot;This is a test for -apple-system-font-&quot;
-            text run at (0,43) width 658: &quot;monospaced-numbers font - 00:11:22:33&quot;
</del><ins>+          RenderText {#text} at (0,0) size 730x86
+            text run at (0,0) width 730: &quot;This is a test for -apple-system-monospaced-&quot;
+            text run at (0,43) width 434: &quot;numbers font - 00:11:22:33&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformmacfasttextsystemFonthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/fast/text/systemFont.html (183661 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/text/systemFont.html        2015-05-01 01:38:27 UTC (rev 183661)
+++ trunk/LayoutTests/platform/mac/fast/text/systemFont.html        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -12,21 +12,21 @@
</span><span class="cx">         &lt;div style=&quot;font-family: -webkit-system-font; font-size: 72px&quot;&gt;This is a test for -webkit-system-font font&lt;/div&gt;
</span><span class="cx">     &lt;/div&gt;
</span><span class="cx">     &lt;div&gt;
</span><del>-        &lt;div style=&quot;font-family: -apple-system-font; font-size: 24px&quot;&gt;This is a test for -apple-system-font font&lt;/div&gt;
-        &lt;div style=&quot;font: 30.0px '-apple-system-font'&quot;&gt;This is a test for -apple-system-font font&lt;/div&gt;
-        &lt;div style=&quot;font-family: -apple-system-font; font-size: 30px&quot;&gt;This is a test for -apple-system-font font&lt;/div&gt;
-        &lt;div style=&quot;font-family: -apple-system-font; font-size: 36px&quot;&gt;&lt;b&gt;This is a test for -apple-system-font font&lt;/b&gt;&lt;/div&gt;
-        &lt;div style=&quot;font-family: -apple-system-font; font-size: 42px&quot;&gt;&lt;i&gt;This is a test for -apple-system-font font&lt;/i&gt;&lt;/div&gt;
-        &lt;div style=&quot;font-family: -apple-system-font; font-size: 48px&quot;&gt;This is a test for -apple-system-font font&lt;/div&gt;
-        &lt;div style=&quot;font-family: -apple-system-font; font-size: 54px&quot;&gt;This is a test for -apple-system-font font&lt;/div&gt;
-        &lt;div style=&quot;font-family: -apple-system-font; font-size: 60px&quot;&gt;This is a test for -apple-system-font font&lt;/div&gt;
-        &lt;div style=&quot;font-family: -apple-system-font; font-size: 66px&quot;&gt;This is a test for -apple-system-font font&lt;/div&gt;
-        &lt;div style=&quot;font-family: -apple-system-font; font-size: 72px&quot;&gt;This is a test for -apple-system-font font&lt;/div&gt;
</del><ins>+        &lt;div style=&quot;font-family: -apple-system; font-size: 24px&quot;&gt;This is a test for -apple-system font&lt;/div&gt;
+        &lt;div style=&quot;font: 30.0px '-apple-system'&quot;&gt;This is a test for -apple-system font&lt;/div&gt;
+        &lt;div style=&quot;font-family: -apple-system; font-size: 30px&quot;&gt;This is a test for -apple-system font&lt;/div&gt;
+        &lt;div style=&quot;font-family: -apple-system; font-size: 36px&quot;&gt;&lt;b&gt;This is a test for -apple-system font&lt;/b&gt;&lt;/div&gt;
+        &lt;div style=&quot;font-family: -apple-system; font-size: 42px&quot;&gt;&lt;i&gt;This is a test for -apple-system font&lt;/i&gt;&lt;/div&gt;
+        &lt;div style=&quot;font-family: -apple-system; font-size: 48px&quot;&gt;This is a test for -apple-system font&lt;/div&gt;
+        &lt;div style=&quot;font-family: -apple-system; font-size: 54px&quot;&gt;This is a test for -apple-system font&lt;/div&gt;
+        &lt;div style=&quot;font-family: -apple-system; font-size: 60px&quot;&gt;This is a test for -apple-system font&lt;/div&gt;
+        &lt;div style=&quot;font-family: -apple-system; font-size: 66px&quot;&gt;This is a test for -apple-system font&lt;/div&gt;
+        &lt;div style=&quot;font-family: -apple-system; font-size: 72px&quot;&gt;This is a test for -apple-system font&lt;/div&gt;
</ins><span class="cx">     &lt;/div&gt;
</span><span class="cx">     &lt;div&gt;
</span><del>-        &lt;div style=&quot;font-family: -apple-system-font-monospaced-numbers; font-size: 24px&quot;&gt;This is a test for -apple-system-font-monospaced-numbers font - 00:11:22:33&lt;/div&gt;
-        &lt;div style=&quot;font: 30.0px '-apple-system-font-monospaced-numbers'&quot;&gt;This is a test for -apple-system-font-monospaced-numbers font - 00:11:22:33&lt;/div&gt;
-        &lt;div style=&quot;font-family: -apple-system-font-monospaced-numbers; font-size: 30px&quot;&gt;This is a test for -apple-system-font-monospaced-numbers font - 00:11:22:33&lt;/div&gt;
-        &lt;div style=&quot;font-family: -apple-system-font-monospaced-numbers; font-size: 36px&quot;&gt;This is a test for -apple-system-font-monospaced-numbers font - 00:11:22:33&lt;/div&gt;
</del><ins>+        &lt;div style=&quot;font-family: -apple-system-monospaced-numbers; font-size: 24px&quot;&gt;This is a test for -apple-system-monospaced-numbers font - 00:11:22:33&lt;/div&gt;
+        &lt;div style=&quot;font: 30.0px '-apple-system-monospaced-numbers'&quot;&gt;This is a test for -apple-system-monospaced-numbers font - 00:11:22:33&lt;/div&gt;
+        &lt;div style=&quot;font-family: -apple-system-monospaced-numbers; font-size: 30px&quot;&gt;This is a test for -apple-system-monospaced-numbers font - 00:11:22:33&lt;/div&gt;
+        &lt;div style=&quot;font-family: -apple-system-monospaced-numbers; font-size: 36px&quot;&gt;This is a test for -apple-system-monospaced-numbers font - 00:11:22:33&lt;/div&gt;
</ins><span class="cx">     &lt;/div&gt;
</span><span class="cx"> &lt;/body&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (183661 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-05-01 01:38:27 UTC (rev 183661)
+++ trunk/Source/WebCore/ChangeLog        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -1,3 +1,31 @@
</span><ins>+2015-04-30  Dean Jackson  &lt;dino@apple.com&gt;
+
+        Expose -apple-system as a font family
+        https://bugs.webkit.org/show_bug.cgi?id=144484
+        &lt;rdar://problem/20767330&gt;
+
+        Reviewed by Tim Horton.
+
+        Accept &quot;-apple-system&quot; for the font-family property, and
+        rename &quot;-apple-system-font-monospaced-numbers&quot; to
+        &quot;-apple-system-monospaced-numbers&quot;.
+
+        Also change the media controls to use the new name.
+
+        Covered by existing tests and this new one:
+            fast/text/system-font-legacy-name.html
+
+        * Modules/mediacontrols/mediaControlsApple.css:
+        (audio::-webkit-media-controls-time-remaining-display):
+        * Modules/mediacontrols/mediaControlsiOS.css:
+        (::-webkit-media-controls):
+        (audio::-webkit-media-controls-time-remaining-display):
+        (audio::-webkit-media-controls-status-display):
+        * platform/graphics/ios/FontCacheIOS.mm: Add support for the new name.
+        (WebCore::createCTFontWithFamilyNameAndWeight):
+        * platform/graphics/mac/FontCacheMac.mm: Ditto.
+        (WebCore::fontWithFamily):
+
</ins><span class="cx"> 2015-04-30  Javier Fernandez  &lt;jfernandez@igalia.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [CSS Grid Layout] overflow-position keyword for align and justify properties.
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediacontrolsmediaControlsApplecss"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css (183661 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css        2015-05-01 01:38:27 UTC (rev 183661)
+++ trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -498,7 +498,7 @@
</span><span class="cx">     text-decoration: none;
</span><span class="cx">     position: relative;
</span><span class="cx">     bottom: 0.5px;
</span><del>-    font-family: -apple-system-font-monospaced-numbers;
</del><ins>+    font-family: -apple-system-monospaced-numbers;
</ins><span class="cx">     -webkit-text-size-adjust:none;
</span><span class="cx">     mix-blend-mode: plus-lighter;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediacontrolsmediaControlsiOScss"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.css (183661 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.css        2015-05-01 01:38:27 UTC (rev 183661)
+++ trunk/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.css        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -57,7 +57,7 @@
</span><span class="cx">     -webkit-align-items: stretch;
</span><span class="cx">     -webkit-justify-content: flex-end;
</span><span class="cx">     -webkit-flex-direction: column;
</span><del>-    font-family: -apple-system-font;
</del><ins>+    font-family: -apple-system;
</ins><span class="cx">     overflow: hidden;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -416,7 +416,7 @@
</span><span class="cx">     opacity: 0.55;
</span><span class="cx">     height: 50px;
</span><span class="cx">     font-size: 13px;
</span><del>-    font-family: -apple-system-font-monospaced-numbers;
</del><ins>+    font-family: -apple-system-monospaced-numbers;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> audio::-webkit-media-controls-current-time-display,
</span><span class="lines">@@ -496,7 +496,7 @@
</span><span class="cx"> audio::-webkit-media-controls-status-display {
</span><span class="cx"> 
</span><span class="cx">     overflow: hidden;
</span><del>-    font-family: -apple-system-font;
</del><ins>+    font-family: -apple-system;
</ins><span class="cx">     letter-spacing: normal;
</span><span class="cx">     word-spacing: normal;
</span><span class="cx">     line-height: normal;
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicsiosFontCacheIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/ios/FontCacheIOS.mm (183661 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/ios/FontCacheIOS.mm        2015-05-01 01:38:27 UTC (rev 183661)
+++ trunk/Source/WebCore/platform/graphics/ios/FontCacheIOS.mm        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -602,8 +602,9 @@
</span><span class="cx">         return nullptr;
</span><span class="cx"> 
</span><span class="cx">     static NeverDestroyed&lt;AtomicString&gt; systemUIFontWithWebKitPrefix(&quot;-webkit-system-font&quot;, AtomicString::ConstructFromLiteral);
</span><del>-    static NeverDestroyed&lt;AtomicString&gt; systemUIFontWithApplePrefix(&quot;-apple-system-font&quot;, AtomicString::ConstructFromLiteral);
-    if (equalIgnoringCase(familyName, systemUIFontWithWebKitPrefix) || equalIgnoringCase(familyName, systemUIFontWithApplePrefix)) {
</del><ins>+    static NeverDestroyed&lt;AtomicString&gt; systemUIFontWithApplePrefix(&quot;-apple-system&quot;, AtomicString::ConstructFromLiteral);
+    static NeverDestroyed&lt;AtomicString&gt; systemUIFontWithAppleAlternatePrefix(&quot;-apple-system-font&quot;, AtomicString::ConstructFromLiteral);
+    if (equalIgnoringCase(familyName, systemUIFontWithWebKitPrefix) || equalIgnoringCase(familyName, systemUIFontWithApplePrefix) || equalIgnoringCase(familyName, systemUIFontWithAppleAlternatePrefix)) {
</ins><span class="cx">         CTFontUIFontType fontType = kCTFontUIFontSystem;
</span><span class="cx">         if (weight &gt; 300) {
</span><span class="cx">             // The comment below has been copied from CoreText/UIFoundation. However, in WebKit we synthesize the oblique,
</span><span class="lines">@@ -623,7 +624,7 @@
</span><span class="cx">         return CTFontCreateWithFontDescriptor(fontDescriptor.get(), size, nullptr);
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    static NeverDestroyed&lt;AtomicString&gt; systemUIMonospacedNumbersFontWithApplePrefix(&quot;-apple-system-font-monospaced-numbers&quot;, AtomicString::ConstructFromLiteral);
</del><ins>+    static NeverDestroyed&lt;AtomicString&gt; systemUIMonospacedNumbersFontWithApplePrefix(&quot;-apple-system-monospaced-numbers&quot;, AtomicString::ConstructFromLiteral);
</ins><span class="cx">     if (equalIgnoringCase(familyName, systemUIMonospacedNumbersFontWithApplePrefix)) {
</span><span class="cx">         RetainPtr&lt;CTFontDescriptorRef&gt; systemFontDescriptor = adoptCF(CTFontDescriptorCreateForUIType(kCTFontUIFontSystem, size, nullptr));
</span><span class="cx">         RetainPtr&lt;CTFontDescriptorRef&gt; monospaceFontDescriptor = adoptCF(CTFontDescriptorCreateCopyWithFeature(systemFontDescriptor.get(), (CFNumberRef)@(kNumberSpacingType), (CFNumberRef)@(kMonospacedNumbersSelector)));
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicsmacFontCacheMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/mac/FontCacheMac.mm (183661 => 183662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/mac/FontCacheMac.mm        2015-05-01 01:38:27 UTC (rev 183661)
+++ trunk/Source/WebCore/platform/graphics/mac/FontCacheMac.mm        2015-05-01 01:56:32 UTC (rev 183662)
</span><span class="lines">@@ -208,12 +208,12 @@
</span><span class="cx"> // we then do a search based on the family names of the installed fonts.
</span><span class="cx"> static NSFont *fontWithFamily(const AtomicString&amp; family, NSFontTraitMask desiredTraits, FontWeight weight, float size)
</span><span class="cx"> {
</span><del>-    if (equalIgnoringASCIICase(family.string(), String(@&quot;-webkit-system-font&quot;)) || equalIgnoringASCIICase(family.string(), String(@&quot;-apple-system-font&quot;))) {
</del><ins>+    if (equalIgnoringASCIICase(family.string(), String(@&quot;-webkit-system-font&quot;)) || equalIgnoringASCIICase(family.string(), String(@&quot;-apple-system&quot;)) || equalIgnoringASCIICase(family.string(), String(@&quot;-apple-system-font&quot;))) {
</ins><span class="cx">         // We ignore italic for system font.
</span><span class="cx">         return (weight &gt;= FontWeight600) ? [NSFont boldSystemFontOfSize:size] : [NSFont systemFontOfSize:size];
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if (equalIgnoringASCIICase(family.string(), String(@&quot;-apple-system-font-monospaced-numbers&quot;))) {
</del><ins>+    if (equalIgnoringASCIICase(family.string(), String(@&quot;-apple-system-monospaced-numbers&quot;))) {
</ins><span class="cx">         NSArray *featureArray = @[ @{ NSFontFeatureTypeIdentifierKey : @(kNumberSpacingType),
</span><span class="cx">             NSFontFeatureSelectorIdentifierKey : @(kMonospacedNumbersSelector) } ];
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>