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

[css-transitions] css/css-properties-values-api/animation/custom-property-transition-inherited-used-by-standard-property.html is a failure #8391

Merged

Conversation

anttijk
Copy link
Contributor

@anttijk anttijk commented Jan 9, 2023

e72cc27

[css-transitions] css/css-properties-values-api/animation/custom-property-transition-inherited-used-by-standard-property.html is a failure
https://bugs.webkit.org/show_bug.cgi?id=249640
rdar://103549960

Reviewed by Antoine Quint.

* LayoutTests/fast/css/getComputedStyle/getComputedStyle-style-resolution-expected.txt:
* LayoutTests/fast/css/getComputedStyle/getComputedStyle-style-resolution.html:

Change the test to verify that sibling cases don't trigger recalc.

* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/animation/custom-property-transition-inherited-used-by-standard-property-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-variables/variable-presentation-attribute-expected.txt:
* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::hasValidStyleForProperty):

Remove an optimization where we try to avoid style recalc while having a invalid ancestor style. This can't be done in general case
since there can be complex relationships between properties (via var() and em units for example).

The optimization is narrow and probably not valuable in practice.

(WebCore::isImplicitlyInheritedGridOrFlexProperty): Deleted.
(WebCore::nonInheritedColorPropertyHasValueCurrentColor): Deleted.

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

16333a0

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

@anttijk anttijk self-assigned this Jan 9, 2023
@anttijk anttijk added the Animations Bugs related to CSS + SVG animations and transitions label Jan 9, 2023
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Jan 9, 2023
@graouts
Copy link
Contributor

graouts commented Jan 9, 2023

Looks like fast/css/getComputedStyle/getComputedStyle-style-resolution.html regressed and imported/w3c/web-platform-tests/css/css-variables/variable-presentation-attribute.html progressed. Maybe the former is not accurate though, it's not a WPT anyway.

@anttijk anttijk removed the merging-blocked Applied to prevent a change from being merged label Jan 9, 2023
@anttijk anttijk added the merge-queue Applied to send a pull request to merge-queue label Jan 9, 2023
@webkit-commit-queue webkit-commit-queue added merging-blocked Applied to prevent a change from being merged and removed merge-queue Applied to send a pull request to merge-queue labels Jan 9, 2023
@nt1m nt1m added unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing and removed merging-blocked Applied to prevent a change from being merged labels Jan 10, 2023
…erty-transition-inherited-used-by-standard-property.html is a failure

https://bugs.webkit.org/show_bug.cgi?id=249640
rdar://103549960

Reviewed by Antoine Quint.

* LayoutTests/fast/css/getComputedStyle/getComputedStyle-style-resolution-expected.txt:
* LayoutTests/fast/css/getComputedStyle/getComputedStyle-style-resolution.html:

Change the test to verify that sibling cases don't trigger recalc.

* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/animation/custom-property-transition-inherited-used-by-standard-property-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-variables/variable-presentation-attribute-expected.txt:
* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::hasValidStyleForProperty):

Remove an optimization where we try to avoid style recalc while having a invalid ancestor style. This can't be done in general case
since there can be complex relationships between properties (via var() and em units for example).

The optimization is narrow and probably not valuable in practice.

(WebCore::isImplicitlyInheritedGridOrFlexProperty): Deleted.
(WebCore::nonInheritedColorPropertyHasValueCurrentColor): Deleted.

Canonical link: https://commits.webkit.org/258714@main
@webkit-commit-queue
Copy link
Collaborator

Committed 258714@main (e72cc27): https://commits.webkit.org/258714@main

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

@webkit-early-warning-system webkit-early-warning-system merged commit e72cc27 into WebKit:main Jan 10, 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 Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Animations Bugs related to CSS + SVG animations and transitions
Projects
None yet
6 participants