Title: [294208] trunk
Revision
294208
Author
[email protected]
Date
2022-05-14 12:15:53 -0700 (Sat, 14 May 2022)

Log Message

AX: Remove CSSDisplayContentsAXSupportEnabled flag
https://bugs.webkit.org/show_bug.cgi?id=240409

Reviewed by Chris Fleizach.

Source/WebCore:

We added initial support without using this flag and will continue to
fix bugs as we find them, making this flag unnecessary.

* page/RuntimeEnabledFeatures.h:
(WebCore::RuntimeEnabledFeatures::setCSSDisplayContentsAXSupportEnabled): Deleted.
(WebCore::RuntimeEnabledFeatures::cssDisplayContentsAXSupportEnabled const): Deleted.

Source/WebKitLegacy/mac:

We added initial support without using this flag and will continue to
fix bugs as we find them, making this flag unnecessary.

* WebView/WebPreferenceKeysPrivate.h:
* WebView/WebPreferences.mm:
(-[WebPreferences cssDisplayContentsAXSupportEnabled]): Deleted.
(-[WebPreferences setCSSDisplayContentsAXSupportEnabled:]): Deleted.
* WebView/WebPreferencesPrivate.h:

Source/WTF:

* Scripts/Preferences/WebPreferencesInternal.yaml:

Tools:

* DumpRenderTree/TestOptions.cpp:
(WTR::TestOptions::defaults):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (294207 => 294208)


--- trunk/Source/WTF/ChangeLog	2022-05-14 18:04:36 UTC (rev 294207)
+++ trunk/Source/WTF/ChangeLog	2022-05-14 19:15:53 UTC (rev 294208)
@@ -1,3 +1,12 @@
+2022-05-14  Tyler Wilcock  <[email protected]>
+
+        AX: Remove CSSDisplayContentsAXSupportEnabled flag
+        https://bugs.webkit.org/show_bug.cgi?id=240409
+
+        Reviewed by Chris Fleizach.
+
+        * Scripts/Preferences/WebPreferencesInternal.yaml:
+
 2022-05-13  Tim Horton  <[email protected]>
 
         ApplePayLogoSystemImage needlessly loads PassKit in WebKit child processes on iOS

Modified: trunk/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml (294207 => 294208)


--- trunk/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml	2022-05-14 18:04:36 UTC (rev 294207)
+++ trunk/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml	2022-05-14 19:15:53 UTC (rev 294208)
@@ -107,17 +107,6 @@
     WebKit:
       default: true
 
-CSSDisplayContentsAXSupportEnabled:
-  type: bool
-  humanReadableName: "Accessibility support for display: contents elements"
-  humanReadableDescription: "Enable work-in-progress accessibility support for display: contents elements"
-  webcoreBinding: RuntimeEnabledFeatures
-  defaultValue:
-    WebKitLegacy:
-      default: false
-    WebKit:
-      default: false
-
 CSSLogicalEnabled:
   type: bool
   humanReadableName: "CSS Logical Properties and Values"

Modified: trunk/Source/WebCore/ChangeLog (294207 => 294208)


--- trunk/Source/WebCore/ChangeLog	2022-05-14 18:04:36 UTC (rev 294207)
+++ trunk/Source/WebCore/ChangeLog	2022-05-14 19:15:53 UTC (rev 294208)
@@ -1,3 +1,17 @@
+2022-05-14  Tyler Wilcock  <[email protected]>
+
+        AX: Remove CSSDisplayContentsAXSupportEnabled flag
+        https://bugs.webkit.org/show_bug.cgi?id=240409
+
+        Reviewed by Chris Fleizach.
+
+        We added initial support without using this flag and will continue to
+        fix bugs as we find them, making this flag unnecessary.
+
+        * page/RuntimeEnabledFeatures.h:
+        (WebCore::RuntimeEnabledFeatures::setCSSDisplayContentsAXSupportEnabled): Deleted.
+        (WebCore::RuntimeEnabledFeatures::cssDisplayContentsAXSupportEnabled const): Deleted.
+
 2022-05-14  Antti Koivisto  <[email protected]>
 
         Template TextBoxPainter on line layout path

Modified: trunk/Source/WebCore/page/RuntimeEnabledFeatures.h (294207 => 294208)


--- trunk/Source/WebCore/page/RuntimeEnabledFeatures.h	2022-05-14 18:04:36 UTC (rev 294207)
+++ trunk/Source/WebCore/page/RuntimeEnabledFeatures.h	2022-05-14 19:15:53 UTC (rev 294208)
@@ -159,9 +159,6 @@
     void setReadableByteStreamAPIEnabled(bool isEnabled) { m_isReadableByteStreamAPIEnabled = isEnabled; }
     bool readableByteStreamAPIEnabled() const { return m_isReadableByteStreamAPIEnabled; }
 
-    void setCSSDisplayContentsAXSupportEnabled(bool isEnabled) { m_CSSDisplayContentsAXSupportEnabled = isEnabled; }
-    bool cssDisplayContentsAXSupportEnabled() const { return m_CSSDisplayContentsAXSupportEnabled; }
-
     void setCSSLogicalEnabled(bool isEnabled) { m_CSSLogicalEnabled = isEnabled; }
     bool cssLogicalEnabled() const { return m_CSSLogicalEnabled; }
 
@@ -329,7 +326,6 @@
 
     bool m_isReadableByteStreamAPIEnabled { false };
 
-    bool m_CSSDisplayContentsAXSupportEnabled { false };
     bool m_CSSLogicalEnabled { false };
 
     // False by default until https://bugs.webkit.org/show_bug.cgi?id=211351 /

Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (294207 => 294208)


