<!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>[200534] 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/200534">200534</a></dd>
<dt>Author</dt> <dd>simon.fraser@apple.com</dd>
<dt>Date</dt> <dd>2016-05-06 17:05:58 -0700 (Fri, 06 May 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Enable IOS_TEXT_AUTOSIZING on Mac and make it testable
https://bugs.webkit.org/show_bug.cgi?id=157432
rdar://problem/16406720

Reviewed by Dean Jackson.

Source/JavaScriptCore:

Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.

Make the setTextAutosizingEnabled() Setting work, and plumb it through WK1 and WK2
preferences for WTR and DRT. Make textAutosizingWindowSizeOverride() work, for layout tests.
These two settings are shared with TEXT_AUTOSIZING.

Add a TextAutosizing log channel, which is useful for generated -expected.html results.

Move adjustComputedFontSizesOnBlocks() and related code from RenderObject to RenderElement
without changes.

An implication of this set of changes is that the way clients enable text autosizing
has changed. Previously, they set the &quot;MinimumZoomFontSize&quot; preference to 0.
Settings::defaultMinimumZoomFontSize() used to do this in order to enable text autosizing
on iPhone only, not iPad.

Now the preferred technique is to leave minimumZoomFontSize alone, and to use textAutosizingEnabled()
instead. Settings::defaultTextAutosizingEnabled() now does the check for iPhone.

UIWebView calls WebKitGetMinimumZoomFontSize() to setup the default minimum font zoom size,
which will now always return 15, but had no other code that toggled this. So it's safe to just rely
on Settings::defaultTextAutosizingEnabled() doing the right thing for iPhone/iPad.

Test: fast/text-autosizing/ios/autosize-width.html

* Configurations/FeatureDefines.xcconfig:
* dom/Document.cpp:
(WebCore::Document::addAutoSizingNode):
* page/FrameView.cpp:
(WebCore::FrameView::layout):
* page/Settings.cpp:
(WebCore::Settings::Settings): Deleted.
(WebCore::Settings::setTextAutosizingEnabled): Deleted.
(WebCore::Settings::setTextAutosizingWindowSizeOverride): Deleted.
* page/Settings.h:
(WebCore::Settings::textAutosizingEnabled): Deleted.
(WebCore::Settings::textAutosizingWindowSizeOverride): Deleted.
* page/Settings.in:
* page/cocoa/SettingsCocoa.mm:
(WebCore::Settings::defaultMinimumZoomFontSize):
(WebCore::Settings::defaultTextAutosizingEnabled):
* platform/Logging.h:
* rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::adjustComputedFontSizes):
* rendering/RenderElement.cpp:
(WebCore::includeNonFixedHeight):
(WebCore::RenderElement::adjustComputedFontSizesOnBlocks):
(WebCore::RenderElement::resetTextAutosizing):
* rendering/RenderElement.h:
* rendering/RenderObject.cpp:
(WebCore::includeNonFixedHeight): Deleted.
(WebCore::RenderObject::adjustComputedFontSizesOnBlocks): Deleted.
(WebCore::RenderObject::resetTextAutosizing): Deleted.
* rendering/RenderObject.h:
* rendering/TextAutoSizing.cpp:
(WebCore::TextAutoSizingValue::adjustNodeSizes):
* testing/InternalSettings.cpp:
(WebCore::InternalSettings::Backup::Backup):
(WebCore::InternalSettings::Backup::restoreTo):
(WebCore::InternalSettings::setTextAutosizingEnabled):
(WebCore::InternalSettings::setTextAutosizingWindowSizeOverride):
* testing/InternalSettings.h:

Source/WebKit/ios:

Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.

Make the setTextAutosizingEnabled() Setting work, and plumb it through WK1 and WK2
preferences for WTR and DRT. Make textAutosizingWindowSizeOverride() work, for layout tests.
These two settings are shared with TEXT_AUTOSIZING.

Add a TextAutosizing log channel, which is useful for generated -expected.html results.

Move adjustComputedFontSizesOnBlocks() and related code from RenderObject to RenderElement
without changes.

An implication of this set of changes is that the way clients enable text autosizing
has changed. Previously, they set the &quot;MinimumZoomFontSize&quot; preference to 0.
Settings::defaultMinimumZoomFontSize() used to do this in order to enable text autosizing
on iPhone only, not iPad.

Now the preferred technique is to leave minimumZoomFontSize alone, and to use textAutosizingEnabled()
instead. Settings::defaultTextAutosizingEnabled() now does the check for iPhone.

UIWebView calls WebKitGetMinimumZoomFontSize() to setup the default minimum font zoom size,
which will now always return 15, but had no other code that toggled this. So it's safe to just rely
on Settings::defaultTextAutosizingEnabled() doing the right thing for iPhone/iPad.

* Misc/WebUIKitSupport.mm:
(WebKitGetMinimumZoomFontSize):

Source/WebKit/mac:

Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.

Make the setTextAutosizingEnabled() Setting work, and plumb it through WK1 and WK2
preferences for WTR and DRT. Make textAutosizingWindowSizeOverride() work, for layout tests.
These two settings are shared with TEXT_AUTOSIZING.

Add a TextAutosizing log channel, which is useful for generated -expected.html results.

Move adjustComputedFontSizesOnBlocks() and related code from RenderObject to RenderElement
without changes.

An implication of this set of changes is that the way clients enable text autosizing
has changed. Previously, they set the &quot;MinimumZoomFontSize&quot; preference to 0.
Settings::defaultMinimumZoomFontSize() used to do this in order to enable text autosizing
on iPhone only, not iPad.

Now the preferred technique is to leave minimumZoomFontSize alone, and to use textAutosizingEnabled()
instead. Settings::defaultTextAutosizingEnabled() now does the check for iPhone.

UIWebView calls WebKitGetMinimumZoomFontSize() to setup the default minimum font zoom size,
which will now always return 15, but had no other code that toggled this. So it's safe to just rely
on Settings::defaultTextAutosizingEnabled() doing the right thing for iPhone/iPad.

* Configurations/FeatureDefines.xcconfig:
* WebView/WebPreferenceKeysPrivate.h:
* WebView/WebPreferences.mm:
(+[WebPreferences initialize]):
(-[WebPreferences _setTextAutosizingEnabled:]):
(-[WebPreferences _textAutosizingEnabled]):
* WebView/WebPreferencesPrivate.h:

Source/WebKit2:

Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.

Make the setTextAutosizingEnabled() Setting work, and plumb it through WK1 and WK2
preferences for WTR and DRT. Make textAutosizingWindowSizeOverride() work, for layout tests.
These two settings are shared with TEXT_AUTOSIZING.

Add a TextAutosizing log channel, which is useful for generated -expected.html results.

Move adjustComputedFontSizesOnBlocks() and related code from RenderObject to RenderElement
without changes.

An implication of this set of changes is that the way clients enable text autosizing
has changed. Previously, they set the &quot;MinimumZoomFontSize&quot; preference to 0.
Settings::defaultMinimumZoomFontSize() used to do this in order to enable text autosizing
on iPhone only, not iPad.

Now the preferred technique is to leave minimumZoomFontSize alone, and to use textAutosizingEnabled()
instead. Settings::defaultTextAutosizingEnabled() now does the check for iPhone.

UIWebView calls WebKitGetMinimumZoomFontSize() to setup the default minimum font zoom size,
which will now always return 15, but had no other code that toggled this. So it's safe to just rely
on Settings::defaultTextAutosizingEnabled() doing the right thing for iPhone/iPad.

* Configurations/FeatureDefines.xcconfig:
* Shared/WebPreferencesDefinitions.h:
* UIProcess/API/Cocoa/WKPreferences.mm:
(-[WKPreferences _textAutosizingEnabled]):
(-[WKPreferences _setTextAutosizingEnabled:]):
* UIProcess/API/Cocoa/WKPreferencesPrivate.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):

Tools:

Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.

Make the setTextAutosizingEnabled() Setting work, and plumb it through WK1 and WK2
preferences for WTR and DRT. Make textAutosizingWindowSizeOverride() work, for layout tests.
These two settings are shared with TEXT_AUTOSIZING.

Add a TextAutosizing log channel, which is useful for generated -expected.html results.

Move adjustComputedFontSizesOnBlocks() and related code from RenderObject to RenderElement
without changes.

An implication of this set of changes is that the way clients enable text autosizing
has changed. Previously, they set the &quot;MinimumZoomFontSize&quot; preference to 0.
Settings::defaultMinimumZoomFontSize() used to do this in order to enable text autosizing
on iPhone only, not iPad.

Now the preferred technique is to leave minimumZoomFontSize alone, and to use textAutosizingEnabled()
instead. Settings::defaultTextAutosizingEnabled() now does the check for iPhone.

UIWebView calls WebKitGetMinimumZoomFontSize() to setup the default minimum font zoom size,
which will now always return 15, but had no other code that toggled this. So it's safe to just rely
on Settings::defaultTextAutosizingEnabled() doing the right thing for iPhone/iPad.

* DumpRenderTree/mac/DumpRenderTree.mm:
(resetWebPreferencesToConsistentValues):
* DumpRenderTree/mac/TestRunnerMac.mm:
(TestRunner::setTextAutosizingEnabled):
* TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
* WebKitTestRunner/ios/TestControllerIOS.mm:
(WTR::TestController::platformResetPreferencesToConsistentValues):

LayoutTests:

Enable fast/text-autosizing/ios/ on Mac and iOS

