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

Make <attachment> progress circle use a single element #15532

Conversation

nt1m
Copy link
Member

@nt1m nt1m commented Jul 4, 2023

e8d22b5

Make <attachment> progress circle use a single element
https://bugs.webkit.org/show_bug.cgi?id=258840
rdar://111719618

Reviewed by Antti Koivisto.

Use a pseudo-element (::before) to avoid needing to create a separate element in the DOM.

* LayoutTests/platform/ios-wk2/fast/attachment/cocoa/wide-attachment-rendering-expected.txt:
* LayoutTests/platform/mac-wk2/fast/attachment/cocoa/wide-attachment-rendering-expected.txt:
* Source/WebCore/html/HTMLAttachmentElement.cpp:
(WebCore::HTMLAttachmentElement::ensureWideLayoutShadowTree):
(WebCore::attachmentProgressCircleIdentifier): Deleted.
* Source/WebCore/html/shadow/attachmentElementShadow.css:
(div#attachment-progress::before):
(div#attachment-progress-circle): Deleted.

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

8d5ed72

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

@nt1m nt1m requested review from cdumez and rniwa as code owners July 4, 2023 05:03
@nt1m nt1m self-assigned this Jul 4, 2023
@nt1m nt1m added the WebCore Misc. For miscellaneous bugs in the WebCore framework (and not JavaScriptCore or WebKit). label Jul 4, 2023
@nt1m nt1m requested review from whsieh, pxlcoder and heycam July 4, 2023 05:04
@nt1m nt1m added the request-merge-queue Request a pull request to be added to merge-queue once ready label Jul 4, 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 Jul 4, 2023
@nt1m nt1m removed the merging-blocked Applied to prevent a change from being merged label Jul 4, 2023
@nt1m nt1m force-pushed the eng/Make-attachment-progress-circle-use-a-single-element branch from 2786ef4 to ff76dab Compare July 4, 2023 06:30
@nt1m nt1m added the merge-queue Applied to send a pull request to merge-queue label Jul 4, 2023
@webkit-ews-buildbot webkit-ews-buildbot 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 Jul 4, 2023
@nt1m nt1m removed the merging-blocked Applied to prevent a change from being merged label Jul 4, 2023
@nt1m nt1m force-pushed the eng/Make-attachment-progress-circle-use-a-single-element branch from ff76dab to 8d5ed72 Compare July 4, 2023 09:11
@nt1m nt1m added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Jul 4, 2023
https://bugs.webkit.org/show_bug.cgi?id=258840
rdar://111719618

Reviewed by Antti Koivisto.

Use a pseudo-element (::before) to avoid needing to create a separate element in the DOM.

* LayoutTests/platform/ios-wk2/fast/attachment/cocoa/wide-attachment-rendering-expected.txt:
* LayoutTests/platform/mac-wk2/fast/attachment/cocoa/wide-attachment-rendering-expected.txt:
* Source/WebCore/html/HTMLAttachmentElement.cpp:
(WebCore::HTMLAttachmentElement::ensureWideLayoutShadowTree):
(WebCore::attachmentProgressCircleIdentifier): Deleted.
* Source/WebCore/html/shadow/attachmentElementShadow.css:
(div#attachment-progress::before):
(div#attachment-progress-circle): Deleted.

Canonical link: https://commits.webkit.org/265749@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/Make-attachment-progress-circle-use-a-single-element branch from 8d5ed72 to e8d22b5 Compare July 4, 2023 09:15
@webkit-commit-queue
Copy link
Collaborator

Committed 265749@main (e8d22b5): https://commits.webkit.org/265749@main

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

@webkit-commit-queue webkit-commit-queue merged commit e8d22b5 into WebKit:main Jul 4, 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 Jul 4, 2023
@nt1m nt1m deleted the eng/Make-attachment-progress-circle-use-a-single-element branch November 3, 2023 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebCore Misc. For miscellaneous bugs in the WebCore framework (and not JavaScriptCore or WebKit).
Projects
None yet
5 participants