Title: [246940] trunk/Source/WebCore
Revision
246940
Author
wenson_hs...@apple.com
Date
2019-06-28 15:18:33 -0700 (Fri, 28 Jun 2019)

Log Message

Followup to r246931
https://bugs.webkit.org/show_bug.cgi?id=199331

Reviewed by Tim Horton.

Extend the site-specific quirk added in r246931 to *.sharepoint.com, so that it fixes Word for enterprise
customers as well.

* page/Quirks.cpp:
(WebCore::Quirks::shouldAvoidResizingWhenInputViewBoundsChange const):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (246939 => 246940)


--- trunk/Source/WebCore/ChangeLog	2019-06-28 21:53:42 UTC (rev 246939)
+++ trunk/Source/WebCore/ChangeLog	2019-06-28 22:18:33 UTC (rev 246940)
@@ -1,3 +1,16 @@
+2019-06-28  Wenson Hsieh  <wenson_hs...@apple.com>
+
+        Followup to r246931
+        https://bugs.webkit.org/show_bug.cgi?id=199331
+
+        Reviewed by Tim Horton.
+
+        Extend the site-specific quirk added in r246931 to *.sharepoint.com, so that it fixes Word for enterprise
+        customers as well.
+
+        * page/Quirks.cpp:
+        (WebCore::Quirks::shouldAvoidResizingWhenInputViewBoundsChange const):
+
 2019-06-28  Timothy Hatcher  <timo...@apple.com>
 
         Rename effectiveAppearanceIsInactive and useInactiveAppearance to better match UIUserInterfaceLevel.

Modified: trunk/Source/WebCore/page/Quirks.cpp (246939 => 246940)


--- trunk/Source/WebCore/page/Quirks.cpp	2019-06-28 21:53:42 UTC (rev 246939)
+++ trunk/Source/WebCore/page/Quirks.cpp	2019-06-28 22:18:33 UTC (rev 246940)
@@ -304,7 +304,13 @@
         return false;
 
     auto host = m_document->topDocument().url().host();
-    return equalLettersIgnoringASCIICase(host, "live.com") || host.endsWithIgnoringASCIICase(".live.com");
+    if (equalLettersIgnoringASCIICase(host, "live.com") || host.endsWithIgnoringASCIICase(".live.com"))
+        return true;
+
+    if (host.endsWithIgnoringASCIICase(".sharepoint.com"))
+        return true;
+
+    return false;
 }
 
 bool Quirks::shouldDisablePointerEventsQuirk() const
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to