Make WordPress Core

Opened 7 months ago

Closed 5 weeks ago

Last modified 4 weeks ago

#64504 closed task (blessed) (fixed)

HTML API: Update DOCTYPE parsing for spec changes

Reported by: jonsurrell Owned by: jonsurrell
Priority: normal Milestone: 7.1
Component: HTML API Version:
Severity: normal Keywords: has-patch has-unit-tests
Cc: Focuses:

Description

Issue 12023 was filed with the WHATWG HTML spec (based on WordPress HTML API work). It was resolved in PR 12084.

The standard changed how some DOCTYPE declarations determine the document mode. The HTML API doctype class needs to be updated accordingly.

Change History (4)

This ticket was mentioned in PR #12382 on WordPress/wordpress-develop by @jonsurrell.


6 weeks ago
#1

  • Keywords has-patch has-unit-tests added

Trac ticket: https://core.trac.wordpress.org/ticket/64504

## Use of AI Tools

#2 @jonsurrell
5 weeks ago

  • Owner set to jonsurrell
  • Resolutionfixed
  • Status newclosed

In 62666:

HTML API: Apply HTML specification change to DOCTYPE parsing.

The HTML standard was updated to remove a distinction between empty and missing SYSTEM identifiers for the purposes of determining the mode of a document. See https://github.com/whatwg/html/issues/12023.

Developed in https://github.com/WordPress/wordpress-develop/pull/12382

Props jonsurrell, dmsnell.
Fixes #64504.

@jonsurrell commented on PR #12382:


5 weeks ago
#3

Merged in r62666.

#4 @sabernhardt
4 weeks ago

  • Milestone Awaiting Review7.1
Note: See TracTickets for help on using tickets.