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

josepharhar left a comment (whatwg/dom#1387)

Whoops, I should have disallowed emtpy namespace prefixes. I'll fix that.



> If we strictly split on ':' then `splitResult[1]` / `localName` should be the empty string.

I think I misunderstood what "strictly split" does. For `f::oo`, I thought that the local name would be `:oo`, but its actually an empty string? And we should throw away the remaining `:oo`? This makes sense, but I'd like @domenic to make sure before I change chrome's implementation.

Thanks for finding this!

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

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

Received on Wednesday, 2 July 2025 22:57:31 UTC