Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't include namespace in IsValidShadowHostName check
In [1] I mistakenly changed the check for whether an element has a valid shadow name to include the full qualified name rather than just the local name. Using only the local name is correct per the intent of the spec [2] (although the key word is missing from the spec due to a bug; see [3]). Fix this check (and the corresponding check for EditContext) to only include the local name. [1] https://chromium-review.googlesource.com/c/chromium/src/+/4617146 [2] https://dom.spec.whatwg.org/#concept-attach-a-shadow-root [3] whatwg/dom#1273 Bug: 331239166 Change-Id: Ic01b26ac592ce16c36017925db702f5b495b6165
- Loading branch information