Changeset 57209
- Timestamp:
- 12/20/2023 12:34:34 PM (14 months ago)
- Location:
- trunk/src/wp-includes/html-api
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/html-api/class-wp-html-active-formatting-elements.php
r56363 r57209 106 106 * > (the order of the attributes does not matter). 107 107 * 108 * @ TODO:Implement the "Noah's Ark clause" to only add up to three of any given kind of formatting elements to the stack.108 * @todo Implement the "Noah's Ark clause" to only add up to three of any given kind of formatting elements to the stack. 109 109 */ 110 110 // > Add element to the list of active formatting elements. -
trunk/src/wp-includes/html-api/class-wp-html-processor.php
r57186 r57209 253 253 $p->state->insertion_mode = WP_HTML_Processor_State::INSERTION_MODE_IN_BODY; 254 254 255 // @ TODO:Create "fake" bookmarks for non-existent but implied nodes.255 // @todo Create "fake" bookmarks for non-existent but implied nodes. 256 256 $p->bookmarks['root-node'] = new WP_HTML_Span( 0, 0 ); 257 257 $p->bookmarks['context-node'] = new WP_HTML_Span( 0, 0 ); … … 507 507 * on the stack is a void element, it must be closed. 508 508 * 509 * @ TODO:Once self-closing foreign elements and BGSOUND are supported,509 * @todo Once self-closing foreign elements and BGSOUND are supported, 510 510 * they must also be implicitly closed here too. BGSOUND is 511 511 * special since it's only self-closing if the self-closing flag … … 609 609 case '+BUTTON': 610 610 if ( $this->state->stack_of_open_elements->has_element_in_scope( 'BUTTON' ) ) { 611 // @ TODO:Indicate a parse error once it's possible. This error does not impact the logic here.611 // @todo Indicate a parse error once it's possible. This error does not impact the logic here. 612 612 $this->generate_implied_end_tags(); 613 613 $this->state->stack_of_open_elements->pop_until( 'BUTTON' ); … … 686 686 case '-SUMMARY': 687 687 if ( ! $this->state->stack_of_open_elements->has_element_in_scope( $tag_name ) ) { 688 // @ TODO:Report parse error.688 // @todo Report parse error. 689 689 // Ignore the token. 690 690 return $this->step(); … … 693 693 $this->generate_implied_end_tags(); 694 694 if ( $this->state->stack_of_open_elements->current_node()->node_name !== $tag_name ) { 695 // @ TODO:Record parse error: this error doesn't impact parsing.695 // @todo Record parse error: this error doesn't impact parsing. 696 696 } 697 697 $this->state->stack_of_open_elements->pop_until( $tag_name ); … … 718 718 ) 719 719 ) { 720 // @ TODO:Indicate a parse error once it's possible.720 // @todo Indicate a parse error once it's possible. 721 721 $this->state->stack_of_open_elements->pop(); 722 722 } … … 738 738 * This is a parse error; ignore the token. 739 739 * 740 * @ TODO:Indicate a parse error once it's possible.740 * @todo Indicate a parse error once it's possible. 741 741 */ 742 742 return $this->step(); … … 746 746 747 747 if ( $this->state->stack_of_open_elements->current_node()->node_name !== $tag_name ) { 748 // @ TODO:Record parse error: this error doesn't impact parsing.748 // @todo Record parse error: this error doesn't impact parsing. 749 749 } 750 750
Note: See TracChangeset
for help on using the changeset viewer.