Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the CSSIndividualTransformPropertiesEnabled flag #20900

Conversation

graouts
Copy link
Contributor

@graouts graouts commented Nov 26, 2023

3635c66

Remove the CSSIndividualTransformPropertiesEnabled flag
https://bugs.webkit.org/show_bug.cgi?id=217899
rdar://70434096

Reviewed by Dean Jackson.

This flag has been on by default for years and is ripe for removal.

* LayoutTests/fast/css/rotate-invalidate-if-disabled-expected.txt: Removed.
* LayoutTests/fast/css/rotate-invalidate-if-disabled.html: Removed.
* LayoutTests/fast/css/scale-invalidate-if-disabled-expected.txt: Removed.
* LayoutTests/fast/css/scale-invalidate-if-disabled.html: Removed.
* LayoutTests/fast/css/translate-invalidate-if-disabled-expected.txt: Removed.
* LayoutTests/fast/css/translate-invalidate-if-disabled.html: Removed.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/parser/CSSParserContext.cpp:
(WebCore::CSSParserContext::CSSParserContext):
* Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h:
* Source/WebKitLegacy/mac/WebView/WebPreferences.mm:
(-[WebPreferences CSSIndividualTransformPropertiesEnabled]): Deleted.
(-[WebPreferences setCSSIndividualTransformPropertiesEnabled:]): Deleted.

Canonical link: https://commits.webkit.org/271133@main

33ace21

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  wincairo
βœ… πŸ§ͺ bindings βœ… πŸ›  ios-sim βœ… πŸ›  mac-AS-debug   πŸ§ͺ wpe-wk2
βœ… πŸ§ͺ webkitperl   πŸ§ͺ ios-wk2   πŸ§ͺ api-mac   πŸ§ͺ api-wpe
  πŸ§ͺ ios-wk2-wpt   πŸ§ͺ mac-wk1 βœ… πŸ›  gtk
βœ… πŸ›  πŸ§ͺ jsc   πŸ§ͺ api-ios   πŸ§ͺ mac-wk2   πŸ§ͺ gtk-wk2
βœ… πŸ›  πŸ§ͺ jsc-arm64 βœ… πŸ›  tv   πŸ§ͺ mac-AS-debug-wk2   πŸ§ͺ api-gtk
βœ… πŸ›  tv-sim βœ… πŸ›  jsc-armv7
βœ… πŸ›  watch   πŸ§ͺ jsc-armv7-tests
βœ… πŸ›  πŸ§ͺ unsafe-merge βœ… πŸ›  watch-sim

@graouts graouts self-assigned this Nov 26, 2023
@graouts graouts added the CSS Cascading Style Sheets implementation label Nov 26, 2023
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Nov 26, 2023
@graouts graouts force-pushed the remove-individual-transform-properties-flag branch from cee9da2 to 52401b6 Compare November 26, 2023 12:59
@graouts graouts removed the merging-blocked Applied to prevent a change from being merged label Nov 26, 2023
Copy link
Contributor

@annevk annevk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-reviewer looks good modulo binary compatibility.

Comment on lines 3069 to 3068
- (BOOL)CSSIndividualTransformPropertiesEnabled
{
return [self _boolValueForKey:WebKitCSSIndividualTransformPropertiesEnabledPreferenceKey];
}

- (void)setCSSIndividualTransformPropertiesEnabled:(BOOL)flag
{
[self _setBoolValue:flag forKey:WebKitCSSIndividualTransformPropertiesEnabledPreferenceKey];
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have to noop these and move them to the end of the file. Unless you want to deal with binary compatibility fallout as I understand it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #20896 as an example of how bincompat can be preserved.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you could do a codesearch to see if anyone used them. I doubt it in this case, but you never know.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a policy for the removal of such private preferences provided we don't find any internal clients (as is the case here)?

@graouts graouts force-pushed the remove-individual-transform-properties-flag branch from 52401b6 to 33ace21 Compare November 27, 2023 08:24
@graouts graouts added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Nov 27, 2023
https://bugs.webkit.org/show_bug.cgi?id=217899
rdar://70434096

Reviewed by Dean Jackson.

This flag has been on by default for years and is ripe for removal.

* LayoutTests/fast/css/rotate-invalidate-if-disabled-expected.txt: Removed.
* LayoutTests/fast/css/rotate-invalidate-if-disabled.html: Removed.
* LayoutTests/fast/css/scale-invalidate-if-disabled-expected.txt: Removed.
* LayoutTests/fast/css/scale-invalidate-if-disabled.html: Removed.
* LayoutTests/fast/css/translate-invalidate-if-disabled-expected.txt: Removed.
* LayoutTests/fast/css/translate-invalidate-if-disabled.html: Removed.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/parser/CSSParserContext.cpp:
(WebCore::CSSParserContext::CSSParserContext):
* Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h:
* Source/WebKitLegacy/mac/WebView/WebPreferences.mm:
(-[WebPreferences CSSIndividualTransformPropertiesEnabled]): Deleted.
(-[WebPreferences setCSSIndividualTransformPropertiesEnabled:]): Deleted.

Canonical link: https://commits.webkit.org/271133@main
@webkit-commit-queue webkit-commit-queue force-pushed the remove-individual-transform-properties-flag branch from 33ace21 to 3635c66 Compare November 27, 2023 08:27
@webkit-commit-queue
Copy link
Collaborator

Committed 271133@main (3635c66): https://commits.webkit.org/271133@main

Reviewed commits have been landed. Closing PR #20900 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 3635c66 into WebKit:main Nov 27, 2023
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Nov 27, 2023
@graouts graouts deleted the remove-individual-transform-properties-flag branch November 27, 2023 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CSS Cascading Style Sheets implementation
Projects
None yet
7 participants