Skip to content

merge_pr_63320

Choose a tag to compare

@github-actions github-actions released this 13 Nov 11:02
2f5a493

Test processing instruction attribute edge cases, cloning, Range, and CharacterData methods (#63320)

Tests for follow-up spec changes on processing instruction attributes:

  • Malformed PI pseudo-attribute syntax: duplicate names, trailing/leading junk, missing whitespace/quotes/values, and U+0000 NULL (whatwg/html#13036 item 1)
  • Removing a non-existent PI attribute (removeAttribute, toggleAttribute(name, false)) does not normalize or wipe data, nor queue a mutation record (whatwg/dom#1510)
  • Cloning (cloneNode, importNode), Range operations (cloneContents, extractContents, deleteContents), CharacterData methods, and live range collapsing on ProcessingInstruction attributes (whatwg/dom#1511)

For whatwg/dom#1510 and whatwg/dom#1511.