[Webkit-unassigned] [Bug 245299] getAttribute('aria-activedescendant') should return null when the assigned node has moved to a shadow tree

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 21 23:14:32 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=245299

--- Comment #4 from Ryosuke Niwa <rniwa at webkit.org> ---
Hm... looks like the spec has setter steps like this. Which means that content attribute will have stale ID set.

1.If the given value is null, then:
  1. Set this's explicitly set attr-element to null.
  2. Remove the content attribute from this.
  3. Return.

2. Let id be the empty string.

3. If the given value:
   * has the same root as this, and
   * has an id attribute, and
   *is the first element in this's node tree whose ID is the value of that id attribute,
  then set id to the given value's ID.

4. Set the content attribute's value for this to id.

5. Set this's explicitly set attr-element to a weak reference to the given value.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220922/6bf56234/attachment-0001.htm>


More information about the webkit-unassigned mailing list