From 5b4b3200699b4e51c2d1a5cc5587d583be5a73c7 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 | 939 ++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 862 insertions(+), 77 deletions(-) diff --git a/source b/source index 71508946c2f..13703629aec 100644 --- a/source +++ b/source @@ -2382,8 +2382,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.
  • @@ -3178,7 +3184,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
  • @@ -3250,6 +3256,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
  • @@ -3399,13 +3407,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