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

text-decoration-thickness property doesn't always trigger repaint when changed #8372

Conversation

nt1m
Copy link
Member

@nt1m nt1m commented Jan 8, 2023

6be98ae

text-decoration-thickness property doesn't always trigger repaint when changed
https://bugs.webkit.org/show_bug.cgi?id=224483
rdar://76895249

Reviewed by Darin Adler.

RenderStyle::changeRequiresRepaintIfText() should return true when text-decoration-thickness changes.

GOV.UK bug tracker: alphagov/reported-bugs#60

* LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/invalidation/text-decoration-thickness-expected.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/invalidation/text-decoration-thickness-ref.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/invalidation/text-decoration-thickness.html: Added.
* LayoutTests/platform/ios/TestExpectations:
* Source/WebCore/rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::changeRequiresRepaintIfText const):

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

42d8bce

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
  πŸ›  watch-sim
βœ… πŸ›  πŸ§ͺ unsafe-merge

@nt1m nt1m self-assigned this Jan 8, 2023
@nt1m nt1m added the Text For bugs in text layout and rendering, including international text support. label Jan 8, 2023
@nt1m nt1m requested review from litherum, darinadler, smfr, anttijk and alanbaradlay and removed request for litherum January 8, 2023 08:00
@nt1m nt1m force-pushed the eng/text-decoration-thickness-property-doesnt-always-trigger-repaint-when-changed branch from 809ff02 to 2b0b6a3 Compare January 8, 2023 08:04
@nt1m nt1m requested a review from heycam January 8, 2023 08:08
@nt1m nt1m added the request-merge-queue Request a pull request to be added to merge-queue once ready label Jan 8, 2023
@webkit-ews-buildbot webkit-ews-buildbot added merging-blocked Applied to prevent a change from being merged and removed request-merge-queue Request a pull request to be added to merge-queue once ready labels Jan 8, 2023
@nt1m nt1m requested a review from graouts January 8, 2023 20:56
@nt1m nt1m removed the merging-blocked Applied to prevent a change from being merged label Jan 8, 2023
@nt1m nt1m force-pushed the eng/text-decoration-thickness-property-doesnt-always-trigger-repaint-when-changed branch from 2b0b6a3 to 42d8bce Compare January 8, 2023 21:09
@nt1m nt1m added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Jan 8, 2023
…n changed

https://bugs.webkit.org/show_bug.cgi?id=224483
rdar://76895249

Reviewed by Darin Adler.

RenderStyle::changeRequiresRepaintIfText() should return true when text-decoration-thickness changes.

GOV.UK bug tracker: alphagov/reported-bugs#60

* LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/invalidation/text-decoration-thickness-expected.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/invalidation/text-decoration-thickness-ref.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/invalidation/text-decoration-thickness.html: Added.
* LayoutTests/platform/ios/TestExpectations:
* Source/WebCore/rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::changeRequiresRepaintIfText const):

Canonical link: https://commits.webkit.org/258641@main
@webkit-early-warning-system webkit-early-warning-system force-pushed the eng/text-decoration-thickness-property-doesnt-always-trigger-repaint-when-changed branch from 42d8bce to 6be98ae Compare January 8, 2023 21:14
@webkit-commit-queue
Copy link
Collaborator

Committed 258641@main (6be98ae): https://commits.webkit.org/258641@main

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

@webkit-early-warning-system webkit-early-warning-system merged commit 6be98ae into WebKit:main Jan 8, 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 8, 2023
@nt1m nt1m deleted the eng/text-decoration-thickness-property-doesnt-always-trigger-repaint-when-changed branch January 8, 2023 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Text For bugs in text layout and rendering, including international text support.
Projects
None yet
5 participants