Title: [274725] trunk/Source/WebCore
- Revision
- 274725
- Author
- [email protected]
- Date
- 2021-03-19 10:40:06 -0700 (Fri, 19 Mar 2021)
Log Message
https://bugs.webkit.org/show_bug.cgi?id=223141
Runtime-disabled CSS features still still appear enabled via two-arg CSS.supports()
Address post-landing review comments from Darin.
* css/parser/CSSParserContext.cpp:
(WebCore::CSSParserContext::isPropertyRuntimeDisabled const):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (274724 => 274725)
--- trunk/Source/WebCore/ChangeLog 2021-03-19 17:24:14 UTC (rev 274724)
+++ trunk/Source/WebCore/ChangeLog 2021-03-19 17:40:06 UTC (rev 274725)
@@ -1,3 +1,13 @@
+2021-03-19 Simon Fraser <[email protected]>
+
+ https://bugs.webkit.org/show_bug.cgi?id=223141
+ Runtime-disabled CSS features still still appear enabled via two-arg CSS.supports()
+
+ Address post-landing review comments from Darin.
+
+ * css/parser/CSSParserContext.cpp:
+ (WebCore::CSSParserContext::isPropertyRuntimeDisabled const):
+
2021-03-19 Sam Weinig <[email protected]>
Add PropertyName parameter to custom setters to allow shared implementations to do late name lookup
Modified: trunk/Source/WebCore/css/parser/CSSParserContext.cpp (274724 => 274725)
--- trunk/Source/WebCore/css/parser/CSSParserContext.cpp 2021-03-19 17:24:14 UTC (rev 274724)
+++ trunk/Source/WebCore/css/parser/CSSParserContext.cpp 2021-03-19 17:40:06 UTC (rev 274725)
@@ -152,13 +152,9 @@
return !overscrollBehaviorEnabled;
case CSSPropertyScrollBehavior:
return !scrollBehaviorEnabled;
-#if ENABLE(TEXT_AUTOSIZING)
- case CSSPropertyWebkitTextSizeAdjust:
-#if !PLATFORM(IOS_FAMILY)
+#if ENABLE(TEXT_AUTOSIZING) && !PLATFORM(IOS_FAMILY)
return !textAutosizingEnabled;
#endif
- return false;
-#endif // ENABLE(TEXT_AUTOSIZING)
#if ENABLE(OVERFLOW_SCROLLING_TOUCH)
case CSSPropertyWebkitOverflowScrolling:
return !legacyOverflowScrollingTouchEnabled;
@@ -166,7 +162,6 @@
default:
return false;
}
- return false;
}
URL CSSParserContext::completeURL(const String& url) const
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes