<!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>[248355] branches/safari-608.1-branch/Source</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/248355">248355</a></dd>
<dt>Author</dt> <dd>kocsen_chung@apple.com</dd>
<dt>Date</dt> <dd>2019-08-06 23:52:53 -0700 (Tue, 06 Aug 2019)</dd>
</dl>

<h3>Log Message</h3>
<pre>Cherry-pick <a href="http://trac.webkit.org/projects/webkit/changeset/248018">r248018</a>. rdar://problem/54017893

    REGRESSION(<a href="http://trac.webkit.org/projects/webkit/changeset/241288">r241288</a>): Text on Yahoo Japan mobile looks too bold
    https://bugs.webkit.org/show_bug.cgi?id=200065
    <rdar://problem/50912757>

    Reviewed by Simon Fraser.

    Source/WebCore:

    Before <a href="http://trac.webkit.org/projects/webkit/changeset/241288">r241288</a>, we were mapping Japanese sans-serif to Hiragino Kaku Gothic ProN, which
    has a 300 weight and a 600 weight. However, we can't use that font because it's user-installed,
    so in <a href="http://trac.webkit.org/projects/webkit/changeset/241288">r241288</a> we switched to using Hiragino Sans, which has a 300 weight, a 600 weight, and an
    800 weight. According to the CSS font selection algorithm, sites that request a weight of 700
    would get the 800 weight instead of the 600 weight, which caused the text to look too heavy.
    Therefore, the apparent visual change is from a weight change from 600 to 800.

    In general, this is working as intended. However, text on Yahoo Japan looks too heavy in weight
    800. Instead, this patch adds a quirk specific to Yahoo Japan that overwrites any font requests
    to give them a weight of 600 instead of 700. This way, the lighter font will be used.

    No new tests because quirks cannot be tested.

    * css/CSSFontSelector.cpp:
    (WebCore::resolveGenericFamily):
    (WebCore::CSSFontSelector::fontRangesForFamily):
    * page/Quirks.cpp:
    (WebCore::Quirks::shouldLightenJapaneseBoldSansSerif const):
    * page/Quirks.h:

    Source/WTF:

    * wtf/Platform.h:

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248018 268f45cc-cd09-0410-ab3c-d52691b4dbfc</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#branchessafari6081branchSourceWTFChangeLog">branches/safari-608.1-branch/Source/WTF/ChangeLog</a></li>
<li><a href="#branchessafari6081branchSourceWTFwtfPlatformh">branches/safari-608.1-branch/Source/WTF/wtf/Platform.h</a></li>
<li><a href="#branchessafari6081branchSourceWebCoreChangeLog">branches/safari-608.1-branch/Source/WebCore/ChangeLog</a></li>
<li><a href="#branchessafari6081branchSourceWebCorecssCSSFontSelectorcpp">branches/safari-608.1-branch/Source/WebCore/css/CSSFontSelector.cpp</a></li>
<li><a href="#branchessafari6081branchSourceWebCorepageQuirkscpp">branches/safari-608.1-branch/Source/WebCore/page/Quirks.cpp</a></li>
<li><a href="#branchessafari6081branchSourceWebCorepageQuirksh">branches/safari-608.1-branch/Source/WebCore/page/Quirks.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="branchessafari6081branchSourceWTFChangeLog"></a>
<div class="modfile"><h4>Modified: branches/safari-608.1-branch/Source/WTF/ChangeLog (248354 => 248355)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-608.1-branch/Source/WTF/ChangeLog        2019-08-07 06:52:50 UTC (rev 248354)
+++ branches/safari-608.1-branch/Source/WTF/ChangeLog   2019-08-07 06:52:53 UTC (rev 248355)
</span><span class="lines">@@ -1,5 +1,53 @@
</span><span class="cx"> 2019-08-06  Kocsen Chung  <kocsen_chung@apple.com>
</span><span class="cx"> 
</span><ins>+        Cherry-pick r248018. rdar://problem/54017893
+
+    REGRESSION(r241288): Text on Yahoo Japan mobile looks too bold
+    https://bugs.webkit.org/show_bug.cgi?id=200065
+    <rdar://problem/50912757>
+    
+    Reviewed by Simon Fraser.
+    
+    Source/WebCore:
+    
+    Before r241288, we were mapping Japanese sans-serif to Hiragino Kaku Gothic ProN, which
+    has a 300 weight and a 600 weight. However, we can't use that font because it's user-installed,
+    so in r241288 we switched to using Hiragino Sans, which has a 300 weight, a 600 weight, and an
+    800 weight. According to the CSS font selection algorithm, sites that request a weight of 700
+    would get the 800 weight instead of the 600 weight, which caused the text to look too heavy.
+    Therefore, the apparent visual change is from a weight change from 600 to 800.
+    
+    In general, this is working as intended. However, text on Yahoo Japan looks too heavy in weight
+    800. Instead, this patch adds a quirk specific to Yahoo Japan that overwrites any font requests
+    to give them a weight of 600 instead of 700. This way, the lighter font will be used.
+    
+    No new tests because quirks cannot be tested.
+    
+    * css/CSSFontSelector.cpp:
+    (WebCore::resolveGenericFamily):
+    (WebCore::CSSFontSelector::fontRangesForFamily):
+    * page/Quirks.cpp:
+    (WebCore::Quirks::shouldLightenJapaneseBoldSansSerif const):
+    * page/Quirks.h:
+    
+    Source/WTF:
+    
+    * wtf/Platform.h:
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2019-07-30  Myles C. Maxfield  <mmaxfield@apple.com>
+
+            REGRESSION(r241288): Text on Yahoo Japan mobile looks too bold
+            https://bugs.webkit.org/show_bug.cgi?id=200065
+            <rdar://problem/50912757>
+
+            Reviewed by Simon Fraser.
+
+            * wtf/Platform.h:
+
+2019-08-06  Kocsen Chung  <kocsen_chung@apple.com>
+
</ins><span class="cx">         Cherry-pick r247837. rdar://problem/53973599
</span><span class="cx"> 
</span><span class="cx">     Add helper for ignoring deprecated implementation warnings
</span></span></pre></div>
<a id="branchessafari6081branchSourceWTFwtfPlatformh"></a>
<div class="modfile"><h4>Modified: branches/safari-608.1-branch/Source/WTF/wtf/Platform.h (248354 => 248355)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-608.1-branch/Source/WTF/wtf/Platform.h   2019-08-07 06:52:50 UTC (rev 248354)
+++ branches/safari-608.1-branch/Source/WTF/wtf/Platform.h      2019-08-07 06:52:53 UTC (rev 248355)
</span><span class="lines">@@ -1609,3 +1609,7 @@
</span><span class="cx"> #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000) || (PLATFORM(WATCHOS) && __WATCH_OS_VERSION_MIN_REQUIRED >= 60000) || (PLATFORM(APPLETV) && __TV_OS_VERSION_MIN_REQUIRED >= 130000)
</span><span class="cx"> #define HAVE_DESIGN_SYSTEM_UI_FONTS 1
</span><span class="cx"> #endif
</span><ins>+
+#if (PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000) || (PLATFORM(WATCHOS) && __WATCH_OS_VERSION_MIN_REQUIRED >= 60000) || (PLATFORM(APPLETV) && __TV_OS_VERSION_MIN_REQUIRED >= 130000)
+#define USE_HIRAGINO_SANS_WORKAROUND 1
+#endif
</ins></span></pre></div>
<a id="branchessafari6081branchSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: branches/safari-608.1-branch/Source/WebCore/ChangeLog (248354 => 248355)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-608.1-branch/Source/WebCore/ChangeLog    2019-08-07 06:52:50 UTC (rev 248354)
+++ branches/safari-608.1-branch/Source/WebCore/ChangeLog       2019-08-07 06:52:53 UTC (rev 248355)
</span><span class="lines">@@ -1,5 +1,71 @@
</span><span class="cx"> 2019-08-06  Kocsen Chung  <kocsen_chung@apple.com>
</span><span class="cx"> 
</span><ins>+        Cherry-pick r248018. rdar://problem/54017893
+
+    REGRESSION(r241288): Text on Yahoo Japan mobile looks too bold
+    https://bugs.webkit.org/show_bug.cgi?id=200065
+    <rdar://problem/50912757>
+    
+    Reviewed by Simon Fraser.
+    
+    Source/WebCore:
+    
+    Before r241288, we were mapping Japanese sans-serif to Hiragino Kaku Gothic ProN, which
+    has a 300 weight and a 600 weight. However, we can't use that font because it's user-installed,
+    so in r241288 we switched to using Hiragino Sans, which has a 300 weight, a 600 weight, and an
+    800 weight. According to the CSS font selection algorithm, sites that request a weight of 700
+    would get the 800 weight instead of the 600 weight, which caused the text to look too heavy.
+    Therefore, the apparent visual change is from a weight change from 600 to 800.
+    
+    In general, this is working as intended. However, text on Yahoo Japan looks too heavy in weight
+    800. Instead, this patch adds a quirk specific to Yahoo Japan that overwrites any font requests
+    to give them a weight of 600 instead of 700. This way, the lighter font will be used.
+    
+    No new tests because quirks cannot be tested.
+    
+    * css/CSSFontSelector.cpp:
+    (WebCore::resolveGenericFamily):
+    (WebCore::CSSFontSelector::fontRangesForFamily):
+    * page/Quirks.cpp:
+    (WebCore::Quirks::shouldLightenJapaneseBoldSansSerif const):
+    * page/Quirks.h:
+    
+    Source/WTF:
+    
+    * wtf/Platform.h:
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2019-07-30  Myles C. Maxfield  <mmaxfield@apple.com>
+
+            REGRESSION(r241288): Text on Yahoo Japan mobile looks too bold
+            https://bugs.webkit.org/show_bug.cgi?id=200065
+            <rdar://problem/50912757>
+
+            Reviewed by Simon Fraser.
+
+            Before r241288, we were mapping Japanese sans-serif to Hiragino Kaku Gothic ProN, which
+            has a 300 weight and a 600 weight. However, we can't use that font because it's user-installed,
+            so in r241288 we switched to using Hiragino Sans, which has a 300 weight, a 600 weight, and an
+            800 weight. According to the CSS font selection algorithm, sites that request a weight of 700
+            would get the 800 weight instead of the 600 weight, which caused the text to look too heavy.
+            Therefore, the apparent visual change is from a weight change from 600 to 800.
+
+            In general, this is working as intended. However, text on Yahoo Japan looks too heavy in weight
+            800. Instead, this patch adds a quirk specific to Yahoo Japan that overwrites any font requests
+            to give them a weight of 600 instead of 700. This way, the lighter font will be used.
+
+            No new tests because quirks cannot be tested.
+
+            * css/CSSFontSelector.cpp:
+            (WebCore::resolveGenericFamily):
+            (WebCore::CSSFontSelector::fontRangesForFamily):
+            * page/Quirks.cpp:
+            (WebCore::Quirks::shouldLightenJapaneseBoldSansSerif const):
+            * page/Quirks.h:
+
+2019-08-06  Kocsen Chung  <kocsen_chung@apple.com>
+
</ins><span class="cx">         Cherry-pick r247846. rdar://problem/54017896
</span><span class="cx"> 
</span><span class="cx">     Subpixel fringes around TextIndicator snapshots at non-integral scale factors
</span></span></pre></div>
<a id="branchessafari6081branchSourceWebCorecssCSSFontSelectorcpp"></a>
<div class="modfile"><h4>Modified: branches/safari-608.1-branch/Source/WebCore/css/CSSFontSelector.cpp (248354 => 248355)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-608.1-branch/Source/WebCore/css/CSSFontSelector.cpp      2019-08-07 06:52:50 UTC (rev 248354)
+++ branches/safari-608.1-branch/Source/WebCore/css/CSSFontSelector.cpp 2019-08-07 06:52:53 UTC (rev 248355)
</span><span class="lines">@@ -46,6 +46,7 @@
</span><span class="cx"> #include "Frame.h"
</span><span class="cx"> #include "FrameLoader.h"
</span><span class="cx"> #include "Logging.h"
</span><ins>+#include "Quirks.h"
</ins><span class="cx"> #include "ResourceLoadObserver.h"
</span><span class="cx"> #include "RuntimeEnabledFeatures.h"
</span><span class="cx"> #include "Settings.h"
</span><span class="lines">@@ -274,7 +275,7 @@
</span><span class="cx">     dispatchInvalidationCallbacks();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static AtomString resolveGenericFamily(Document* document, const FontDescription& fontDescription, const AtomString& familyName)
</del><ins>+static Optional<AtomString> resolveGenericFamily(Document* document, const FontDescription& fontDescription, const AtomString& familyName)
</ins><span class="cx"> {
</span><span class="cx">     auto platformResult = FontDescription::platformResolveGenericFamily(fontDescription.script(), fontDescription.locale(), familyName);
</span><span class="cx">     if (!platformResult.isNull())
</span><span class="lines">@@ -281,7 +282,7 @@
</span><span class="cx">         return platformResult;
</span><span class="cx"> 
</span><span class="cx">     if (!document)
</span><del>-        return familyName;
</del><ins>+        return WTF::nullopt;
</ins><span class="cx"> 
</span><span class="cx">     const Settings& settings = document->settings();
</span><span class="cx"> 
</span><span class="lines">@@ -301,7 +302,7 @@
</span><span class="cx">     if (familyName == standardFamily)
</span><span class="cx">         return settings.standardFontFamily(script);
</span><span class="cx"> 
</span><del>-    return familyName;
</del><ins>+    return WTF::nullopt;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> FontRanges CSSFontSelector::fontRangesForFamily(const FontDescription& fontDescription, const AtomString& familyName)
</span><span class="lines">@@ -312,18 +313,34 @@
</span><span class="cx">     // FIXME: The spec (and Firefox) says user specified generic families (sans-serif etc.) should be resolved before the @font-face lookup too.
</span><span class="cx">     bool resolveGenericFamilyFirst = familyName == standardFamily;
</span><span class="cx"> 
</span><del>-    AtomString familyForLookup = resolveGenericFamilyFirst ? resolveGenericFamily(m_document.get(), fontDescription, familyName) : familyName;
-    auto* face = m_cssFontFaceSet->fontFace(fontDescription.fontSelectionRequest(), familyForLookup);
</del><ins>+    AtomString familyForLookup = familyName;
+    Optional<FontDescription> overrideFontDescription;
+    const FontDescription* fontDescriptionForLookup = &fontDescription;
+    auto resolveGenericFamily = [&]() {
+        if (auto genericFamilyOptional = WebCore::resolveGenericFamily(m_document.get(), fontDescription, familyName)) {
+            if (m_document && m_document->quirks().shouldLightenJapaneseBoldSansSerif() && familyForLookup == sansSerifFamily && fontDescription.weight() == boldWeightValue() && fontDescription.script() == USCRIPT_KATAKANA_OR_HIRAGANA) {
+                overrideFontDescription = fontDescription;
+                overrideFontDescription->setWeight(FontSelectionValue(600));
+                fontDescriptionForLookup = &*overrideFontDescription;
+            }
+            familyForLookup = *genericFamilyOptional;
+        }
+    };
+
+    if (resolveGenericFamilyFirst)
+        resolveGenericFamily();
+    auto* face = m_cssFontFaceSet->fontFace(fontDescriptionForLookup->fontSelectionRequest(), familyForLookup);
</ins><span class="cx">     if (face) {
</span><span class="cx">         if (RuntimeEnabledFeatures::sharedFeatures().webAPIStatisticsEnabled()) {
</span><span class="cx">             if (m_document)
</span><span class="cx">                 ResourceLoadObserver::shared().logFontLoad(*m_document, familyForLookup.string(), true);
</span><span class="cx">         }
</span><del>-        return face->fontRanges(fontDescription);
</del><ins>+        return face->fontRanges(*fontDescriptionForLookup);
</ins><span class="cx">     }
</span><ins>+
</ins><span class="cx">     if (!resolveGenericFamilyFirst)
</span><del>-        familyForLookup = resolveGenericFamily(m_document.get(), fontDescription, familyName);
-    auto font = FontCache::singleton().fontForFamily(fontDescription, familyForLookup);
</del><ins>+        resolveGenericFamily();
+    auto font = FontCache::singleton().fontForFamily(*fontDescriptionForLookup, familyForLookup);
</ins><span class="cx">     if (RuntimeEnabledFeatures::sharedFeatures().webAPIStatisticsEnabled()) {
</span><span class="cx">         if (m_document)
</span><span class="cx">             ResourceLoadObserver::shared().logFontLoad(*m_document, familyForLookup.string(), !!font);
</span></span></pre></div>
<a id="branchessafari6081branchSourceWebCorepageQuirkscpp"></a>
<div class="modfile"><h4>Modified: branches/safari-608.1-branch/Source/WebCore/page/Quirks.cpp (248354 => 248355)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-608.1-branch/Source/WebCore/page/Quirks.cpp      2019-08-07 06:52:50 UTC (rev 248354)
+++ branches/safari-608.1-branch/Source/WebCore/page/Quirks.cpp 2019-08-07 06:52:53 UTC (rev 248355)
</span><span class="lines">@@ -359,6 +359,22 @@
</span><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+bool Quirks::shouldLightenJapaneseBoldSansSerif() const
+{
+#if USE(HIRAGINO_SANS_WORKAROUND)
+    if (!needsQuirks())
+        return false;
+
+    // lang="ja" style="font: bold sans-serif;" content would naturally get HiraginoSans-W8 here, but that's visually
+    // too bold. Instead, we should pick HiraginoSans-W6 instead.
+    // FIXME: webkit.org/b/200047 Remove this quirk.
+    auto host = m_document->topDocument().url().host();
+    return equalLettersIgnoringASCIICase(host, "m.yahoo.co.jp");
+#else
+    return false;
+#endif
+}
+
</ins><span class="cx"> // FIXME(<rdar://problem/50394969>): Remove after desmos.com adopts inputmode="none".
</span><span class="cx"> bool Quirks::needsInputModeNoneImplicitly(const HTMLElement& element) const
</span><span class="cx"> {
</span></span></pre></div>
<a id="branchessafari6081branchSourceWebCorepageQuirksh"></a>
<div class="modfile"><h4>Modified: branches/safari-608.1-branch/Source/WebCore/page/Quirks.h (248354 => 248355)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-608.1-branch/Source/WebCore/page/Quirks.h        2019-08-07 06:52:50 UTC (rev 248354)
+++ branches/safari-608.1-branch/Source/WebCore/page/Quirks.h   2019-08-07 06:52:53 UTC (rev 248355)
</span><span class="lines">@@ -56,6 +56,7 @@
</span><span class="cx">     bool shouldDisablePointerEventsQuirk() const;
</span><span class="cx">     bool needsInputModeNoneImplicitly(const HTMLElement&) const;
</span><span class="cx">     bool needsDeferKeyDownAndKeyPressTimersUntilNextEditingCommand() const;
</span><ins>+    bool shouldLightenJapaneseBoldSansSerif() const;
</ins><span class="cx"> 
</span><span class="cx">     WEBCORE_EXPORT bool shouldDispatchSyntheticMouseEventsWhenModifyingSelection() const;
</span><span class="cx">     WEBCORE_EXPORT bool shouldSuppressAutocorrectionAndAutocaptializationInHiddenEditableAreas() const;
</span></span></pre>
</div>
</div>

</body>
</html>