[webkit-changes] [WebKit/WebKit] 5b2c72: Remove support for TagName::command

Anne van Kesteren noreply at github.com
Fri Mar 31 11:29:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5b2c72f4aa1f5fab6d19ec7e0ccf8bad40339436
      https://github.com/WebKit/WebKit/commit/5b2c72f4aa1f5fab6d19ec7e0ccf8bad40339436
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M LayoutTests/html5lib/generated/run-tests25-data-expected.txt
    M LayoutTests/html5lib/generated/run-tests25-write-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests25_run_type=uri-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests25_run_type=write-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests25_run_type=write_single-expected.txt
    M Source/WebCore/WebCore.order
    M Source/WebCore/WebCoreMacros.cmake
    M Source/WebCore/html/HTMLObjectElement.cpp
    M Source/WebCore/html/HTMLTagNames.in
    M Source/WebCore/html/parser/HTMLStackItem.h
    M Source/WebCore/html/parser/HTMLTreeBuilder.cpp

  Log Message:
  -----------
  Remove support for TagName::command
https://bugs.webkit.org/show_bug.cgi?id=254737
rdar://107416609

Reviewed by Ryosuke Niwa.

After this change the X in

  <command>X

will be a child rather than a following sibling of the (unknown) command element, as HTML requires as of about a decade ago.

* LayoutTests/html5lib/generated/run-tests25-data-expected.txt:
* LayoutTests/html5lib/generated/run-tests25-write-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests25_run_type=uri-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests25_run_type=write-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests25_run_type=write_single-expected.txt:
* Source/WebCore/WebCore.order:
* Source/WebCore/WebCoreMacros.cmake:

Correct a typo in the file name for MathML attributes and merge MAIN_DEPENDENCY into DEPENDS for GENERATE_DOM_NAME_ENUM in the hopes of making WebKitGTK and WinCairo build correctly.

* Source/WebCore/html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::parametersForPlugin):
(WebCore::HTMLObjectElement::renderFallbackContent):
(WebCore::preventsParentObjectFromExposure):
(WebCore::HTMLObjectElement::containsJavaApplet const):
* Source/WebCore/html/HTMLTagNames.in:
* Source/WebCore/html/parser/HTMLStackItem.h:
(WebCore::isSpecialNode):
* Source/WebCore/html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processStartTagForInBody):
(WebCore::HTMLTreeBuilder::processStartTagForInHead):

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




More information about the webkit-changes mailing list