Changeset 58877
- Timestamp:
- 08/10/2024 04:58:16 AM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/html-api/class-wp-html-processor.php
r58871 r58877 776 776 * closing as soon as the processor advances to the next token. 777 777 * 778 * @todo Review the self-closing logic when no node is present, ensure it779 * matches the expectations in `step()`.780 *781 778 * @since 6.6.0 782 779 * … … 3318 3315 case '-TFOOT': 3319 3316 case '-THEAD': 3320 /*3321 * @todo This needs to check if the element in scope is an HTML element, meaning that3322 * when SVG and MathML support is added, this needs to differentiate between an3323 * HTML element of the given name, such as `<center>`, and a foreign element of3324 * the same given name.3325 */3326 3317 if ( ! $this->state->stack_of_open_elements->has_element_in_table_scope( $tag_name ) ) { 3327 3318 // Parse error: ignore the token. … … 3454 3445 case '-TFOOT': 3455 3446 case '-THEAD': 3456 /*3457 * @todo This needs to check if the element in scope is an HTML element, meaning that3458 * when SVG and MathML support is added, this needs to differentiate between an3459 * HTML element of the given name, such as `<center>`, and a foreign element of3460 * the same given name.3461 */3462 3447 if ( ! $this->state->stack_of_open_elements->has_element_in_table_scope( $tag_name ) ) { 3463 3448 // Parse error: ignore the token. … … 3522 3507 case '-TD': 3523 3508 case '-TH': 3524 /*3525 * @todo This needs to check if the element in scope is an HTML element, meaning that3526 * when SVG and MathML support is added, this needs to differentiate between an3527 * HTML element of the given name, such as `<center>`, and a foreign element of3528 * the same given name.3529 */3530 3509 if ( ! $this->state->stack_of_open_elements->has_element_in_table_scope( $tag_name ) ) { 3531 3510 // Parse error: ignore the token. … … 3591 3570 case '-THEAD': 3592 3571 case '-TR': 3593 /*3594 * @todo This needs to check if the element in scope is an HTML element, meaning that3595 * when SVG and MathML support is added, this needs to differentiate between an3596 * HTML element of the given name, such as `<center>`, and a foreign element of3597 * the same given name.3598 */3599 3572 if ( ! $this->state->stack_of_open_elements->has_element_in_table_scope( $tag_name ) ) { 3600 3573 // Parse error: ignore the token.
Note: See TracChangeset
for help on using the changeset viewer.