Changeset 57343
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/html-api/class-wp-html-processor.php
r57326 r57343 102 102 * - Containers: ADDRESS, BLOCKQUOTE, DETAILS, DIALOG, DIV, FOOTER, HEADER, MAIN, MENU, SPAN, SUMMARY. 103 103 * - Custom elements: All custom elements are supported. :) 104 * - Form elements: BUTTON, DATALIST, FIELDSET, LABEL, LEGEND, METER, PROGRESS, SEARCH.104 * - Form elements: BUTTON, DATALIST, FIELDSET, INPUT, LABEL, LEGEND, METER, PROGRESS, SEARCH. 105 105 * - Formatting elements: B, BIG, CODE, EM, FONT, I, PRE, SMALL, STRIKE, STRONG, TT, U, WBR. 106 106 * - Heading elements: H1, H2, H3, H4, H5, H6, HGROUP. 107 107 * - Links: A. 108 * - Lists: DD, DL, DT, LI, OL, LI.109 * - Media elements: AUDIO, CANVAS, EMBED, FIGCAPTION, FIGURE, IMG, MAP, P ARAM, PICTURE, SOURCE, VIDEO, TRACK.108 * - Lists: DD, DL, DT, LI, OL, UL. 109 * - Media elements: AUDIO, CANVAS, EMBED, FIGCAPTION, FIGURE, IMG, MAP, PICTURE, SOURCE, TRACK, VIDEO. 110 110 * - Paragraph: BR, P. 111 * - Phrasing elements: A REA, ABBR, BDI, BDO, CITE, DATA, DEL, DFN, INS, MARK, OUTPUT, Q, SAMP, SUB, SUP, TIME, VAR.111 * - Phrasing elements: ABBR, AREA, BDI, BDO, CITE, DATA, DEL, DFN, INS, MARK, OUTPUT, Q, SAMP, SUB, SUP, TIME, VAR. 112 112 * - Sectioning elements: ARTICLE, ASIDE, HR, NAV, SECTION. 113 113 * - Templating elements: SLOT. 114 114 * - Text decoration: RUBY. 115 * - Deprecated elements: ACRONYM, BLINK, CENTER, DIR, ISINDEX, KEYGEN, LISTING, MULTICOL, NEXTID, SPACER.115 * - Deprecated elements: ACRONYM, BLINK, CENTER, DIR, ISINDEX, KEYGEN, LISTING, MULTICOL, NEXTID, PARAM, SPACER. 116 116 * 117 117 * ### Supported markup … … 974 974 975 975 /* 976 * > A start tag whose tag name is "input" 977 */ 978 case '+INPUT': 979 $this->reconstruct_active_formatting_elements(); 980 $this->insert_html_element( $this->state->current_token ); 981 $type_attribute = $this->get_attribute( 'type' ); 982 /* 983 * > If the token does not have an attribute with the name "type", or if it does, 984 * > but that attribute's value is not an ASCII case-insensitive match for the 985 * > string "hidden", then: set the frameset-ok flag to "not ok". 986 */ 987 if ( ! is_string( $type_attribute ) || 'hidden' !== strtolower( $type_attribute ) ) { 988 $this->state->frameset_ok = false; 989 } 990 return true; 991 992 /* 976 993 * > A start tag whose tag name is "hr" 977 994 */ … … 1025 1042 case 'HTML': 1026 1043 case 'IFRAME': 1027 case 'INPUT':1028 1044 case 'LINK': 1029 1045 case 'MARQUEE': -
trunk/tests/phpunit/tests/html-api/wpHtmlProcessor.php
r57326 r57343 254 254 'HTML' => array( 'HTML' ), 255 255 'IFRAME' => array( 'IFRAME' ), 256 'INPUT' => array( 'INPUT' ),257 256 'LINK' => array( 'LINK' ), 258 257 'MARQUEE' => array( 'MARQUEE' ), -
trunk/tests/phpunit/tests/html-api/wpHtmlProcessorBreadcrumbs.php
r57326 r57343 181 181 'HTML', 182 182 'IFRAME', 183 'INPUT',184 183 'LINK', 185 184 'MARQUEE', // Deprecated.
Note: See TracChangeset
for help on using the changeset viewer.