Re: [whatwg/dom] Misalignment between spec and WPT for "validate and extract" (Issue #1387)

shannonbooth left a comment (whatwg/dom#1387)

Actually, I unfortunately think there are some more tests that don't align, and I don't quite understand Chromes behavior yet. For example for:

https://github.com/web-platform-tests/wpt/blob/856c33e87e61f513ddc81e082f78b6d24027e83d/dom/nodes/Document-createElementNS.js#L73

If we strictly split on ':' then `splitResult[1]` / `localName` should be the empty string. And an empty string should not be considered valid for local names based on https://dom.spec.whatwg.org/#valid-attribute-local-name either. Will need to investigate further.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1387#issuecomment-3028081191
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1387/3028081191@github.com>

Received on Wednesday, 2 July 2025 14:25:38 UTC