--- trunk/Source/WebKitLegacy/mac/ChangeLog	2022-05-14 18:04:36 UTC (rev 294207)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog	2022-05-14 19:15:53 UTC (rev 294208)
@@ -1,3 +1,19 @@
+2022-05-14  Tyler Wilcock  <[email protected]>
+
+        AX: Remove CSSDisplayContentsAXSupportEnabled flag
+        https://bugs.webkit.org/show_bug.cgi?id=240409
+
+        Reviewed by Chris Fleizach.
+
+        We added initial support without using this flag and will continue to
+        fix bugs as we find them, making this flag unnecessary.
+
+        * WebView/WebPreferenceKeysPrivate.h:
+        * WebView/WebPreferences.mm:
+        (-[WebPreferences cssDisplayContentsAXSupportEnabled]): Deleted.
+        (-[WebPreferences setCSSDisplayContentsAXSupportEnabled:]): Deleted.
+        * WebView/WebPreferencesPrivate.h:
+
 2022-05-06  Brent Fulgham  <[email protected]>
 
         Remove the viewportFitEnabled WKPreference now that it is always on 

Modified: trunk/Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h (294207 => 294208)


--- trunk/Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h	2022-05-14 18:04:36 UTC (rev 294207)
+++ trunk/Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h	2022-05-14 19:15:53 UTC (rev 294208)
@@ -236,7 +236,6 @@
 #define WebKitAllowMediaContentTypesRequiringHardwareSupportAsFallbackKey @"WebKitAllowMediaContentTypesRequiringHardwareSupportAsFallback"
 #define WebKitInspectorAdditionsEnabledPreferenceKey @"WebKitInspectorAdditionsEnabled"
 #define WebKitMediaCapabilitiesEnabledPreferenceKey @"WebKitMediaCapabilitiesEnabled"
-#define WebKitCSSDisplayContentsAXSupportEnabledPreferenceKey @"WebKitCSSDisplayContentsAXSupportEnabled"
 #define WebKitCSSLogicalEnabledPreferenceKey @"WebKitCSSLogicalEnabled"
 #define WebKitLineHeightUnitsEnabledPreferenceKey @"WebKitLineHeightUnitsEnabled"
 #define WebKitDebugInAppBrowserPrivacyEnabledPreferenceKey @"WebKitDebugInAppBrowserPrivacyEnabled"

Modified: trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm (294207 => 294208)


--- trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm	2022-05-14 18:04:36 UTC (rev 294207)
+++ trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm	2022-05-14 19:15:53 UTC (rev 294208)
@@ -2829,16 +2829,6 @@
     [self _setBoolValue:flag forKey:WebKitMediaCapabilitiesEnabledPreferenceKey];
 }
 
-- (BOOL)cssDisplayContentsAXSupportEnabled
-{
-    return [self _boolValueForKey:WebKitCSSDisplayContentsAXSupportEnabledPreferenceKey];
-}
-
-- (void)setCSSDisplayContentsAXSupportEnabled:(BOOL)flag
-{
-    [self _setBoolValue:flag forKey:WebKitCSSDisplayContentsAXSupportEnabledPreferenceKey];
-}
-
 - (BOOL)cssLogicalEnabled
 {
     return [self _boolValueForKey:WebKitCSSLogicalEnabledPreferenceKey];

Modified: trunk/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h (294207 => 294208)


--- trunk/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h	2022-05-14 18:04:36 UTC (rev 294207)
+++ trunk/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h	2022-05-14 19:15:53 UTC (rev 294208)
@@ -224,7 +224,6 @@
 @property (nonatomic) BOOL cacheAPIEnabled;
 @property (nonatomic) BOOL downloadAttributeEnabled;
 @property (nonatomic) BOOL directoryUploadEnabled;
-@property (nonatomic, getter=cssDisplayContentsAXSupportEnabled) BOOL CSSDisplayContentsAXSupportEnabled;
 @property (nonatomic, getter=cssLogicalEnabled) BOOL CSSLogicalEnabled;
 @property (nonatomic) BOOL lineHeightUnitsEnabled;
 @property (nonatomic) BOOL layoutFormattingContextIntegrationEnabled;

Modified: trunk/Tools/ChangeLog (294207 => 294208)


--- trunk/Tools/ChangeLog	2022-05-14 18:04:36 UTC (rev 294207)
+++ trunk/Tools/ChangeLog	2022-05-14 19:15:53 UTC (rev 294208)
@@ -1,3 +1,13 @@
+2022-05-14  Tyler Wilcock  <[email protected]>
+
+        AX: Remove CSSDisplayContentsAXSupportEnabled flag
+        https://bugs.webkit.org/show_bug.cgi?id=240409
+
+        Reviewed by Chris Fleizach.
+
+        * DumpRenderTree/TestOptions.cpp:
+        (WTR::TestOptions::defaults):
+
 2022-05-14  Jonathan Bedard  <[email protected]>
 
         [webkit-patch] Include commit messages in patches (Follow-up) 

Modified: trunk/Tools/DumpRenderTree/TestOptions.cpp (294207 => 294208)


--- trunk/Tools/DumpRenderTree/TestOptions.cpp	2022-05-14 18:04:36 UTC (rev 294207)
+++ trunk/Tools/DumpRenderTree/TestOptions.cpp	2022-05-14 19:15:53 UTC (rev 294208)
@@ -131,7 +131,6 @@
             { "CSSContainmentEnabled", false },
             { "CSSCounterStyleAtRuleImageSymbolsEnabled", false },
             { "CSSCounterStyleAtRulesEnabled", false },
-            { "CSSDisplayContentsAXSupportEnabled", false },
             { "CSSGradientInterpolationColorSpacesEnabled", true },
             { "CSSGradientPremultipliedAlphaInterpolationEnabled", true },
             { "CSSInputSecurityEnabled", true },
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to