[wp-trac] [WordPress Trac] #31321: TinyMCE Fails HTML Validation
WordPress Trac
noreply at wordpress.org
Thu Feb 19 14:57:58 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 | Resolution:
Keywords: close | Focuses:
--------------------------+------------------------------
Comment (by afercia):
About 1:
4.2.4 The link element
in HTML 5
http://www.w3.org/TR/html/document-metadata.html#the-link-element
A link element must have a rel attribute.
Note: If the rel attribute is used, the element is restricted to the head
element.
in HTML 5.1
4.2.4 The link element
http://www.w3.org/html/wg/drafts/html/master/document-metadata.html#the-
link-element
A link element must have either a rel attribute or an itemprop attribute,
but not both.
Note: If the rel attribute is used, the element is restricted to the head
element. When used with the itemprop attribute, the element can be used
both in the head element and in the body of the page, subject to the
constraints of the microdata model.
In this case seems the validator validates against HTML 5.1, tried adding:
`itemprop="url"` to the link element '''and''' `itemscope` to its
container and it validates.
Not sure if the itemprop value should be "the absolute URL that results
from resolving the value of the element's href"
https://html.spec.whatwg.org/multipage/microdata.html#values
That said, I wouldn't do any of this :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31321#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list