- Timestamp:
- 07/10/2026 05:22:53 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/html-api/wpHtmlProcessor-serialize.php
r62687 r62689 42 42 '<div></div>', 43 43 'Should have provided the explicit closer to the un-closed DIV element.' 44 ); 45 } 46 47 /** 48 * Ensures that SELECTEDCONTENT is parsed like an ordinary element. 49 * 50 * @ticket 63736 51 */ 52 public function test_selectedcontent_is_not_unsupported() { 53 $this->assertSame( 54 WP_HTML_Processor::normalize( '<select><button><selectedcontent></button><option selected>Y' ), 55 '<select><button><selectedcontent></selectedcontent></button><option selected>Y</option></select>', 56 'Should not bail on SELECTEDCONTENT when selected OPTION cloning would be needed.' 44 57 ); 45 58 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)