From f5dcb1a3e1b0bd8f455bf83dbb40b775def3c73f Mon Sep 17 00:00:00 2001 From: Luke Warlow Date: Thu, 18 Jul 2024 23:11:20 +0100 Subject: [PATCH] Upstream XMLSerializer from DOM Parsing spec --- source | 943 ++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 865 insertions(+), 78 deletions(-) diff --git a/source b/source index 17d4dc1bd3b..169484846c5 100644 --- a/source +++ b/source @@ -2372,8 +2372,12 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute data-x="attr-xml-space">space in the XML namespace is defined by Extensible Markup Language (XML). XML

-

The Name production is defined in XML. +

The AttValue, + Name, Char, and + PubidChar productions are defined in XML. XML

This specification also references the

  • Attr interface
  • -
  • CharacterData interface
  • +
  • CharacterData interface, and its data attribute
  • Comment interface
  • +
  • CDATASection interface
  • DOMImplementation interface
  • Document interface and its + documentElement concept and doctype attribute
  • DocumentOrShadowRoot interface
  • DocumentFragment interface
  • -
  • DocumentType interface
  • +
  • DocumentType interface, and its name, publicId and systemId attributes
  • ChildNode interface
  • Element interface
  • attachShadow() method.
  • @@ -3167,7 +3173,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The retargeting algorithm
  • Node interface
  • NodeList interface
  • -
  • ProcessingInstruction interface
  • +
  • ProcessingInstruction interface, and its target attribute
  • ShadowRoot interface
  • Text interface
  • Range interface
  • @@ -3239,6 +3245,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The attribute change steps hook for attributes
  • The value concept for attributes
  • The local name concept for attributes
  • +
  • The namespace concept for attributes
  • +
  • The namespace prefix concept for attributes
  • The attribute list concept
  • The data of a CharacterData node and its replace data algorithm
  • @@ -3388,13 +3396,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute data-x="">click" or "if the event name is keypress". The terms "name" and "type" for events are synonymous.

    -

    The following features are defined in DOM Parsing and Serialization: - DOMPARSING

    - - -

    The following features are defined in Selection API: SELECTION