Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reimplement the progress display in wide-layout attachments
https://bugs.webkit.org/show_bug.cgi?id=255100 rdar://problem/107716507 Reviewed by Aditya Keerthi. When a wide-layout attachment has an attribute "progress" with a number, it is now directly handled by the top-level attachment element, by displaying a pie chart; previously it was handled by the inner attachment's legacy code. * Source/WebCore/html/HTMLAttachmentElement.cpp: (WebCore::attachmentProgressIdentifier): (WebCore::HTMLAttachmentElement::ensureModernShadowTree): (WebCore::HTMLAttachmentElement::updateProgress): (WebCore::HTMLAttachmentElement::parseAttribute): * Source/WebCore/html/HTMLAttachmentElement.h: * Source/WebCore/html/shadow/attachmentElementShadow.css: (div#attachment-progress): Canonical link: https://commits.webkit.org/262758@main
- Loading branch information
Showing
3 changed files
with
59 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters