[wp-trac] [WordPress Trac] #61646: HTML API: Improvements to testing and verification in 6.7

WordPress Trac noreply at wordpress.org
Tue Aug 6 22:06:04 UTC 2024


#61646: HTML API: Improvements to testing and verification in 6.7
--------------------------------------+---------------------
 Reporter:  dmsnell                   |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  6.7
Component:  HTML API                  |     Version:  6.6
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by dmsnell):

 In [changeset:"58859" 58859]:
 {{{
 #!CommitTicketReference repository="" revision="58859"
 HTML API: Use full parser in html5lib tests.

 Previously the `html5lib` tests have only run in the fragment parser mode,
 assuming IN BODY context. This limited the number of tests which could run
 and was a result of the HTML Processor only supporting the IN BODY
 fragment
 parser. In [58836], however, a full parser was added to the HTML
 Processor.

 In this patch the full parser is utilized in order to run more of the
 previously-skipped tests, asserting more behaviors in the HTML parsing.

 Developed in https://github.com/wordpress/wordpress-develop/pull/7117
 Discussed in https://core.trac.wordpress.org/ticket/61646

 Props: dmsnell, jonsurrell.
 See #61646.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61646#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list