* fast/text-autosizing/ios/autosize-width-expected.html: Added.
* fast/text-autosizing/ios/autosize-width.html: Added.
* platform/ios-simulator/TestExpectations:
* platform/mac-wk2/TestExpectations:
* platform/mac/TestExpectations:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorTestExpectations">trunk/LayoutTests/platform/ios-simulator/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorwk1TestExpectations">trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorwk2TestExpectations">trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformmacTestExpectations">trunk/LayoutTests/platform/mac/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk2TestExpectations">trunk/LayoutTests/platform/mac-wk2/TestExpectations</a></li>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreConfigurationsFeatureDefinesxcconfig">trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreConfigurationsFeatureDefinesxcconfig">trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceWebCoredomDocumentcpp">trunk/Source/WebCore/dom/Document.cpp</a></li>
<li><a href="#trunkSourceWebCorepageFrameViewcpp">trunk/Source/WebCore/page/FrameView.cpp</a></li>
<li><a href="#trunkSourceWebCorepageSettingscpp">trunk/Source/WebCore/page/Settings.cpp</a></li>
<li><a href="#trunkSourceWebCorepageSettingsh">trunk/Source/WebCore/page/Settings.h</a></li>
<li><a href="#trunkSourceWebCorepageSettingsin">trunk/Source/WebCore/page/Settings.in</a></li>
<li><a href="#trunkSourceWebCorepagecocoaSettingsCocoamm">trunk/Source/WebCore/page/cocoa/SettingsCocoa.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformLoggingh">trunk/Source/WebCore/platform/Logging.h</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderBlockFlowcpp">trunk/Source/WebCore/rendering/RenderBlockFlow.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderElementcpp">trunk/Source/WebCore/rendering/RenderElement.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderElementh">trunk/Source/WebCore/rendering/RenderElement.h</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderObjectcpp">trunk/Source/WebCore/rendering/RenderObject.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderObjecth">trunk/Source/WebCore/rendering/RenderObject.h</a></li>
<li><a href="#trunkSourceWebCorerenderingTextAutoSizingcpp">trunk/Source/WebCore/rendering/TextAutoSizing.cpp</a></li>
<li><a href="#trunkSourceWebCoretestingInternalSettingscpp">trunk/Source/WebCore/testing/InternalSettings.cpp</a></li>
<li><a href="#trunkSourceWebCoretestingInternalSettingsh">trunk/Source/WebCore/testing/InternalSettings.h</a></li>
<li><a href="#trunkSourceWebKitiosChangeLog">trunk/Source/WebKit/ios/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitiosMiscWebUIKitSupportmm">trunk/Source/WebKit/ios/Misc/WebUIKitSupport.mm</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacConfigurationsFeatureDefinesxcconfig">trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebPreferenceKeysPrivateh">trunk/Source/WebKit/mac/WebView/WebPreferenceKeysPrivate.h</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebPreferencesmm">trunk/Source/WebKit/mac/WebView/WebPreferences.mm</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebPreferencesPrivateh">trunk/Source/WebKit/mac/WebView/WebPreferencesPrivate.h</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2ConfigurationsFeatureDefinesxcconfig">trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceWebKit2SharedWebPreferencesDefinitionsh">trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKPreferencesmm">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKPreferences.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKPreferencesPrivateh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKPreferencesPrivate.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageWebPagecpp">trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsDumpRenderTreemacDumpRenderTreemm">trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm</a></li>
<li><a href="#trunkToolsDumpRenderTreemacTestRunnerMacmm">trunk/Tools/DumpRenderTree/mac/TestRunnerMac.mm</a></li>
<li><a href="#trunkToolsTestWebKitAPIConfigurationsFeatureDefinesxcconfig">trunk/Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkToolsWebKitTestRunneriosTestControllerIOSmm">trunk/Tools/WebKitTestRunner/ios/TestControllerIOS.mm</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/LayoutTests/fast/text-autosizing/ios/</li>
<li><a href="#trunkLayoutTestsfasttextautosizingiosautosizewidthexpectedhtml">trunk/LayoutTests/fast/text-autosizing/ios/autosize-width-expected.html</a></li>
<li><a href="#trunkLayoutTestsfasttextautosizingiosautosizewidthhtml">trunk/LayoutTests/fast/text-autosizing/ios/autosize-width.html</a></li>
<li><a href="#trunkLayoutTestsfasttextautosizingioslineheighttextautosizingexpectedtxt">trunk/LayoutTests/fast/text-autosizing/ios/line-height-text-autosizing-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfasttextautosizingioslineheighttextautosizinghtml">trunk/LayoutTests/fast/text-autosizing/ios/line-height-text-autosizing.html</a></li>
<li>trunk/LayoutTests/platform/mac/fast/text-autosizing/</li>
<li>trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/</li>
<li><a href="#trunkLayoutTestsplatformmacfasttextautosizingioslineheighttextautosizingexpectedpng">trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/line-height-text-autosizing-expected.png</a></li>
<li><a href="#trunkLayoutTestsplatformmacfasttextautosizingioslineheighttextautosizingexpectedtxt">trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/line-height-text-autosizing-expected.txt</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsfastcsslineheighttextautosizingexpectedtxt">trunk/LayoutTests/fast/css/line-height-text-autosizing-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastcsslineheighttextautosizinghtml">trunk/LayoutTests/fast/css/line-height-text-autosizing.html</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/LayoutTests/ChangeLog        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -1,3 +1,19 @@
</span><ins>+2016-05-06  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Enable IOS_TEXT_AUTOSIZING on Mac and make it testable
+        https://bugs.webkit.org/show_bug.cgi?id=157432
+        rdar://problem/16406720
+
+        Reviewed by Dean Jackson.
+
+        Enable fast/text-autosizing/ios/ on Mac and iOS
+
+        * fast/text-autosizing/ios/autosize-width-expected.html: Added.
+        * fast/text-autosizing/ios/autosize-width.html: Added.
+        * platform/ios-simulator/TestExpectations:
+        * platform/mac-wk2/TestExpectations:
+        * platform/mac/TestExpectations:
+
</ins><span class="cx"> 2016-05-06  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Web Inspector: Console: Variables defined with let/const aren't accessible outside of console's scope
</span></span></pre></div>
<a id="trunkLayoutTestsfastcsslineheighttextautosizingexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/css/line-height-text-autosizing-expected.txt (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/css/line-height-text-autosizing-expected.txt        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/LayoutTests/fast/css/line-height-text-autosizing-expected.txt        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -1,21 +0,0 @@
</span><del>-Test the 'line-height' property interaction with '-webkit-text-size-adjust'.
-
-On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
-
-
-Case without text size adjust.
-PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is &quot;23px&quot;
-PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('font-size') is &quot;20px&quot;
-testDivNoAdjust.style['line-height'] = '1.6'
-PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is &quot;32px&quot;
-testDivNoAdjust.style['line-height'] = '80%'
-PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is &quot;16px&quot;
-testDivNoAdjust.style['line-height'] = '12px'
-PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is &quot;12px&quot;
-Case with text size adjust.
-Platform does not support  -webkit-text-size-adjust
-PASS successfullyParsed is true
-
-TEST COMPLETE
-Test
-Test
</del></span></pre></div>
<a id="trunkLayoutTestsfastcsslineheighttextautosizinghtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/css/line-height-text-autosizing.html (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/css/line-height-text-autosizing.html        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/LayoutTests/fast/css/line-height-text-autosizing.html        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
-&lt;style&gt;
-#testDivAdjust {
-  -webkit-text-size-adjust: 150%;
-  font-size: 20px;
-}
-#testDivNoAdjust {
-  font-size: 20px;
-}
-&lt;/style&gt;
-&lt;/head&gt;
-&lt;boby&gt;
-&lt;div id=&quot;testDivNoAdjust&quot;&gt;Test&lt;/div&gt;
-&lt;div id=&quot;testDivAdjust&quot;&gt;Test&lt;/div&gt;
-&lt;script&gt;
-description(&quot;Test the 'line-height' property interaction with '-webkit-text-size-adjust'.&quot;);
-
-debug(&quot;Case without text size adjust.&quot;);
-var testDivNoAdjust = document.getElementById(&quot;testDivNoAdjust&quot;);
-shouldBeEqualToString(&quot;window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height')&quot;, &quot;23px&quot;);
-shouldBeEqualToString(&quot;window.getComputedStyle(testDivNoAdjust).getPropertyValue('font-size')&quot;, &quot;20px&quot;);
-evalAndLog(&quot;testDivNoAdjust.style['line-height'] = '1.6'&quot;);
-// font-size * line-height == 20px * 1.6 == 32px
-shouldBeEqualToString(&quot;window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height')&quot;, &quot;32px&quot;);
-evalAndLog(&quot;testDivNoAdjust.style['line-height'] = '80%'&quot;);
-// font-size * line-height == 20px * 80% == 16px
-shouldBeEqualToString(&quot;window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height')&quot;, &quot;16px&quot;);
-evalAndLog(&quot;testDivNoAdjust.style['line-height'] = '12px'&quot;);
-shouldBeEqualToString(&quot;window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height')&quot;, &quot;12px&quot;);
-
-debug(&quot;Case with text size adjust.&quot;);
-var testDivAdjust = document.getElementById(&quot;testDivAdjust&quot;);
-if (window.getComputedStyle(testDivAdjust).getPropertyValue('-webkit-text-size-adjust') === &quot;&quot;) {
-  debug(&quot;Platform does not support  -webkit-text-size-adjust&quot;);
-} else {
-  debug(&quot;Platform supports -webkit-text-size-adjust&quot;);
-  shouldBeEqualToString(&quot;window.getComputedStyle(testDivAdjust).getPropertyValue('line-height')&quot;, &quot;normal&quot;);
-  // font-size * -webkit-text-size-adjust == 20px * 150% == 30px
-  shouldBeEqualToString(&quot;window.getComputedStyle(testDivAdjust).getPropertyValue('font-size')&quot;, &quot;30px&quot;);
-  evalAndLog(&quot;testDivAdjust.style['line-height'] = '1.6'&quot;);
-  // font-size * line-height == 30px * 1.6 == 48px
-  shouldBeEqualToString(&quot;window.getComputedStyle(testDivAdjust).getPropertyValue('line-height')&quot;, &quot;48px&quot;);
-
-  evalAndLog(&quot;testDivAdjust.style['line-height'] = '80%'&quot;);
-  // font-size * line-height == 30px * 80% == 24px
-  shouldBeEqualToString(&quot;window.getComputedStyle(testDivAdjust).getPropertyValue('line-height')&quot;, &quot;24px&quot;);
-
-  evalAndLog(&quot;testDivAdjust.style['line-height'] = '12px'&quot;);
-  // line-height * -webkit-text-size-adjust == 12px * 150% == 18px
-  shouldBeEqualToString(&quot;window.getComputedStyle(testDivAdjust).getPropertyValue('line-height')&quot;, &quot;18px&quot;);
-}
-&lt;/script&gt;
-&lt;script src=&quot;../../resources/js-test-post.js&quot;&gt;&lt;/script&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsfasttextautosizingiosautosizewidthexpectedhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/text-autosizing/ios/autosize-width-expected.html (0 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text-autosizing/ios/autosize-width-expected.html                                (rev 0)
+++ trunk/LayoutTests/fast/text-autosizing/ios/autosize-width-expected.html        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -0,0 +1,57 @@
</span><ins>+&lt;!DOCTYPE html&gt; &lt;!-- webkit-test-runner [ useFlexibleViewport=true ] --&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;meta name=&quot;viewport&quot; content=&quot;width=1024&quot;&gt;
+&lt;style&gt;
+    html {
+        -webkit-text-size-adjust: none;
+    }
+    div {
+        margin-top: 10px;
+    }
+&lt;/style&gt;
+
+&lt;script&gt;
+if (window.internals) {
+    window.internals.settings.setTextAutosizingEnabled(false);
+    window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
+}
+&lt;/script&gt;
+
+&lt;/head&gt;
+&lt;body&gt;
+
+&lt;div class=&quot;name&quot; style=&quot;width: 319px&quot;&gt;
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+&lt;/div&gt;
+
+&lt;div class=&quot;name&quot; style=&quot;width: 320px&quot;&gt;
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+&lt;/div&gt;
+
+&lt;div class=&quot;name&quot; style=&quot;width: 321px&quot;&gt;
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+&lt;/div&gt;
+
+&lt;div class=&quot;name&quot; style=&quot;width: 360px;&quot;&gt;
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+&lt;/div&gt;
+
+&lt;div class=&quot;name&quot; style=&quot;width: 400px; font-size: 23px;&quot;&gt;
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+&lt;/div&gt;
+
+&lt;div class=&quot;name&quot; style=&quot;width: 600px; font-size: 23px;&quot;&gt;
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+&lt;/div&gt;
+
+&lt;div class=&quot;name&quot; style=&quot;width: 980px; font-size: 23px;&quot;&gt;
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+&lt;/div&gt;
+
+&lt;div class=&quot;name&quot; style=&quot;width: 1024px; font-size: 23px;&quot;&gt;
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfasttextautosizingiosautosizewidthhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/text-autosizing/ios/autosize-width.html (0 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text-autosizing/ios/autosize-width.html                                (rev 0)
+++ trunk/LayoutTests/fast/text-autosizing/ios/autosize-width.html        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -0,0 +1,55 @@
</span><ins>+&lt;!DOCTYPE html&gt; &lt;!-- webkit-test-runner [ useFlexibleViewport=true ] --&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;meta name=&quot;viewport&quot; content=&quot;width=1024&quot;&gt;
+&lt;style&gt;
+    div {
+        margin-top: 10px;
+        font-size: 12pt;
+    }
+&lt;/style&gt;
+
+&lt;script&gt;
+if (window.internals) {
+    window.internals.settings.setTextAutosizingEnabled(true);
+    window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
+}
+&lt;/script&gt;
+
+&lt;/head&gt;
+&lt;body&gt;
+
+&lt;div class=&quot;name&quot; style=&quot;width: 319px&quot;&gt;
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+&lt;/div&gt;
+
+&lt;div class=&quot;name&quot; style=&quot;width: 320px&quot;&gt;
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+&lt;/div&gt;
+
+&lt;div class=&quot;name&quot; style=&quot;width: 321px&quot;&gt;
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+&lt;/div&gt;
+
+&lt;div class=&quot;name&quot; style=&quot;width: 340px&quot;&gt;
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+&lt;/div&gt;
+
+&lt;div class=&quot;name&quot; style=&quot;width: 400px&quot;&gt;
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+&lt;/div&gt;
+
+&lt;div class=&quot;name&quot; style=&quot;width: 650px&quot;&gt;
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+&lt;/div&gt;
+
+&lt;div class=&quot;name&quot; style=&quot;width: 980px&quot;&gt;
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+&lt;/div&gt;
+
+&lt;div class=&quot;name&quot; style=&quot;width: 1024px&quot;&gt;
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfasttextautosizingioslineheighttextautosizingexpectedtxtfromrev200533trunkLayoutTestsfastcsslineheighttextautosizingexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/text-autosizing/ios/line-height-text-autosizing-expected.txt (from rev 200533, trunk/LayoutTests/fast/css/line-height-text-autosizing-expected.txt) (0 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text-autosizing/ios/line-height-text-autosizing-expected.txt                                (rev 0)
+++ trunk/LayoutTests/fast/text-autosizing/ios/line-height-text-autosizing-expected.txt        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -0,0 +1,21 @@
</span><ins>+Test the 'line-height' property interaction with '-webkit-text-size-adjust'.
+
+On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
+
+
+Case without text size adjust.
+PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is &quot;23px&quot;
+PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('font-size') is &quot;20px&quot;
+testDivNoAdjust.style['line-height'] = '1.6'
+PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is &quot;32px&quot;
+testDivNoAdjust.style['line-height'] = '80%'
+PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is &quot;16px&quot;
+testDivNoAdjust.style['line-height'] = '12px'
+PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is &quot;12px&quot;
+Case with text size adjust.
+Platform does not support  -webkit-text-size-adjust
+PASS successfullyParsed is true
+
+TEST COMPLETE
+Test
+Test
</ins></span></pre></div>
<a id="trunkLayoutTestsfasttextautosizingioslineheighttextautosizinghtmlfromrev200533trunkLayoutTestsfastcsslineheighttextautosizinghtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/text-autosizing/ios/line-height-text-autosizing.html (from rev 200533, trunk/LayoutTests/fast/css/line-height-text-autosizing.html) (0 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/text-autosizing/ios/line-height-text-autosizing.html                                (rev 0)
+++ trunk/LayoutTests/fast/text-autosizing/ios/line-height-text-autosizing.html        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -0,0 +1,64 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../../resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
+&lt;style&gt;
+#testDivAdjust {
+  -webkit-text-size-adjust: 150%;
+  font-size: 20px;
+}
+#testDivNoAdjust {
+  font-size: 20px;
+}
+&lt;/style&gt;
+&lt;script&gt;
+if (window.internals) {
+    window.internals.settings.setTextAutosizingEnabled(true);
+    window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;boby&gt;
+&lt;div id=&quot;testDivNoAdjust&quot;&gt;Test&lt;/div&gt;
+&lt;div id=&quot;testDivAdjust&quot;&gt;Test&lt;/div&gt;
+&lt;script&gt;
+description(&quot;Test the 'line-height' property interaction with '-webkit-text-size-adjust'.&quot;);
+
+debug(&quot;Case without text size adjust.&quot;);
+var testDivNoAdjust = document.getElementById(&quot;testDivNoAdjust&quot;);
+shouldBeEqualToString(&quot;window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height')&quot;, &quot;23px&quot;);
+shouldBeEqualToString(&quot;window.getComputedStyle(testDivNoAdjust).getPropertyValue('font-size')&quot;, &quot;20px&quot;);
+evalAndLog(&quot;testDivNoAdjust.style['line-height'] = '1.6'&quot;);
+// font-size * line-height == 20px * 1.6 == 32px
+shouldBeEqualToString(&quot;window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height')&quot;, &quot;32px&quot;);
+evalAndLog(&quot;testDivNoAdjust.style['line-height'] = '80%'&quot;);
+// font-size * line-height == 20px * 80% == 16px
+shouldBeEqualToString(&quot;window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height')&quot;, &quot;16px&quot;);
+evalAndLog(&quot;testDivNoAdjust.style['line-height'] = '12px'&quot;);
+shouldBeEqualToString(&quot;window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height')&quot;, &quot;12px&quot;);
+
+debug(&quot;Case with text size adjust.&quot;);
+var testDivAdjust = document.getElementById(&quot;testDivAdjust&quot;);
+if (window.getComputedStyle(testDivAdjust).getPropertyValue('-webkit-text-size-adjust') === &quot;&quot;) {
+  debug(&quot;Platform does not support  -webkit-text-size-adjust&quot;);
+} else {
+  debug(&quot;Platform supports -webkit-text-size-adjust&quot;);
+  shouldBeEqualToString(&quot;window.getComputedStyle(testDivAdjust).getPropertyValue('line-height')&quot;, &quot;normal&quot;);
+  // font-size * -webkit-text-size-adjust == 20px * 150% == 30px
+  shouldBeEqualToString(&quot;window.getComputedStyle(testDivAdjust).getPropertyValue('font-size')&quot;, &quot;30px&quot;);
+  evalAndLog(&quot;testDivAdjust.style['line-height'] = '1.6'&quot;);
+  // font-size * line-height == 30px * 1.6 == 48px
+  shouldBeEqualToString(&quot;window.getComputedStyle(testDivAdjust).getPropertyValue('line-height')&quot;, &quot;48px&quot;);
+
+  evalAndLog(&quot;testDivAdjust.style['line-height'] = '80%'&quot;);
+  // font-size * line-height == 30px * 80% == 24px
+  shouldBeEqualToString(&quot;window.getComputedStyle(testDivAdjust).getPropertyValue('line-height')&quot;, &quot;24px&quot;);
+
+  evalAndLog(&quot;testDivAdjust.style['line-height'] = '12px'&quot;);
+  // line-height * -webkit-text-size-adjust == 12px * 150% == 18px
+  shouldBeEqualToString(&quot;window.getComputedStyle(testDivAdjust).getPropertyValue('line-height')&quot;, &quot;18px&quot;);
+}
+&lt;/script&gt;
+&lt;script src=&quot;../../../resources/js-test-post.js&quot;&gt;&lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/TestExpectations (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/TestExpectations        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/LayoutTests/platform/ios-simulator/TestExpectations        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -11,6 +11,8 @@
</span><span class="cx"> quicklook [ Pass ]
</span><span class="cx"> http/tests/quicklook [ Pass ]
</span><span class="cx"> 
</span><ins>+fast/text-autosizing/ios [ Pass ]
+
</ins><span class="cx"> # &lt;rdar://problem/22898927&gt; Crashes in iWorkImport.framework
</span><span class="cx"> quicklook/pages.html [ Pass Crash ]
</span><span class="cx"> 
</span><span class="lines">@@ -2210,6 +2212,8 @@
</span><span class="cx"> fast/table/table-style-not-updated.html [ Failure ]
</span><span class="cx"> fast/table/wide-colspan.html [ Failure ]
</span><span class="cx"> fast/table/wide-column.html [ Failure ]
</span><ins>+
+# Tests designed for TEXT_AUTOSIZING, not IOS_TEXT_AUTOSIZING behavior.
</ins><span class="cx"> fast/text-autosizing/cluster-inline-block-or-table.html [ ImageOnlyFailure ]
</span><span class="cx"> fast/text-autosizing/cluster-inline-grid-flex-box.html [ ImageOnlyFailure ]
</span><span class="cx"> fast/text-autosizing/cluster-list-item.html [ ImageOnlyFailure ]
</span><span class="lines">@@ -2257,6 +2261,7 @@
</span><span class="cx"> fast/text-autosizing/wide-child.html [ ImageOnlyFailure ]
</span><span class="cx"> fast/text-autosizing/wide-iframe.html [ ImageOnlyFailure ]
</span><span class="cx"> fast/text-autosizing/wide-in-narrow-overflow-scroll.html [ ImageOnlyFailure ]
</span><ins>+
</ins><span class="cx"> fast/text/decorations-transformed.html [ Failure ]
</span><span class="cx"> fast/text/emphasis-avoid-ruby.html [ Failure ]
</span><span class="cx"> fast/text/emphasis-overlap.html [ Failure ]
</span><span class="lines">@@ -2559,7 +2564,7 @@
</span><span class="cx"> ###
</span><span class="cx"> # Mark as passing specific tests in folders that were skipped temporarily above.
</span><span class="cx"> ##
</span><del>-webkit.org/b/138970 fast/css/line-height-text-autosizing.html [ Pass ]
</del><ins>+webkit.org/b/138970 fast/text-autosizing/ios/line-height-text-autosizing.html [ Pass ]
</ins><span class="cx"> 
</span><span class="cx"> # Skipped for mac as well:
</span><span class="cx"> webkit.org/b/129758 js/dom/create-lots-of-workers.html [ Skip ]
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorwk1TestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -793,7 +793,7 @@
</span><span class="cx"> # LayoutTests/fast tests that fail:
</span><span class="cx"> fast/block/min-max-height-percent-height-child.html [ Failure ]
</span><span class="cx"> fast/borders/hidpi-border-clipping-right-after-move.html [ ImageOnlyFailure ]
</span><del>-fast/css/line-height-text-autosizing.html [ Failure ]
</del><ins>+fast/text-autosizing/ios/line-height-text-autosizing.html [ Failure ]
</ins><span class="cx"> fast/css/nested-rounded-corners.html [ Failure ]
</span><span class="cx"> fast/css/relative-positioned-block-crash.html [ Failure ]
</span><span class="cx"> fast/css/sticky/sticky-overflowing.html [ ImageOnlyFailure ]
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorwk2TestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -545,7 +545,7 @@
</span><span class="cx"> fast/css/hover-display-block-inline.html [ Failure ]
</span><span class="cx"> fast/css/hover-display-block-none.html [ Failure ]
</span><span class="cx"> fast/css/hover-display-block.html [ Failure ]
</span><del>-fast/css/line-height-text-autosizing.html [ Failure ]
</del><ins>+fast/text-autosizing/ios/line-height-text-autosizing.html [ Failure ]
</ins><span class="cx"> fast/css/nested-layers-with-hover.html [ Failure ]
</span><span class="cx"> fast/dom/HTMLDocument/hasFocus.html [ Failure ]
</span><span class="cx"> fast/dom/Window/Plug-ins.html [ Failure ]
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/TestExpectations (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/TestExpectations        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/LayoutTests/platform/mac/TestExpectations        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -16,6 +16,8 @@
</span><span class="cx"> 
</span><span class="cx"> fast/url/user-visible [ Pass ]
</span><span class="cx"> 
</span><ins>+fast/text-autosizing/ios [ Pass ]
+
</ins><span class="cx"> #//////////////////////////////////////////////////////////////////////////////////////////
</span><span class="cx"> # End platform-specific directories.
</span><span class="cx"> #//////////////////////////////////////////////////////////////////////////////////////////
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfasttextautosizingioslineheighttextautosizingexpectedpng"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/line-height-text-autosizing-expected.png (0 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/line-height-text-autosizing-expected.png                                (rev 0)
+++ trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/line-height-text-autosizing-expected.png        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+\x89PNG
+
++IHDR X\x9Av\x82p)tEXtchecksumc9446ffb7b6992decb1bfc50d4e9cab3\xD3n1&quot;sRGB\xAE\xCE\xE93IDATx\xED\xDD{\xCC\xFEs\xFD\xF07rꀒP\xA9\xA54d\x86Jcʡ\xFAN\xB6\x8A)Vm-\x93\x90\xD6V6\xDA:\xC8\xCABM\x87\xD5V\x9At\xD0A\xEB\xB4Ul\xCA\xAAu\xA00ѲF\x869\xF4\xA5_\x9F\xCFv\xDF\xF3\xCDW7\xE2\xF6\xF4\xFC=&gt;[\xEE뾮\xEB\xBE\xEF\xD7\xEB\xF1\xFC\xFE\xD1s\xD7\xF5\xF9\k\xFC\xEB\xDF\xC7p @\x80 @`\xD6\\x86\xBF\xE1O @\x80 @`P@\xFCC @\x80 @`\xD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80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80
 \xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE
 \xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80
  @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xA
 A8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80
 \xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC
 7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ 
 [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-
 C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\x
 AA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t
  @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@
 \xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x
 80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA
 \x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t 
 @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC
 9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\x90\xAA8-C\x80 @ [@\xC9\xCE\xC7t @\x80\xAA\xFEBs\xE5\x8A\xDF\xED(IEND\xAEB`\x82
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfasttextautosizingioslineheighttextautosizingexpectedtxtfromrev200533trunkLayoutTestsfastcsslineheighttextautosizingexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/line-height-text-autosizing-expected.txt (from rev 200533, trunk/LayoutTests/fast/css/line-height-text-autosizing-expected.txt) (0 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/line-height-text-autosizing-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/mac/fast/text-autosizing/ios/line-height-text-autosizing-expected.txt        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+Test the 'line-height' property interaction with '-webkit-text-size-adjust'.
+
+On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
+
+
+Case without text size adjust.
+PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is &quot;23px&quot;
+PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('font-size') is &quot;20px&quot;
+testDivNoAdjust.style['line-height'] = '1.6'
+PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is &quot;32px&quot;
+testDivNoAdjust.style['line-height'] = '80%'
+PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is &quot;16px&quot;
+testDivNoAdjust.style['line-height'] = '12px'
+PASS window.getComputedStyle(testDivNoAdjust).getPropertyValue('line-height') is &quot;12px&quot;
+Case with text size adjust.
+Platform supports -webkit-text-size-adjust
+FAIL window.getComputedStyle(testDivAdjust).getPropertyValue('line-height') should be normal. Was 36px.
+PASS window.getComputedStyle(testDivAdjust).getPropertyValue('font-size') is &quot;30px&quot;
+testDivAdjust.style['line-height'] = '1.6'
+PASS window.getComputedStyle(testDivAdjust).getPropertyValue('line-height') is &quot;48px&quot;
+testDivAdjust.style['line-height'] = '80%'
+PASS window.getComputedStyle(testDivAdjust).getPropertyValue('line-height') is &quot;24px&quot;
+testDivAdjust.style['line-height'] = '12px'
+PASS window.getComputedStyle(testDivAdjust).getPropertyValue('line-height') is &quot;18px&quot;
+PASS successfullyParsed is true
+
+TEST COMPLETE
+Test
+Test
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk2TestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk2/TestExpectations        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -8,6 +8,8 @@
</span><span class="cx"> tiled-drawing [ Pass ]
</span><span class="cx"> swipe [ Pass ]
</span><span class="cx"> 
</span><ins>+fast/text-autosizing/ios [ Pass ]
+
</ins><span class="cx"> fast/events/cancelled-force-click-link-navigation.html [ Pass ]
</span><span class="cx"> fast/events/force-click-link-selection-behavior.html [ Pass ]
</span><span class="cx"> fast/events/force-click-on-link-navigation.html [ Pass ]
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/JavaScriptCore/ChangeLog        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+2016-05-06  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Enable IOS_TEXT_AUTOSIZING on Mac and make it testable
+        https://bugs.webkit.org/show_bug.cgi?id=157432
+        rdar://problem/16406720
+
+        Reviewed by Dean Jackson.
+
+        Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.
+
+        * Configurations/FeatureDefines.xcconfig:
+
</ins><span class="cx"> 2016-05-06  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Web Inspector: Console: Variables defined with let/const aren't accessible outside of console's scope
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -107,7 +107,7 @@
</span><span class="cx"> ENABLE_MAC_GESTURE_EVENTS[sdk=macosx*] = $(ENABLE_MAC_GESTURE_EVENTS_macosx_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
</span><span class="cx"> ENABLE_MAC_GESTURE_EVENTS_macosx_WITH_INTERNAL_SDK_YES = ENABLE_MAC_GESTURE_EVENTS;
</span><span class="cx"> 
</span><del>-ENABLE_IOS_TEXT_AUTOSIZING[sdk=iphone*] = ENABLE_IOS_TEXT_AUTOSIZING;
</del><ins>+ENABLE_IOS_TEXT_AUTOSIZING = ENABLE_IOS_TEXT_AUTOSIZING;
</ins><span class="cx"> ENABLE_DATA_DETECTION = ENABLE_DATA_DETECTION;
</span><span class="cx"> 
</span><span class="cx"> ENABLE_IOS_TOUCH_EVENTS[sdk=iphone*] = $(ENABLE_IOS_TOUCH_EVENTS_ios_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebCore/ChangeLog        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -1,3 +1,74 @@
</span><ins>+2016-05-06  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Enable IOS_TEXT_AUTOSIZING on Mac and make it testable
+        https://bugs.webkit.org/show_bug.cgi?id=157432
+        rdar://problem/16406720
+
+        Reviewed by Dean Jackson.
+
+        Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.
+
+        Make the setTextAutosizingEnabled() Setting work, and plumb it through WK1 and WK2
+        preferences for WTR and DRT. Make textAutosizingWindowSizeOverride() work, for layout tests.
+        These two settings are shared with TEXT_AUTOSIZING.
+
+        Add a TextAutosizing log channel, which is useful for generated -expected.html results.
+
+        Move adjustComputedFontSizesOnBlocks() and related code from RenderObject to RenderElement
+        without changes.
+
+        An implication of this set of changes is that the way clients enable text autosizing
+        has changed. Previously, they set the &quot;MinimumZoomFontSize&quot; preference to 0.
+        Settings::defaultMinimumZoomFontSize() used to do this in order to enable text autosizing
+        on iPhone only, not iPad.
+
+        Now the preferred technique is to leave minimumZoomFontSize alone, and to use textAutosizingEnabled()
+        instead. Settings::defaultTextAutosizingEnabled() now does the check for iPhone.
+
+        UIWebView calls WebKitGetMinimumZoomFontSize() to setup the default minimum font zoom size,
+        which will now always return 15, but had no other code that toggled this. So it's safe to just rely
+        on Settings::defaultTextAutosizingEnabled() doing the right thing for iPhone/iPad.
+
+        Test: fast/text-autosizing/ios/autosize-width.html
+
+        * Configurations/FeatureDefines.xcconfig:
+        * dom/Document.cpp:
+        (WebCore::Document::addAutoSizingNode):
+        * page/FrameView.cpp:
+        (WebCore::FrameView::layout):
+        * page/Settings.cpp:
+        (WebCore::Settings::Settings): Deleted.
+        (WebCore::Settings::setTextAutosizingEnabled): Deleted.
+        (WebCore::Settings::setTextAutosizingWindowSizeOverride): Deleted.
+        * page/Settings.h:
+        (WebCore::Settings::textAutosizingEnabled): Deleted.
+        (WebCore::Settings::textAutosizingWindowSizeOverride): Deleted.
+        * page/Settings.in:
+        * page/cocoa/SettingsCocoa.mm:
+        (WebCore::Settings::defaultMinimumZoomFontSize):
+        (WebCore::Settings::defaultTextAutosizingEnabled):
+        * platform/Logging.h:
+        * rendering/RenderBlockFlow.cpp:
+        (WebCore::RenderBlockFlow::adjustComputedFontSizes):
+        * rendering/RenderElement.cpp:
+        (WebCore::includeNonFixedHeight):
+        (WebCore::RenderElement::adjustComputedFontSizesOnBlocks):
+        (WebCore::RenderElement::resetTextAutosizing):
+        * rendering/RenderElement.h:
+        * rendering/RenderObject.cpp:
+        (WebCore::includeNonFixedHeight): Deleted.
+        (WebCore::RenderObject::adjustComputedFontSizesOnBlocks): Deleted.
+        (WebCore::RenderObject::resetTextAutosizing): Deleted.
+        * rendering/RenderObject.h:
+        * rendering/TextAutoSizing.cpp:
+        (WebCore::TextAutoSizingValue::adjustNodeSizes):
+        * testing/InternalSettings.cpp:
+        (WebCore::InternalSettings::Backup::Backup):
+        (WebCore::InternalSettings::Backup::restoreTo):
+        (WebCore::InternalSettings::setTextAutosizingEnabled):
+        (WebCore::InternalSettings::setTextAutosizingWindowSizeOverride):
+        * testing/InternalSettings.h:
+
</ins><span class="cx"> 2016-05-06  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Web Inspector: Console: Variables defined with let/const aren't accessible outside of console's scope
</span></span></pre></div>
<a id="trunkSourceWebCoreConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -107,7 +107,7 @@
</span><span class="cx"> ENABLE_MAC_GESTURE_EVENTS[sdk=macosx*] = $(ENABLE_MAC_GESTURE_EVENTS_macosx_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
</span><span class="cx"> ENABLE_MAC_GESTURE_EVENTS_macosx_WITH_INTERNAL_SDK_YES = ENABLE_MAC_GESTURE_EVENTS;
</span><span class="cx"> 
</span><del>-ENABLE_IOS_TEXT_AUTOSIZING[sdk=iphone*] = ENABLE_IOS_TEXT_AUTOSIZING;
</del><ins>+ENABLE_IOS_TEXT_AUTOSIZING = ENABLE_IOS_TEXT_AUTOSIZING;
</ins><span class="cx"> ENABLE_DATA_DETECTION = ENABLE_DATA_DETECTION;
</span><span class="cx"> 
</span><span class="cx"> ENABLE_IOS_TOUCH_EVENTS[sdk=iphone*] = $(ENABLE_IOS_TOUCH_EVENTS_ios_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.cpp (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.cpp        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebCore/dom/Document.cpp        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -5280,8 +5280,11 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(IOS_TEXT_AUTOSIZING)
</span><ins>+
</ins><span class="cx"> void Document::addAutoSizingNode(Node* node, float candidateSize)
</span><span class="cx"> {
</span><ins>+    LOG(TextAutosizing, &quot; addAutoSizingNode %p candidateSize=%f&quot;, node, candidateSize);
+
</ins><span class="cx">     TextAutoSizingKey key(&amp;node-&gt;renderer()-&gt;style());
</span><span class="cx">     auto addResult = m_textAutoSizedNodes.ensure(WTFMove(key), [] {
</span><span class="cx">         return TextAutoSizingValue::create();
</span></span></pre></div>
<a id="trunkSourceWebCorepageFrameViewcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/FrameView.cpp (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/FrameView.cpp        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebCore/page/FrameView.cpp        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -1402,11 +1402,17 @@
</span><span class="cx">         ASSERT(m_layoutPhase == InRenderTreeLayout);
</span><span class="cx"> 
</span><span class="cx">         root-&gt;layout();
</span><ins>+
</ins><span class="cx"> #if ENABLE(IOS_TEXT_AUTOSIZING)
</span><del>-        if (Page* page = frame().page()) {
</del><ins>+        if (frame().settings().textAutosizingEnabled() &amp;&amp; !root-&gt;view().printing()) {
</ins><span class="cx">             float minimumZoomFontSize = frame().settings().minimumZoomFontSize();
</span><del>-            float textAutosizingWidth = page-&gt;textAutosizingWidth();
-            if (minimumZoomFontSize &amp;&amp; textAutosizingWidth &amp;&amp; !root-&gt;view().printing()) {
</del><ins>+            float textAutosizingWidth = frame().page() ? frame().page()-&gt;textAutosizingWidth() : 0;
+            if (int overrideWidth = frame().settings().textAutosizingWindowSizeOverride().width())
+                textAutosizingWidth = overrideWidth;
+
+            LOG(TextAutosizing, &quot;Text Autosizing: minimumZoomFontSize=%.2f textAutosizingWidth=%.2f&quot;, minimumZoomFontSize, textAutosizingWidth);
+            
+            if (minimumZoomFontSize &amp;&amp; textAutosizingWidth) {
</ins><span class="cx">                 root-&gt;adjustComputedFontSizesOnBlocks(minimumZoomFontSize, textAutosizingWidth);
</span><span class="cx">                 if (root-&gt;needsLayout())
</span><span class="cx">                     root-&gt;layout();
</span></span></pre></div>
<a id="trunkSourceWebCorepageSettingscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Settings.cpp (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Settings.cpp        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebCore/page/Settings.cpp        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -185,13 +185,7 @@
</span><span class="cx">     , m_minimumDOMTimerInterval(DOMTimer::defaultMinimumInterval())
</span><span class="cx"> #if ENABLE(TEXT_AUTOSIZING)
</span><span class="cx">     , m_textAutosizingFontScaleFactor(1)
</span><del>-#if HACK_FORCE_TEXT_AUTOSIZING_ON_DESKTOP
-    , m_textAutosizingWindowSizeOverride(320, 480)
-    , m_textAutosizingEnabled(true)
-#else
-    , m_textAutosizingEnabled(false)
</del><span class="cx"> #endif
</span><del>-#endif
</del><span class="cx">     SETTINGS_INITIALIZER_LIST
</span><span class="cx">     , m_isJavaEnabled(false)
</span><span class="cx">     , m_isJavaEnabledForLocalFiles(true)
</span><span class="lines">@@ -326,26 +320,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(TEXT_AUTOSIZING)
</span><del>-void Settings::setTextAutosizingEnabled(bool textAutosizingEnabled)
-{
-    if (m_textAutosizingEnabled == textAutosizingEnabled)
-        return;
-
-    m_textAutosizingEnabled = textAutosizingEnabled;
-    if (m_page)
-        m_page-&gt;setNeedsRecalcStyleInAllFrames();
-}
-
-void Settings::setTextAutosizingWindowSizeOverride(const IntSize&amp; textAutosizingWindowSizeOverride)
-{
-    if (m_textAutosizingWindowSizeOverride == textAutosizingWindowSizeOverride)
-        return;
-
-    m_textAutosizingWindowSizeOverride = textAutosizingWindowSizeOverride;
-    if (m_page)
-        m_page-&gt;setNeedsRecalcStyleInAllFrames();
-}
-
</del><span class="cx"> void Settings::setTextAutosizingFontScaleFactor(float fontScaleFactor)
</span><span class="cx"> {
</span><span class="cx">     m_textAutosizingFontScaleFactor = fontScaleFactor;
</span><span class="lines">@@ -359,7 +333,18 @@
</span><span class="cx"> 
</span><span class="cx">     m_page-&gt;setNeedsRecalcStyleInAllFrames();
</span><span class="cx"> }
</span><ins>+#endif
</ins><span class="cx"> 
</span><ins>+float Settings::defaultMinimumZoomFontSize()
+{
+    return 15;
+}
+
+#if !PLATFORM(IOS)
+bool Settings::defaultTextAutosizingEnabled()
+{
+    return false;
+}
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> void Settings::setMediaTypeOverride(const String&amp; mediaTypeOverride)
</span></span></pre></div>
<a id="trunkSourceWebCorepageSettingsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Settings.h (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Settings.h        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebCore/page/Settings.h        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -109,17 +109,13 @@
</span><span class="cx">     WEBCORE_EXPORT const AtomicString&amp; pictographFontFamily(UScriptCode = USCRIPT_COMMON) const;
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(TEXT_AUTOSIZING)
</span><del>-    void setTextAutosizingEnabled(bool);
-    bool textAutosizingEnabled() const { return m_textAutosizingEnabled; }
-
</del><span class="cx">     void setTextAutosizingFontScaleFactor(float);
</span><span class="cx">     float textAutosizingFontScaleFactor() const { return m_textAutosizingFontScaleFactor; }
</span><del>-
-    // Only set by Layout Tests, and only used if textAutosizingEnabled() returns true.
-    void setTextAutosizingWindowSizeOverride(const IntSize&amp;);
-    const IntSize&amp; textAutosizingWindowSizeOverride() const { return m_textAutosizingWindowSizeOverride; }
</del><span class="cx"> #endif
</span><span class="cx"> 
</span><ins>+    WEBCORE_EXPORT static bool defaultTextAutosizingEnabled();
+    WEBCORE_EXPORT static float defaultMinimumZoomFontSize();
+
</ins><span class="cx">     // Only set by Layout Tests.
</span><span class="cx">     WEBCORE_EXPORT void setMediaTypeOverride(const String&amp;);
</span><span class="cx">     const String&amp; mediaTypeOverride() const { return m_mediaTypeOverride; }
</span><span class="lines">@@ -290,10 +286,6 @@
</span><span class="cx">     WEBCORE_EXPORT void setForcePendingWebGLPolicy(bool);
</span><span class="cx">     bool isForcePendingWebGLPolicy() const { return m_forcePendingWebGLPolicy; }
</span><span class="cx">     
</span><del>-#if PLATFORM(IOS)
-    WEBCORE_EXPORT static float defaultMinimumZoomFontSize();
-#endif
-
</del><span class="cx"> #if USE(APPLE_INTERNAL_SDK)
</span><span class="cx"> #import &lt;WebKitAdditions/SettingsGettersAndSetters.h&gt;
</span><span class="cx"> #endif
</span><span class="lines">@@ -314,8 +306,6 @@
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(TEXT_AUTOSIZING)
</span><span class="cx">     float m_textAutosizingFontScaleFactor;
</span><del>-    IntSize m_textAutosizingWindowSizeOverride;
-    bool m_textAutosizingEnabled : 1;
</del><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx">     SETTINGS_MEMBER_VARIABLES
</span></span></pre></div>
<a id="trunkSourceWebCorepageSettingsin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Settings.in (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Settings.in        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebCore/page/Settings.in        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -197,8 +197,14 @@
</span><span class="cx"> useLegacyBackgroundSizeShorthandBehavior initial=false
</span><span class="cx"> fixedBackgroundsPaintRelativeToDocument initial=defaultFixedBackgroundsPaintRelativeToDocument
</span><span class="cx"> 
</span><del>-minimumZoomFontSize type=float, initial=15, conditional=IOS_TEXT_AUTOSIZING
</del><ins>+textAutosizingEnabled initial=false, setNeedsStyleRecalcInAllFrames=1, conditional=TEXT_AUTOSIZING
+textAutosizingEnabled initial=defaultTextAutosizingEnabled(), setNeedsStyleRecalcInAllFrames=1, conditional=IOS_TEXT_AUTOSIZING
</ins><span class="cx"> 
</span><ins>+textAutosizingWindowSizeOverride type=IntSize, setNeedsStyleRecalcInAllFrames=1, conditional=TEXT_AUTOSIZING
+textAutosizingWindowSizeOverride type=IntSize, setNeedsStyleRecalcInAllFrames=1, conditional=IOS_TEXT_AUTOSIZING
+
+minimumZoomFontSize type=float, initial=defaultMinimumZoomFontSize(), conditional=IOS_TEXT_AUTOSIZING
+
</ins><span class="cx"> simpleLineLayoutEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
</span><span class="cx"> simpleLineLayoutDebugBordersEnabled initial=false, setNeedsStyleRecalcInAllFrames=1
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorepagecocoaSettingsCocoamm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/cocoa/SettingsCocoa.mm (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/cocoa/SettingsCocoa.mm        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebCore/page/cocoa/SettingsCocoa.mm        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -111,12 +111,10 @@
</span><span class="cx">     setSerifFontFamily(&quot;Times&quot;, USCRIPT_COMMON);
</span><span class="cx">     setSansSerifFontFamily(&quot;Helvetica&quot;, USCRIPT_COMMON);
</span><span class="cx"> }
</span><del>-    
-float Settings::defaultMinimumZoomFontSize()
</del><ins>+
+bool Settings::defaultTextAutosizingEnabled()
</ins><span class="cx"> {
</span><del>-    if (deviceHasIPadCapability() &amp;&amp; ![[getUIApplicationClass() sharedApplication] _isClassic])
-        return 0;
-    return 15;
</del><ins>+    return !deviceHasIPadCapability() || [[getUIApplicationClass() sharedApplication] _isClassic];
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformLoggingh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/Logging.h (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/Logging.h        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebCore/platform/Logging.h        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -81,6 +81,7 @@
</span><span class="cx">     M(Scrolling) \
</span><span class="cx">     M(SpellingAndGrammar) \
</span><span class="cx">     M(StorageAPI) \
</span><ins>+    M(TextAutosizing) \
</ins><span class="cx">     M(Threading) \
</span><span class="cx">     M(WebAudio) \
</span><span class="cx">     M(WebGL) \
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderBlockFlowcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderBlockFlow.cpp (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderBlockFlow.cpp        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebCore/rendering/RenderBlockFlow.cpp        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -32,6 +32,7 @@
</span><span class="cx"> #include &quot;HitTestLocation.h&quot;
</span><span class="cx"> #include &quot;InlineTextBox.h&quot;
</span><span class="cx"> #include &quot;LayoutRepainter.h&quot;
</span><ins>+#include &quot;Logging.h&quot;
</ins><span class="cx"> #include &quot;RenderCombineText.h&quot;
</span><span class="cx"> #include &quot;RenderFlowThread.h&quot;
</span><span class="cx"> #include &quot;RenderInline.h&quot;
</span><span class="lines">@@ -3761,6 +3762,8 @@
</span><span class="cx"> 
</span><span class="cx"> void RenderBlockFlow::adjustComputedFontSizes(float size, float visibleWidth)
</span><span class="cx"> {
</span><ins>+    LOG(TextAutosizing, &quot;RenderBlockFlow %p adjustComputedFontSizes, size=%f visibleWidth=%f, width()=%f. Bailing: %d&quot;, this, size, visibleWidth, width().toFloat(), visibleWidth &gt;= width());
+
</ins><span class="cx">     // Don't do any work if the block is smaller than the visible area.
</span><span class="cx">     if (visibleWidth &gt;= width())
</span><span class="cx">         return;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderElement.cpp (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderElement.cpp        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebCore/rendering/RenderElement.cpp        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -2167,6 +2167,79 @@
</span><span class="cx">         downcast&lt;RenderBoxModelObject&gt;(*this).continuation()-&gt;updateOutlineAutoAncestor(hasOutlineAuto);
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+#if ENABLE(IOS_TEXT_AUTOSIZING)
+static RenderObject::BlockContentHeightType includeNonFixedHeight(const RenderObject* renderer)
+{
+    const RenderStyle&amp; style = renderer-&gt;style();
+    if (style.height().type() == Fixed) {
+        if (is&lt;RenderBlock&gt;(*renderer)) {
+            // For fixed height styles, if the overflow size of the element spills out of the specified
+            // height, assume we can apply text auto-sizing.
+            if (style.overflowY() == OVISIBLE
+                &amp;&amp; style.height().value() &lt; downcast&lt;RenderBlock&gt;(renderer)-&gt;layoutOverflowRect().maxY())
+                return RenderObject::OverflowHeight;
+        }
+        return RenderObject::FixedHeight;
+    }
+    return RenderObject::FlexibleHeight;
+}
+
+void RenderElement::adjustComputedFontSizesOnBlocks(float size, float visibleWidth)
+{
+    Document* document = view().frameView().frame().document();
+    if (!document)
+        return;
+
+    Vector&lt;int&gt; depthStack;
+    int currentDepth = 0;
+    int newFixedDepth = 0;
+
+    // We don't apply autosizing to nodes with fixed height normally.
+    // But we apply it to nodes which are located deep enough
+    // (nesting depth is greater than some const) inside of a parent block
+    // which has fixed height but its content overflows intentionally.
+    for (RenderObject* descendent = traverseNext(this, includeNonFixedHeight, currentDepth, newFixedDepth); descendent; descendent = descendent-&gt;traverseNext(this, includeNonFixedHeight, currentDepth, newFixedDepth)) {
+        while (depthStack.size() &gt; 0 &amp;&amp; currentDepth &lt;= depthStack[depthStack.size() - 1])
+            depthStack.remove(depthStack.size() - 1);
+        if (newFixedDepth)
+            depthStack.append(newFixedDepth);
+
+        int stackSize = depthStack.size();
+        if (is&lt;RenderBlockFlow&gt;(*descendent) &amp;&amp; !descendent-&gt;isListItem() &amp;&amp; (!stackSize || currentDepth - depthStack[stackSize - 1] &gt; TextAutoSizingFixedHeightDepth))
+            downcast&lt;RenderBlockFlow&gt;(*descendent).adjustComputedFontSizes(size, visibleWidth);
+        newFixedDepth = 0;
+    }
+
+    // Remove style from auto-sizing table that are no longer valid.
+    document-&gt;validateAutoSizingNodes();
+}
+
+void RenderElement::resetTextAutosizing()
+{
+    Document* document = view().frameView().frame().document();
+    if (!document)
+        return;
+
+    document-&gt;resetAutoSizingNodes();
+
+    Vector&lt;int&gt; depthStack;
+    int currentDepth = 0;
+    int newFixedDepth = 0;
+
+    for (RenderObject* descendent = traverseNext(this, includeNonFixedHeight, currentDepth, newFixedDepth); descendent; descendent = descendent-&gt;traverseNext(this, includeNonFixedHeight, currentDepth, newFixedDepth)) {
+        while (depthStack.size() &gt; 0 &amp;&amp; currentDepth &lt;= depthStack[depthStack.size() - 1])
+            depthStack.remove(depthStack.size() - 1);
+        if (newFixedDepth)
+            depthStack.append(newFixedDepth);
+
+        int stackSize = depthStack.size();
+        if (is&lt;RenderBlockFlow&gt;(*descendent) &amp;&amp; !descendent-&gt;isListItem() &amp;&amp; (!stackSize || currentDepth - depthStack[stackSize - 1] &gt; TextAutoSizingFixedHeightDepth))
+            downcast&lt;RenderBlockFlow&gt;(*descendent).resetComputedFontSize();
+        newFixedDepth = 0;
+    }
+}
+#endif // ENABLE(IOS_TEXT_AUTOSIZING)
+
</ins><span class="cx"> RenderBlock* containingBlockForFixedPosition(const RenderElement* element)
</span><span class="cx"> {
</span><span class="cx">     const auto* object = element;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderElement.h (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderElement.h        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebCore/rendering/RenderElement.h        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -215,6 +215,11 @@
</span><span class="cx">     bool childRequiresTable(const RenderObject&amp; child) const;
</span><span class="cx">     bool hasContinuation() const { return m_hasContinuation; }
</span><span class="cx"> 
</span><ins>+#if ENABLE(IOS_TEXT_AUTOSIZING)
+    void adjustComputedFontSizesOnBlocks(float size, float visibleWidth);
+    WEBCORE_EXPORT void resetTextAutosizing();
+#endif
+
</ins><span class="cx"> protected:
</span><span class="cx">     enum BaseTypeFlag {
</span><span class="cx">         RenderLayerModelObjectFlag  = 1 &lt;&lt; 0,
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderObject.cpp (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderObject.cpp        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebCore/rendering/RenderObject.cpp        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -404,78 +404,6 @@
</span><span class="cx">     }
</span><span class="cx">     return nullptr;
</span><span class="cx"> }
</span><del>-
-static RenderObject::BlockContentHeightType includeNonFixedHeight(const RenderObject* renderer)
-{
-    const RenderStyle&amp; style = renderer-&gt;style();
-    if (style.height().type() == Fixed) {
-        if (is&lt;RenderBlock&gt;(*renderer)) {
-            // For fixed height styles, if the overflow size of the element spills out of the specified
-            // height, assume we can apply text auto-sizing.
-            if (style.overflowY() == OVISIBLE
-                &amp;&amp; style.height().value() &lt; downcast&lt;RenderBlock&gt;(renderer)-&gt;layoutOverflowRect().maxY())
-                return RenderObject::OverflowHeight;
-        }
-        return RenderObject::FixedHeight;
-    }
-    return RenderObject::FlexibleHeight;
-}
-
-
-void RenderObject::adjustComputedFontSizesOnBlocks(float size, float visibleWidth)
-{
-    Document* document = view().frameView().frame().document();
-    if (!document)
-        return;
-
-    Vector&lt;int&gt; depthStack;
-    int currentDepth = 0;
-    int newFixedDepth = 0;
-
-    // We don't apply autosizing to nodes with fixed height normally.
-    // But we apply it to nodes which are located deep enough
-    // (nesting depth is greater than some const) inside of a parent block
-    // which has fixed height but its content overflows intentionally.
-    for (RenderObject* descendent = traverseNext(this, includeNonFixedHeight, currentDepth, newFixedDepth); descendent; descendent = descendent-&gt;traverseNext(this, includeNonFixedHeight, currentDepth, newFixedDepth)) {
-        while (depthStack.size() &gt; 0 &amp;&amp; currentDepth &lt;= depthStack[depthStack.size() - 1])
-            depthStack.remove(depthStack.size() - 1);
-        if (newFixedDepth)
-            depthStack.append(newFixedDepth);
-
-        int stackSize = depthStack.size();
-        if (is&lt;RenderBlockFlow&gt;(*descendent) &amp;&amp; !descendent-&gt;isListItem() &amp;&amp; (!stackSize || currentDepth - depthStack[stackSize - 1] &gt; TextAutoSizingFixedHeightDepth))
-            downcast&lt;RenderBlockFlow&gt;(*descendent).adjustComputedFontSizes(size, visibleWidth);
-        newFixedDepth = 0;
-    }
-
-    // Remove style from auto-sizing table that are no longer valid.
-    document-&gt;validateAutoSizingNodes();
-}
-
-void RenderObject::resetTextAutosizing()
-{
-    Document* document = view().frameView().frame().document();
-    if (!document)
-        return;
-
-    document-&gt;resetAutoSizingNodes();
-
-    Vector&lt;int&gt; depthStack;
-    int currentDepth = 0;
-    int newFixedDepth = 0;
-
-    for (RenderObject* descendent = traverseNext(this, includeNonFixedHeight, currentDepth, newFixedDepth); descendent; descendent = descendent-&gt;traverseNext(this, includeNonFixedHeight, currentDepth, newFixedDepth)) {
-        while (depthStack.size() &gt; 0 &amp;&amp; currentDepth &lt;= depthStack[depthStack.size() - 1])
-            depthStack.remove(depthStack.size() - 1);
-        if (newFixedDepth)
-            depthStack.append(newFixedDepth);
-
-        int stackSize = depthStack.size();
-        if (is&lt;RenderBlockFlow&gt;(*descendent) &amp;&amp; !descendent-&gt;isListItem() &amp;&amp; (!stackSize || currentDepth - depthStack[stackSize - 1] &gt; TextAutoSizingFixedHeightDepth))
-            downcast&lt;RenderBlockFlow&gt;(*descendent).resetComputedFontSize();
-        newFixedDepth = 0;
-    }
-}
</del><span class="cx"> #endif // ENABLE(IOS_TEXT_AUTOSIZING)
</span><span class="cx"> 
</span><span class="cx"> RenderLayer* RenderObject::enclosingLayer() const
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderObjecth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderObject.h (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderObject.h        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebCore/rendering/RenderObject.h        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -195,9 +195,6 @@
</span><span class="cx"> 
</span><span class="cx">     RenderObject* traverseNext(const RenderObject* stayWithin, TraverseNextInclusionFunction) const;
</span><span class="cx">     RenderObject* traverseNext(const RenderObject* stayWithin, HeightTypeTraverseNextInclusionFunction, int&amp; currentDepth,  int&amp; newFixedDepth) const;
</span><del>-
-    void adjustComputedFontSizesOnBlocks(float size, float visibleWidth);
-    WEBCORE_EXPORT void resetTextAutosizing();
</del><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx">     WEBCORE_EXPORT RenderLayer* enclosingLayer() const;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingTextAutoSizingcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/TextAutoSizing.cpp (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/TextAutoSizing.cpp        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebCore/rendering/TextAutoSizing.cpp        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -30,6 +30,7 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;CSSFontSelector.h&quot;
</span><span class="cx"> #include &quot;Document.h&quot;
</span><ins>+#include &quot;Logging.h&quot;
</ins><span class="cx"> #include &quot;RenderListMarker.h&quot;
</span><span class="cx"> #include &quot;RenderText.h&quot;
</span><span class="cx"> #include &quot;StyleResolver.h&quot;
</span><span class="lines">@@ -116,7 +117,9 @@
</span><span class="cx">                 averageSize = roundf(specifiedSize * MAX_SCALE_INCREASE);
</span><span class="cx">                 scaleChange = averageSize / specifiedSize;
</span><span class="cx">             }
</span><del>-            
</del><ins>+
+            LOG(TextAutosizing, &quot;  adjust node size %p firstPass=%d averageSize=%f scaleChange=%f&quot;, autoSizingNode.get(), firstPass, averageSize, scaleChange);
+
</ins><span class="cx">             auto style = cloneRenderStyleWithState(text-&gt;style());
</span><span class="cx">             auto fontDescription = style.fontDescription();
</span><span class="cx">             fontDescription.setComputedSize(averageSize);
</span></span></pre></div>
<a id="trunkSourceWebCoretestingInternalSettingscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/InternalSettings.cpp (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/InternalSettings.cpp        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebCore/testing/InternalSettings.cpp        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -67,9 +67,11 @@
</span><span class="cx"> 
</span><span class="cx"> InternalSettings::Backup::Backup(Settings&amp; settings)
</span><span class="cx">     : m_originalEditingBehavior(settings.editingBehaviorType())
</span><del>-#if ENABLE(TEXT_AUTOSIZING)
</del><ins>+#if ENABLE(TEXT_AUTOSIZING) || ENABLE(IOS_TEXT_AUTOSIZING)
</ins><span class="cx">     , m_originalTextAutosizingEnabled(settings.textAutosizingEnabled())
</span><span class="cx">     , m_originalTextAutosizingWindowSizeOverride(settings.textAutosizingWindowSizeOverride())
</span><ins>+#endif
+#if ENABLE(TEXT_AUTOSIZING)
</ins><span class="cx">     , m_originalTextAutosizingFontScaleFactor(settings.textAutosizingFontScaleFactor())
</span><span class="cx"> #endif
</span><span class="cx">     , m_originalMediaTypeOverride(settings.mediaTypeOverride())
</span><span class="lines">@@ -142,9 +144,11 @@
</span><span class="cx">         settings.setPictographFontFamily(pictographFont.value, static_cast&lt;UScriptCode&gt;(pictographFont.key));
</span><span class="cx">     m_pictographFontFamilies.clear();
</span><span class="cx"> 
</span><del>-#if ENABLE(TEXT_AUTOSIZING)
</del><ins>+#if ENABLE(TEXT_AUTOSIZING) || ENABLE(IOS_TEXT_AUTOSIZING)
</ins><span class="cx">     settings.setTextAutosizingEnabled(m_originalTextAutosizingEnabled);
</span><span class="cx">     settings.setTextAutosizingWindowSizeOverride(m_originalTextAutosizingWindowSizeOverride);
</span><ins>+#endif
+#if ENABLE(TEXT_AUTOSIZING)
</ins><span class="cx">     settings.setTextAutosizingFontScaleFactor(m_originalTextAutosizingFontScaleFactor);
</span><span class="cx"> #endif
</span><span class="cx">     settings.setMediaTypeOverride(m_originalMediaTypeOverride);
</span><span class="lines">@@ -325,7 +329,7 @@
</span><span class="cx"> 
</span><span class="cx"> void InternalSettings::setTextAutosizingEnabled(bool enabled, ExceptionCode&amp; ec)
</span><span class="cx"> {
</span><del>-#if ENABLE(TEXT_AUTOSIZING)
</del><ins>+#if ENABLE(TEXT_AUTOSIZING) || ENABLE(IOS_TEXT_AUTOSIZING)
</ins><span class="cx">     InternalSettingsGuardForSettings();
</span><span class="cx">     settings()-&gt;setTextAutosizingEnabled(enabled);
</span><span class="cx"> #else
</span><span class="lines">@@ -336,7 +340,7 @@
</span><span class="cx"> 
</span><span class="cx"> void InternalSettings::setTextAutosizingWindowSizeOverride(int width, int height, ExceptionCode&amp; ec)
</span><span class="cx"> {
</span><del>-#if ENABLE(TEXT_AUTOSIZING)
</del><ins>+#if ENABLE(TEXT_AUTOSIZING) || ENABLE(IOS_TEXT_AUTOSIZING)
</ins><span class="cx">     InternalSettingsGuardForSettings();
</span><span class="cx">     settings()-&gt;setTextAutosizingWindowSizeOverride(IntSize(width, height));
</span><span class="cx"> #else
</span></span></pre></div>
<a id="trunkSourceWebCoretestingInternalSettingsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/InternalSettings.h (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/InternalSettings.h        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebCore/testing/InternalSettings.h        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -64,11 +64,15 @@
</span><span class="cx">         ScriptFontFamilyMap m_fantasyFontFamilies;
</span><span class="cx">         ScriptFontFamilyMap m_pictographFontFamilies;
</span><span class="cx"> 
</span><del>-#if ENABLE(TEXT_AUTOSIZING)
</del><ins>+#if ENABLE(TEXT_AUTOSIZING) || ENABLE(IOS_TEXT_AUTOSIZING)
</ins><span class="cx">         bool m_originalTextAutosizingEnabled;
</span><span class="cx">         IntSize m_originalTextAutosizingWindowSizeOverride;
</span><ins>+#endif
+
+#if ENABLE(TEXT_AUTOSIZING)
</ins><span class="cx">         float m_originalTextAutosizingFontScaleFactor;
</span><span class="cx"> #endif
</span><ins>+
</ins><span class="cx">         String m_originalMediaTypeOverride;
</span><span class="cx">         bool m_originalCanvasUsesAcceleratedDrawing;
</span><span class="cx">         bool m_originalMockScrollbarsEnabled;
</span></span></pre></div>
<a id="trunkSourceWebKitiosChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ios/ChangeLog (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ios/ChangeLog        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebKit/ios/ChangeLog        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -1,3 +1,37 @@
</span><ins>+2016-05-06  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Enable IOS_TEXT_AUTOSIZING on Mac and make it testable
+        https://bugs.webkit.org/show_bug.cgi?id=157432
+        rdar://problem/16406720
+
+        Reviewed by Dean Jackson.
+
+        Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.
+
+        Make the setTextAutosizingEnabled() Setting work, and plumb it through WK1 and WK2
+        preferences for WTR and DRT. Make textAutosizingWindowSizeOverride() work, for layout tests.
+        These two settings are shared with TEXT_AUTOSIZING.
+
+        Add a TextAutosizing log channel, which is useful for generated -expected.html results.
+
+        Move adjustComputedFontSizesOnBlocks() and related code from RenderObject to RenderElement
+        without changes.
+
+        An implication of this set of changes is that the way clients enable text autosizing
+        has changed. Previously, they set the &quot;MinimumZoomFontSize&quot; preference to 0.
+        Settings::defaultMinimumZoomFontSize() used to do this in order to enable text autosizing
+        on iPhone only, not iPad.
+
+        Now the preferred technique is to leave minimumZoomFontSize alone, and to use textAutosizingEnabled()
+        instead. Settings::defaultTextAutosizingEnabled() now does the check for iPhone.
+
+        UIWebView calls WebKitGetMinimumZoomFontSize() to setup the default minimum font zoom size,
+        which will now always return 15, but had no other code that toggled this. So it's safe to just rely
+        on Settings::defaultTextAutosizingEnabled() doing the right thing for iPhone/iPad.
+
+        * Misc/WebUIKitSupport.mm:
+        (WebKitGetMinimumZoomFontSize):
+
</ins><span class="cx"> 2016-03-16  Jiewen Tan  &lt;jiewen_tan@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         URL Parsing should signal failure for illegal IDN
</span></span></pre></div>
<a id="trunkSourceWebKitiosMiscWebUIKitSupportmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ios/Misc/WebUIKitSupport.mm (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ios/Misc/WebUIKitSupport.mm        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebKit/ios/Misc/WebUIKitSupport.mm        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -84,7 +84,7 @@
</span><span class="cx"> 
</span><span class="cx"> float WebKitGetMinimumZoomFontSize(void)
</span><span class="cx"> {
</span><del>-    return Settings::defaultMinimumZoomFontSize();
</del><ins>+    return WebCore::Settings::defaultMinimumZoomFontSize();
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> int WebKitGetLastLineBreakInBuffer(UChar *characters, int position, int length)
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebKit/mac/ChangeLog        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -1,3 +1,42 @@
</span><ins>+2016-05-06  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Enable IOS_TEXT_AUTOSIZING on Mac and make it testable
+        https://bugs.webkit.org/show_bug.cgi?id=157432
+        rdar://problem/16406720
+
+        Reviewed by Dean Jackson.
+
+        Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.
+
+        Make the setTextAutosizingEnabled() Setting work, and plumb it through WK1 and WK2
+        preferences for WTR and DRT. Make textAutosizingWindowSizeOverride() work, for layout tests.
+        These two settings are shared with TEXT_AUTOSIZING.
+
+        Add a TextAutosizing log channel, which is useful for generated -expected.html results.
+
+        Move adjustComputedFontSizesOnBlocks() and related code from RenderObject to RenderElement
+        without changes.
+
+        An implication of this set of changes is that the way clients enable text autosizing
+        has changed. Previously, they set the &quot;MinimumZoomFontSize&quot; preference to 0.
+        Settings::defaultMinimumZoomFontSize() used to do this in order to enable text autosizing
+        on iPhone only, not iPad.
+
+        Now the preferred technique is to leave minimumZoomFontSize alone, and to use textAutosizingEnabled()
+        instead. Settings::defaultTextAutosizingEnabled() now does the check for iPhone.
+
+        UIWebView calls WebKitGetMinimumZoomFontSize() to setup the default minimum font zoom size,
+        which will now always return 15, but had no other code that toggled this. So it's safe to just rely
+        on Settings::defaultTextAutosizingEnabled() doing the right thing for iPhone/iPad.
+
+        * Configurations/FeatureDefines.xcconfig:
+        * WebView/WebPreferenceKeysPrivate.h:
+        * WebView/WebPreferences.mm:
+        (+[WebPreferences initialize]):
+        (-[WebPreferences _setTextAutosizingEnabled:]):
+        (-[WebPreferences _textAutosizingEnabled]):
+        * WebView/WebPreferencesPrivate.h:
+
</ins><span class="cx"> 2016-05-06  Dean Jackson  &lt;dino@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Regions, Shapes and Tracks don't need runtime features
</span></span></pre></div>
<a id="trunkSourceWebKitmacConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -107,7 +107,7 @@
</span><span class="cx"> ENABLE_MAC_GESTURE_EVENTS[sdk=macosx*] = $(ENABLE_MAC_GESTURE_EVENTS_macosx_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
</span><span class="cx"> ENABLE_MAC_GESTURE_EVENTS_macosx_WITH_INTERNAL_SDK_YES = ENABLE_MAC_GESTURE_EVENTS;
</span><span class="cx"> 
</span><del>-ENABLE_IOS_TEXT_AUTOSIZING[sdk=iphone*] = ENABLE_IOS_TEXT_AUTOSIZING;
</del><ins>+ENABLE_IOS_TEXT_AUTOSIZING = ENABLE_IOS_TEXT_AUTOSIZING;
</ins><span class="cx"> ENABLE_DATA_DETECTION = ENABLE_DATA_DETECTION;
</span><span class="cx"> 
</span><span class="cx"> ENABLE_IOS_TOUCH_EVENTS[sdk=iphone*] = $(ENABLE_IOS_TOUCH_EVENTS_ios_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebPreferenceKeysPrivateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebPreferenceKeysPrivate.h (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebPreferenceKeysPrivate.h        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebKit/mac/WebView/WebPreferenceKeysPrivate.h        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -184,6 +184,7 @@
</span><span class="cx"> #define WebKitWantsBalancedSetDefersLoadingBehaviorKey @&quot;WebKitWantsBalancedSetDefersLoadingBehavior&quot;
</span><span class="cx"> #define WebKitDebugFullPageZoomPreferenceKey @&quot;WebKitDebugFullPageZoomPreferenceKey&quot;
</span><span class="cx"> #define WebKitMinimumZoomFontSizePreferenceKey @&quot;WebKitMinimumZoomFontSizePreferenceKey&quot;
</span><ins>+#define WebKitTextAutosizingEnabledPreferenceKey @&quot;WebKitTextAutosizingEnabled&quot;
</ins><span class="cx"> #define WebKitHTTPEquivEnabledPreferenceKey @&quot;WebKitHTTPEquivEnabled&quot;
</span><span class="cx"> 
</span><span class="cx"> #if TARGET_OS_IPHONE
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebPreferencesmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebPreferences.mm (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebPreferences.mm        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebKit/mac/WebView/WebPreferences.mm        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -579,6 +579,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> #if ENABLE(IOS_TEXT_AUTOSIZING)
</span><span class="cx">         [NSNumber numberWithFloat:Settings::defaultMinimumZoomFontSize()], WebKitMinimumZoomFontSizePreferenceKey,
</span><ins>+        [NSNumber numberWithBool:Settings::defaultTextAutosizingEnabled()], WebKitTextAutosizingEnabledPreferenceKey,
</ins><span class="cx"> #endif
</span><span class="cx">         [NSNumber numberWithLongLong:ApplicationCacheStorage::noQuota()], WebKitApplicationCacheTotalQuota,
</span><span class="cx">         [NSNumber numberWithLongLong:ApplicationCacheStorage::noQuota()], WebKitApplicationCacheDefaultOriginQuota,
</span><span class="lines">@@ -1475,6 +1476,16 @@
</span><span class="cx"> {
</span><span class="cx">     return [self _floatValueForKey:WebKitMinimumZoomFontSizePreferenceKey];
</span><span class="cx"> }
</span><ins>+
+- (void)_setTextAutosizingEnabled:(BOOL)enabled
+{
+    [self _setBoolValue:enabled forKey:WebKitTextAutosizingEnabledPreferenceKey];
+}
+
+- (BOOL)_textAutosizingEnabled
+{
+    return [self _boolValueForKey:WebKitTextAutosizingEnabledPreferenceKey];
+}
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebPreferencesPrivateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebPreferencesPrivate.h (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebPreferencesPrivate.h        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebKit/mac/WebView/WebPreferencesPrivate.h        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -314,6 +314,9 @@
</span><span class="cx"> - (BOOL)mediaPlaybackAllowsAirPlay;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><ins>+- (void)_setTextAutosizingEnabled:(BOOL)enabled;
+- (BOOL)_textAutosizingEnabled;
+
</ins><span class="cx"> - (BOOL)isInheritURIQueryComponentEnabled;
</span><span class="cx"> - (void)setEnableInheritURIQueryComponent:(BOOL)flag;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebKit2/ChangeLog        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -1,3 +1,43 @@
</span><ins>+2016-05-06  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Enable IOS_TEXT_AUTOSIZING on Mac and make it testable
+        https://bugs.webkit.org/show_bug.cgi?id=157432
+        rdar://problem/16406720
+
+        Reviewed by Dean Jackson.
+
+        Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.
+        
+        Make the setTextAutosizingEnabled() Setting work, and plumb it through WK1 and WK2
+        preferences for WTR and DRT. Make textAutosizingWindowSizeOverride() work, for layout tests.
+        These two settings are shared with TEXT_AUTOSIZING.
+
+        Add a TextAutosizing log channel, which is useful for generated -expected.html results.
+
+        Move adjustComputedFontSizesOnBlocks() and related code from RenderObject to RenderElement
+        without changes.
+
+        An implication of this set of changes is that the way clients enable text autosizing
+        has changed. Previously, they set the &quot;MinimumZoomFontSize&quot; preference to 0.
+        Settings::defaultMinimumZoomFontSize() used to do this in order to enable text autosizing
+        on iPhone only, not iPad.
+
+        Now the preferred technique is to leave minimumZoomFontSize alone, and to use textAutosizingEnabled()
+        instead. Settings::defaultTextAutosizingEnabled() now does the check for iPhone.
+
+        UIWebView calls WebKitGetMinimumZoomFontSize() to setup the default minimum font zoom size,
+        which will now always return 15, but had no other code that toggled this. So it's safe to just rely
+        on Settings::defaultTextAutosizingEnabled() doing the right thing for iPhone/iPad.
+
+        * Configurations/FeatureDefines.xcconfig:
+        * Shared/WebPreferencesDefinitions.h:
+        * UIProcess/API/Cocoa/WKPreferences.mm:
+        (-[WKPreferences _textAutosizingEnabled]):
+        (-[WKPreferences _setTextAutosizingEnabled:]):
+        * UIProcess/API/Cocoa/WKPreferencesPrivate.h:
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::updatePreferences):
+
</ins><span class="cx"> 2016-05-06  Dean Jackson  &lt;dino@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Regions, Shapes and Tracks don't need runtime features
</span></span></pre></div>
<a id="trunkSourceWebKit2ConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -107,7 +107,7 @@
</span><span class="cx"> ENABLE_MAC_GESTURE_EVENTS[sdk=macosx*] = $(ENABLE_MAC_GESTURE_EVENTS_macosx_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
</span><span class="cx"> ENABLE_MAC_GESTURE_EVENTS_macosx_WITH_INTERNAL_SDK_YES = ENABLE_MAC_GESTURE_EVENTS;
</span><span class="cx"> 
</span><del>-ENABLE_IOS_TEXT_AUTOSIZING[sdk=iphone*] = ENABLE_IOS_TEXT_AUTOSIZING;
</del><ins>+ENABLE_IOS_TEXT_AUTOSIZING = ENABLE_IOS_TEXT_AUTOSIZING;
</ins><span class="cx"> ENABLE_DATA_DETECTION = ENABLE_DATA_DETECTION;
</span><span class="cx"> 
</span><span class="cx"> ENABLE_IOS_TOUCH_EVENTS[sdk=iphone*] = $(ENABLE_IOS_TOUCH_EVENTS_ios_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedWebPreferencesDefinitionsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -69,7 +69,6 @@
</span><span class="cx"> #define DEFAULT_TEXT_AREAS_ARE_RESIZABLE false
</span><span class="cx"> #define DEFAULT_JAVASCRIPT_CAN_OPEN_WINDOWS_AUTOMATICALLY false
</span><span class="cx"> #define DEFAULT_SHOULD_RESPECT_IMAGE_ORIENTATION true
</span><del>-#define DEFAULT_MINIMUM_FONT_ZOOM_SIZE WebCore::Settings::defaultMinimumZoomFontSize()
</del><span class="cx"> #define DEFAULT_PASSWORD_ECHO_ENABLED true
</span><span class="cx"> #define DEFAULT_ALLOWS_INLINE_MEDIA_PLAYBACK false
</span><span class="cx"> #define DEFAULT_INLINE_MEDIA_PLAYBACK_REQUIRES_PLAYS_INLINE_ATTRIBUTE true
</span><span class="lines">@@ -85,7 +84,6 @@
</span><span class="cx"> #define DEFAULT_TEXT_AREAS_ARE_RESIZABLE true
</span><span class="cx"> #define DEFAULT_JAVASCRIPT_CAN_OPEN_WINDOWS_AUTOMATICALLY true
</span><span class="cx"> #define DEFAULT_SHOULD_RESPECT_IMAGE_ORIENTATION false
</span><del>-#define DEFAULT_MINIMUM_FONT_ZOOM_SIZE 0
</del><span class="cx"> #define DEFAULT_PASSWORD_ECHO_ENABLED false
</span><span class="cx"> #define DEFAULT_ALLOWS_INLINE_MEDIA_PLAYBACK true
</span><span class="cx"> #define DEFAULT_INLINE_MEDIA_PLAYBACK_REQUIRES_PLAYS_INLINE_ATTRIBUTE false
</span><span class="lines">@@ -194,7 +192,7 @@
</span><span class="cx">     macro(PrimaryPlugInSnapshotDetectionEnabled, primaryPlugInSnapshotDetectionEnabled, Bool, bool, true, &quot;&quot;, &quot;&quot;) \
</span><span class="cx">     macro(PDFPluginEnabled, pdfPluginEnabled, Bool, bool, DEFAULT_PDFPLUGIN_ENABLED, &quot;&quot;, &quot;&quot;) \
</span><span class="cx">     macro(UsesEncodingDetector, usesEncodingDetector, Bool, bool, false, &quot;&quot;, &quot;&quot;) \
</span><del>-    macro(TextAutosizingEnabled, textAutosizingEnabled, Bool, bool, false, &quot;&quot;, &quot;&quot;) \
</del><ins>+    macro(TextAutosizingEnabled, textAutosizingEnabled, Bool, bool, WebCore::Settings::defaultTextAutosizingEnabled(), &quot;&quot;, &quot;&quot;) \
</ins><span class="cx">     macro(AggressiveTileRetentionEnabled, aggressiveTileRetentionEnabled, Bool, bool, false, &quot;&quot;, &quot;&quot;) \
</span><span class="cx">     macro(TemporaryTileCohortRetentionEnabled, temporaryTileCohortRetentionEnabled, Bool, bool, DEFAULT_TEMPORARY_TILE_COHORT_RETENTION_ENABLED, &quot;&quot;, &quot;&quot;) \
</span><span class="cx">     macro(QTKitEnabled, isQTKitEnabled, Bool, bool, WebCore::Settings::isQTKitEnabled(), &quot;&quot;, &quot;&quot;) \
</span><span class="lines">@@ -240,7 +238,7 @@
</span><span class="cx">     macro(IncrementalRenderingSuppressionTimeout, incrementalRenderingSuppressionTimeout, Double, double, 5, &quot;&quot;, &quot;&quot;) \
</span><span class="cx">     macro(MinimumFontSize, minimumFontSize, Double, double, 0, &quot;&quot;, &quot;&quot;) \
</span><span class="cx">     macro(MinimumLogicalFontSize, minimumLogicalFontSize, Double, double, 9, &quot;&quot;, &quot;&quot;) \
</span><del>-    macro(MinimumZoomFontSize, minimumZoomFontSize, Double, double, DEFAULT_MINIMUM_FONT_ZOOM_SIZE, &quot;&quot;, &quot;&quot;) \
</del><ins>+    macro(MinimumZoomFontSize, minimumZoomFontSize, Double, double, WebCore::Settings::defaultMinimumZoomFontSize(), &quot;&quot;, &quot;&quot;) \
</ins><span class="cx">     macro(DefaultFontSize, defaultFontSize, Double, double, 16, &quot;&quot;, &quot;&quot;) \
</span><span class="cx">     macro(DefaultFixedFontSize, defaultFixedFontSize, Double, double, 13, &quot;&quot;, &quot;&quot;) \
</span><span class="cx">     macro(LayoutInterval, layoutInterval, Double, double, -1, &quot;&quot;, &quot;&quot;) \
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKPreferencesmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKPreferences.mm (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKPreferences.mm        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKPreferences.mm        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -303,6 +303,16 @@
</span><span class="cx">     _preferences-&gt;setDisplayListDrawingEnabled(displayListDrawingEnabled);
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+- (BOOL)_textAutosizingEnabled
+{
+    return _preferences-&gt;textAutosizingEnabled();
+}
+
+- (void)_setTextAutosizingEnabled:(BOOL)enabled
+{
+    _preferences-&gt;setTextAutosizingEnabled(enabled);
+}
+
</ins><span class="cx"> - (BOOL)_developerExtrasEnabled
</span><span class="cx"> {
</span><span class="cx">     return _preferences-&gt;developerExtrasEnabled();
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKPreferencesPrivateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKPreferencesPrivate.h (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKPreferencesPrivate.h        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKPreferencesPrivate.h        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -62,6 +62,7 @@
</span><span class="cx"> @property (nonatomic, setter=_setSimpleLineLayoutDebugBordersEnabled:) BOOL _simpleLineLayoutDebugBordersEnabled WK_AVAILABLE(10_11, 9_0);
</span><span class="cx"> @property (nonatomic, setter=_setAcceleratedDrawingEnabled:) BOOL _acceleratedDrawingEnabled WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);
</span><span class="cx"> @property (nonatomic, setter=_setDisplayListDrawingEnabled:) BOOL _displayListDrawingEnabled WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);
</span><ins>+@property (nonatomic, setter=_setTextAutosizingEnabled:) BOOL _textAutosizingEnabled WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);
</ins><span class="cx"> 
</span><span class="cx"> @property (nonatomic, setter=_setDeveloperExtrasEnabled:) BOOL _developerExtrasEnabled WK_AVAILABLE(10_11, 9_0);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageWebPagecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -2968,10 +2968,6 @@
</span><span class="cx">     settings.setAVKitEnabled(true);
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if ENABLE(IOS_TEXT_AUTOSIZING)
-    settings.setMinimumZoomFontSize(store.getDoubleValueForKey(WebPreferencesKey::minimumZoomFontSizeKey()));
-#endif
-
</del><span class="cx"> #if ENABLE(WEB_AUDIO)
</span><span class="cx">     settings.setWebAudioEnabled(store.getBoolValueForKey(WebPreferencesKey::webAudioEnabledKey()));
</span><span class="cx"> #endif
</span><span class="lines">@@ -3022,9 +3018,12 @@
</span><span class="cx">     settings.setPrimaryPlugInSnapshotDetectionEnabled(store.getBoolValueForKey(WebPreferencesKey::primaryPlugInSnapshotDetectionEnabledKey()));
</span><span class="cx">     settings.setUsesEncodingDetector(store.getBoolValueForKey(WebPreferencesKey::usesEncodingDetectorKey()));
</span><span class="cx"> 
</span><del>-#if ENABLE(TEXT_AUTOSIZING)
</del><ins>+#if ENABLE(TEXT_AUTOSIZING) || ENABLE(IOS_TEXT_AUTOSIZING)
</ins><span class="cx">     settings.setTextAutosizingEnabled(store.getBoolValueForKey(WebPreferencesKey::textAutosizingEnabledKey()));
</span><span class="cx"> #endif
</span><ins>+#if ENABLE(IOS_TEXT_AUTOSIZING)
+    settings.setMinimumZoomFontSize(store.getDoubleValueForKey(WebPreferencesKey::minimumZoomFontSizeKey()));
+#endif
</ins><span class="cx"> 
</span><span class="cx">     settings.setLogsPageMessagesToSystemConsoleEnabled(store.getBoolValueForKey(WebPreferencesKey::logsPageMessagesToSystemConsoleEnabledKey()));
</span><span class="cx">     settings.setAsynchronousSpellCheckingEnabled(store.getBoolValueForKey(WebPreferencesKey::asynchronousSpellCheckingEnabledKey()));
</span></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Tools/ChangeLog        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -1,3 +1,42 @@
</span><ins>+2016-05-06  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Enable IOS_TEXT_AUTOSIZING on Mac and make it testable
+        https://bugs.webkit.org/show_bug.cgi?id=157432
+        rdar://problem/16406720
+
+        Reviewed by Dean Jackson.
+
+        Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.
+
+        Make the setTextAutosizingEnabled() Setting work, and plumb it through WK1 and WK2
+        preferences for WTR and DRT. Make textAutosizingWindowSizeOverride() work, for layout tests.
+        These two settings are shared with TEXT_AUTOSIZING.
+
+        Add a TextAutosizing log channel, which is useful for generated -expected.html results.
+
+        Move adjustComputedFontSizesOnBlocks() and related code from RenderObject to RenderElement
+        without changes.
+
+        An implication of this set of changes is that the way clients enable text autosizing
+        has changed. Previously, they set the &quot;MinimumZoomFontSize&quot; preference to 0.
+        Settings::defaultMinimumZoomFontSize() used to do this in order to enable text autosizing
+        on iPhone only, not iPad.
+
+        Now the preferred technique is to leave minimumZoomFontSize alone, and to use textAutosizingEnabled()
+        instead. Settings::defaultTextAutosizingEnabled() now does the check for iPhone.
+
+        UIWebView calls WebKitGetMinimumZoomFontSize() to setup the default minimum font zoom size,
+        which will now always return 15, but had no other code that toggled this. So it's safe to just rely
+        on Settings::defaultTextAutosizingEnabled() doing the right thing for iPhone/iPad.
+
+        * DumpRenderTree/mac/DumpRenderTree.mm:
+        (resetWebPreferencesToConsistentValues):
+        * DumpRenderTree/mac/TestRunnerMac.mm:
+        (TestRunner::setTextAutosizingEnabled):
+        * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
+        * WebKitTestRunner/ios/TestControllerIOS.mm:
+        (WTR::TestController::platformResetPreferencesToConsistentValues):
+
</ins><span class="cx"> 2016-05-06  Dean Jackson  &lt;dino@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Regions, Shapes and Tracks don't need runtime features
</span></span></pre></div>
<a id="trunkToolsDumpRenderTreemacDumpRenderTreemm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -954,8 +954,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(IOS_TEXT_AUTOSIZING)
</span><del>-    // Disable text autosizing by default.
-    [preferences _setMinimumZoomFontSize:0];
</del><ins>+    [preferences _setTextAutosizingEnabled:NO];
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx">     // The back/forward cache is causing problems due to layouts during transition from one page to another.
</span><span class="lines">@@ -976,11 +975,6 @@
</span><span class="cx">     [preferences setWebAudioEnabled:YES];
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if ENABLE(IOS_TEXT_AUTOSIZING)
-    // Disable text autosizing by default.
-    [preferences _setMinimumZoomFontSize:0];
-#endif
-
</del><span class="cx"> #if ENABLE(MEDIA_SOURCE)
</span><span class="cx">     [preferences setMediaSourceEnabled:YES];
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkToolsDumpRenderTreemacTestRunnerMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/DumpRenderTree/mac/TestRunnerMac.mm (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/mac/TestRunnerMac.mm        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Tools/DumpRenderTree/mac/TestRunnerMac.mm        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -539,8 +539,7 @@
</span><span class="cx"> #if ENABLE(IOS_TEXT_AUTOSIZING)
</span><span class="cx"> void TestRunner::setTextAutosizingEnabled(bool enabled)
</span><span class="cx"> {
</span><del>-    const float phoneMinimumZoomFontSize = 15;
-    [[[mainFrame webView] preferences] _setMinimumZoomFontSize:(enabled ? phoneMinimumZoomFontSize : 0)];
</del><ins>+    [[[mainFrame webView] preferences] _setTextAutosizingEnabled:enabled];
</ins><span class="cx"> }
</span><span class="cx"> #endif
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkToolsTestWebKitAPIConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -107,7 +107,7 @@
</span><span class="cx"> ENABLE_MAC_GESTURE_EVENTS[sdk=macosx*] = $(ENABLE_MAC_GESTURE_EVENTS_macosx_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
</span><span class="cx"> ENABLE_MAC_GESTURE_EVENTS_macosx_WITH_INTERNAL_SDK_YES = ENABLE_MAC_GESTURE_EVENTS;
</span><span class="cx"> 
</span><del>-ENABLE_IOS_TEXT_AUTOSIZING[sdk=iphone*] = ENABLE_IOS_TEXT_AUTOSIZING;
</del><ins>+ENABLE_IOS_TEXT_AUTOSIZING = ENABLE_IOS_TEXT_AUTOSIZING;
</ins><span class="cx"> ENABLE_DATA_DETECTION = ENABLE_DATA_DETECTION;
</span><span class="cx"> 
</span><span class="cx"> ENABLE_IOS_TOUCH_EVENTS[sdk=iphone*] = $(ENABLE_IOS_TOUCH_EVENTS_ios_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunneriosTestControllerIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/ios/TestControllerIOS.mm (200533 => 200534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/ios/TestControllerIOS.mm        2016-05-06 23:32:28 UTC (rev 200533)
+++ trunk/Tools/WebKitTestRunner/ios/TestControllerIOS.mm        2016-05-07 00:05:58 UTC (rev 200534)
</span><span class="lines">@@ -77,8 +77,7 @@
</span><span class="cx"> void TestController::platformResetPreferencesToConsistentValues()
</span><span class="cx"> {
</span><span class="cx">     WKPreferencesRef preferences = platformPreferences();
</span><del>-    // Note that WKPreferencesSetTextAutosizingEnabled has no effect on iOS.
-    WKPreferencesSetMinimumZoomFontSize(preferences, 0);
</del><ins>+    WKPreferencesSetTextAutosizingEnabled(preferences, false);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void TestController::platformResetStateToConsistentValues()
</span></span></pre>
</div>
</div>

</body>
</html>