[webkit-changes] [WebKit/WebKit] 7dbe55: Add optional save button to Attachment element

Gerald Squelart noreply at github.com
Tue Feb 21 16:55:03 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7dbe55762352e84e4b449ae9733b1efdafc50c6d
      https://github.com/WebKit/WebKit/commit/7dbe55762352e84e4b449ae9733b1efdafc50c6d
  Author: Gerald Squelart <g_squelart at apple.com>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

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

  Log Message:
  -----------
  Add optional save button to Attachment element
https://bugs.webkit.org/show_bug.cgi?id=252420
rdar://105250269

Reviewed by Aditya Keerthi and Tim Nguyen.

* Source/WebCore/html/HTMLAttachmentElement.cpp:
(WebCore::attachmentSaveButtonIdentifier):
(WebCore::saveAttr):
(WebCore::createContainedElement):
(WebCore::HTMLAttachmentElement::ensureModernShadowTree):
(WebCore::HTMLAttachmentElement::updateSaveButton):
(WebCore::HTMLAttachmentElement::parseAttribute):
* Source/WebCore/html/HTMLAttachmentElement.h:
* Source/WebCore/html/shadow/attachmentElementShadow.css:
(button#attachment-save-button):

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




More information about the webkit-changes mailing list