[webkit-changes] [WebKit/WebKit] 675248: Change navigable target names to _blank if they ha...
sideshowbarker
noreply at github.com
Tue Aug 22 15:57:22 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6752480fe44bb56f5e1306e81bf45a6eeef245cc
https://github.com/WebKit/WebKit/commit/6752480fe44bb56f5e1306e81bf45a6eeef245cc
Author: Michael[tm] Smith <mike at w3.org>
Date: 2023-08-22 (Tue, 22 Aug 2023)
Changed paths:
M LayoutTests/imported/w3c/resources/import-expectations.json
A LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/dangling-markup-window-name.tentative-expected.txt
A LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/dangling-markup-window-name.tentative.html
M LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/resources/window-name.sub.html
M LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/w3c-import.log
M LayoutTests/tests-options.json
M Source/WebCore/dom/Element.cpp
M Source/WebCore/dom/Element.h
M Source/WebCore/html/HTMLAnchorElement.cpp
M Source/WebCore/html/HTMLFormElement.cpp
Log Message:
-----------
Change navigable target names to _blank if they have dangling markup
https://bugs.webkit.org/show_bug.cgi?id=257349
Reviewed by Chris Dumez.
https://github.com/whatwg/html/pull/9309
* LayoutTests/imported/w3c/resources/import-expectations.json:
* LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/dangling-markup-window-name.tentative-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/dangling-markup-window-name.tentative.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/resources/window-name.sub.html:
* LayoutTests/imported/w3c/web-platform-tests/html/browsers/windows/w3c-import.log:
* LayoutTests/tests-options.json:
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::makeTargetBlankIfHasDanglingMarkup const):
* Source/WebCore/dom/Element.h:
* Source/WebCore/html/HTMLAnchorElement.cpp:
(WebCore::HTMLAnchorElement::effectiveTarget const):
* Source/WebCore/html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::effectiveTarget const):
Canonical link: https://commits.webkit.org/267154@main
More information about the webkit-changes
mailing list