Skip to content

Conversation

@annevk
Copy link
Member

@annevk annevk commented Jan 14, 2026

In particular for DOCTYPE system and public identifiers when it comes to quirks mode determination to align with Chromium and WebKit which had a quirk (harhar) in their implementation. This does not remove the distinction entirely as it's still used for validation.

Tests: web-platform-tests/wpt#57077.

Fixes #12023.

(See WHATWG Working Mode: Changes for more details.)


/parsing.html ( diff )

…YPEs

In particular for DOCTYPE system and public identifiers when it comes to quirks mode determination to align with Chromium and WebKit which had a quirk (harhar) in their implementation. This does not remove the distinction entirely as it's still used for validation.

Tests: web-platform-tests/wpt#57077.

Fixes #12023.
@zcorpan zcorpan merged commit e7318c5 into main Jan 14, 2026
2 checks passed
@zcorpan zcorpan deleted the annevk/parser-doctype-check branch January 14, 2026 11:30
zcorpan pushed a commit to web-platform-tests/wpt that referenced this pull request Jan 14, 2026
This adds tests to verify that an empty DOCTYPE system identifier
is treated the same as a missing one for quirks mode determination,
aligning with Chromium and WebKit behavior.

See whatwg/html#12084
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Consider dropping DOCTYPE system/public identifier missing/empty distinction

3 participants