diff --git a/source b/source index 069039c8970..aa3129d504c 100644 --- a/source +++ b/source @@ -7018,34 +7018,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute return a DOMTokenList object whose associated element is the element in question and whose associated attribute's local name is the name of the attribute in question.

-

If a reflecting IDL attribute has the type HTMLElement, or an interface that - descends from HTMLElement, then, on getting, it must run the following algorithm - (stopping at the first point where a value is returned):

- -
    - -
  1. If the corresponding content attribute is absent, then the IDL attribute must return - null.
  2. - -
  3. Let candidate be the element that the document.getElementById() method would find when - called on the content attribute's element's node document if it were passed as its argument the current value of - the corresponding content attribute.
  4. - -
  5. If candidate is null, or if it is not type-compatible with the IDL - attribute, then the IDL attribute must return null.
  6. - -
  7. Otherwise, it must return candidate.
  8. - -
- -

On setting, if the given element has an id attribute, and has the - same tree as the element of the attribute being set, and the given element is the - first element in that tree whose ID is the value of - that id attribute, then the content attribute must be set to the - value of that id attribute. Otherwise, the content attribute must be - set to the empty string.

-