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

Dynamically added custom scrollbar styles don't apply #14386

Conversation

obyknovenius
Copy link
Contributor

@obyknovenius obyknovenius commented May 26, 2023

1ac712c

Dynamically added custom scrollbar styles don't apply
https://bugs.webkit.org/show_bug.cgi?id=211219

Reviewed by Antti Koivisto.

`::-webkit-scrollbar` pseudo-element should be resolved eagerly during
style resolution, similar to `::first-line` and `::first-letter`.

* LayoutTests/fast/css/scrollbar-custom-dynamic-change-expected.html: Added.
* LayoutTests/fast/css/scrollbar-custom-dynamic-change.html: Added.
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::resolveElement):

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

a3595f5

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 βœ… πŸ›  gtk
βœ… πŸ§ͺ ios-wk2-wpt βœ… πŸ§ͺ mac-wk1 βœ… πŸ§ͺ gtk-wk2
βœ… πŸ§ͺ api-ios βœ… πŸ§ͺ mac-wk2 βœ… πŸ§ͺ api-gtk
βœ… πŸ›  tv βœ… πŸ§ͺ mac-AS-debug-wk2
βœ… πŸ›  tv-sim βœ… πŸ§ͺ mac-wk2-stress
βœ… πŸ›  πŸ§ͺ merge βœ… πŸ›  watch
βœ… πŸ›  watch-sim

@obyknovenius obyknovenius self-assigned this May 26, 2023
@obyknovenius obyknovenius added the CSS Cascading Style Sheets implementation label May 26, 2023
@Ahmad-S792 Ahmad-S792 requested a review from nt1m May 26, 2023 10:25
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label May 26, 2023
@aproskuryakov aproskuryakov requested a review from smfr May 26, 2023 16:06
@obyknovenius obyknovenius removed the merging-blocked Applied to prevent a change from being merged label May 30, 2023
@obyknovenius obyknovenius force-pushed the fix/custom-scrollbar-dynamic-change branch from 96a9ff5 to 3d0de4c Compare May 30, 2023 15:58
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label May 30, 2023
@obyknovenius obyknovenius removed the merging-blocked Applied to prevent a change from being merged label May 31, 2023
@obyknovenius obyknovenius force-pushed the fix/custom-scrollbar-dynamic-change branch from 3d0de4c to ecaba8b Compare June 1, 2023 10:54
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Jun 1, 2023
@obyknovenius obyknovenius removed the merging-blocked Applied to prevent a change from being merged label Jun 8, 2023
@obyknovenius obyknovenius force-pushed the fix/custom-scrollbar-dynamic-change branch from ecaba8b to a3595f5 Compare June 8, 2023 15:03
@anttijk
Copy link
Contributor

anttijk commented Jun 9, 2023

looks good

@obyknovenius obyknovenius added the merge-queue Applied to send a pull request to merge-queue label Jun 9, 2023
https://bugs.webkit.org/show_bug.cgi?id=211219

Reviewed by Antti Koivisto.

`::-webkit-scrollbar` pseudo-element should be resolved eagerly during
style resolution, similar to `::first-line` and `::first-letter`.

* LayoutTests/fast/css/scrollbar-custom-dynamic-change-expected.html: Added.
* LayoutTests/fast/css/scrollbar-custom-dynamic-change.html: Added.
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::resolveElement):

Canonical link: https://commits.webkit.org/265015@main
@webkit-commit-queue webkit-commit-queue force-pushed the fix/custom-scrollbar-dynamic-change branch from a3595f5 to 1ac712c Compare June 9, 2023 10:56
@webkit-commit-queue
Copy link
Collaborator

Committed 265015@main (1ac712c): https://commits.webkit.org/265015@main

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

@webkit-commit-queue webkit-commit-queue merged commit 1ac712c into WebKit:main Jun 9, 2023
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Jun 9, 2023
@obyknovenius obyknovenius deleted the fix/custom-scrollbar-dynamic-change branch June 9, 2023 10:59
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
5 participants