Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 36c736481d50204339ae930b9922c6a03bb06aae
https://github.com/WebKit/WebKit/commit/36c736481d50204339ae930b9922c6a03bb06aae
Author: Gerald Squelart <[email protected]>
Date: 2023-03-03 (Fri, 03 Mar 2023)
Changed paths:
M Source/WebCore/html/HTMLAttachmentElement.cpp
M Source/WebCore/html/HTMLAttachmentElement.h
Log Message:
-----------
Attachment's save button click event is now always named "save"
https://bugs.webkit.org/show_bug.cgi?id=253269
rdar://106108684
Reviewed by Tim Nguyen.
The HTML attribute "save" doesn't need a value anymore. If it's present with
any value, the save button is shown, and clicking on it will dispatch a
MouseEvent with type name "save".
* Source/WebCore/html/HTMLAttachmentElement.cpp:
(WebCore::saveAtom):
(WebCore::saveAttr):
(WebCore::HTMLAttachmentElement::ensureModernShadowTree):
(WebCore::HTMLAttachmentElement::updateSaveButton):
(WebCore::HTMLAttachmentElement::parseAttribute):
* Source/WebCore/html/HTMLAttachmentElement.h:
Canonical link: https://commits.webkit.org/261206@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes