[webkit-changes] [WebKit/WebKit] 31c3e7: Reimplement the progress display in wide-layout at...

Gerald Squelart noreply at github.com
Sun Apr 9 02:28:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 31c3e79e949e6fa5e661a2671baf8e8d23953c71
      https://github.com/WebKit/WebKit/commit/31c3e79e949e6fa5e661a2671baf8e8d23953c71
  Author: Gerald Squelart <squelart at apple.com>
  Date:   2023-04-09 (Sun, 09 Apr 2023)

  Changed paths:
    M Source/WebCore/html/HTMLAttachmentElement.cpp
    M Source/WebCore/html/HTMLAttachmentElement.h
    M Source/WebCore/html/shadow/attachmentElementShadow.css

  Log Message:
  -----------
  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




More information about the webkit-changes mailing list