[wp-trac] [WordPress Trac] #31321: TinyMCE Fails HTML Validation

WordPress Trac noreply at wordpress.org
Fri Feb 13 16:10:08 UTC 2015


#31321: TinyMCE Fails HTML Validation
--------------------------+-----------------------------
 Reporter:  kraftbj       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  TinyMCE       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 While running the Press This feature category through HTML validation, two
 TinyMCE-related errors appeared:

 1. Element link is missing required attribute property originating from
 `<link rel='stylesheet' id='editor-buttons-css'
 href='http://kraftbj.wpsandbox.me/wp-
 includes/css/editor.min.css?ver=4.2-alpha-31438' type='text/css'
 media='all' />` which is being inserted from
 https://core.trac.wordpress.org/browser/tags/4.1/src/wp-includes/class.wp-
 styles.php#L91

 2. Attribute autocomplete not allowed on element textarea at this point
 originating from : https://core.trac.wordpress.org/browser/tags/4.1/src
 /wp-includes/class-wp-editor.php#L235

 For 1, basically, `link` elements, namely with the `rel` attribute, must
 be in the docment's head. All modern browsers support them everywhere.
 Likely a wontfix IMO.

 2: I'm not sure why this is being triggered.

 Didn't see an existing ticket, so wanted a point of reference, even if
 they're both acceptable and wontfix.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31321>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list