Changeset 57326
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/html-api/class-wp-html-processor.php
r57319 r57326 107 107 * - Links: A. 108 108 * - Lists: DD, DL, DT, LI, OL, LI. 109 * - Media elements: AUDIO, CANVAS, EMBED, FIGCAPTION, FIGURE, IMG, MAP, P ICTURE, VIDEO.109 * - Media elements: AUDIO, CANVAS, EMBED, FIGCAPTION, FIGURE, IMG, MAP, PARAM, PICTURE, SOURCE, VIDEO, TRACK. 110 110 * - Paragraph: BR, P. 111 111 * - Phrasing elements: AREA, ABBR, BDI, BDO, CITE, DATA, DEL, DFN, INS, MARK, OUTPUT, Q, SAMP, SUB, SUP, TIME, VAR. … … 982 982 $this->insert_html_element( $this->state->current_token ); 983 983 $this->state->frameset_ok = false; 984 return true; 985 986 /* 987 * > A start tag whose tag name is one of: "param", "source", "track" 988 */ 989 case '+PARAM': 990 case '+SOURCE': 991 case '+TRACK': 992 $this->insert_html_element( $this->state->current_token ); 984 993 return true; 985 994 } … … 1028 1037 case 'OPTGROUP': 1029 1038 case 'OPTION': 1030 case 'PARAM':1031 1039 case 'PLAINTEXT': 1032 1040 case 'RB': … … 1037 1045 case 'SCRIPT': 1038 1046 case 'SELECT': 1039 case 'SOURCE':1040 1047 case 'STYLE': 1041 1048 case 'SVG': … … 1050 1057 case 'TITLE': 1051 1058 case 'TR': 1052 case 'TRACK':1053 1059 case 'XMP': 1054 1060 $this->last_error = self::ERROR_UNSUPPORTED; … … 1713 1719 'IMG' === $tag_name || 1714 1720 'INPUT' === $tag_name || 1721 'KEYGEN' === $tag_name || // Obsolete but still treated as void. 1715 1722 'LINK' === $tag_name || 1716 'KEYGEN' === $tag_name || // Obsolete but still treated as void.1717 1723 'META' === $tag_name || 1718 1724 'PARAM' === $tag_name || // Obsolete but still treated as void. -
trunk/tests/phpunit/tests/html-api/wpHtmlProcessor.php
r57317 r57326 207 207 'LINK' => array( 'LINK' ), 208 208 'META' => array( 'META' ), 209 'PARAM' => array( 'PARAM' ), 209 210 'SOURCE' => array( 'SOURCE' ), 210 211 'TRACK' => array( 'TRACK' ), … … 265 266 'OPTGROUP' => array( 'OPTGROUP' ), 266 267 'OPTION' => array( 'OPTION' ), 267 'PARAM' => array( 'PARAM' ),268 268 'PLAINTEXT' => array( 'PLAINTEXT' ), 269 269 'RB' => array( 'RB' ), … … 274 274 'SCRIPT' => array( 'SCRIPT' ), 275 275 'SELECT' => array( 'SELECT' ), 276 'SOURCE' => array( 'SOURCE' ),277 276 'STYLE' => array( 'STYLE' ), 278 277 'SVG' => array( 'SVG' ), … … 287 286 'TITLE' => array( 'TITLE' ), 288 287 'TR' => array( 'TR' ), 289 'TRACK' => array( 'TRACK' ),290 288 'XMP' => array( 'XMP' ), 291 289 ); -
trunk/tests/phpunit/tests/html-api/wpHtmlProcessorBreadcrumbs.php
r57319 r57326 200 200 'SCRIPT', 201 201 'SELECT', 202 'SOURCE',203 202 'STYLE', 204 203 'SVG', … … 213 212 'TITLE', 214 213 'TR', 215 'TRACK',216 214 'XMP', // Deprecated, use PRE instead. 217 215 );
Note: See TracChangeset
for help on using the changeset viewer.