[wp-trac] [WordPress Trac] #11035: gallery function put invalidate style in body
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 26 12:50:52 UTC 2009
#11035: gallery function put invalidate style in body
--------------------------+-------------------------------------------------
Reporter: thomask | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: Unassigned
Component: Validation | Version: 2.8.5
Severity: minor | Keywords: gallery, validation, style
--------------------------+-------------------------------------------------
standard wordpress gallery shortcode put <style> just before the gallery,
so inside the <body>. According to W3 validation service, this is invalid
way, it must be in the <head> section of the document
{{{
document type does not allow element "style" here
<style type='text/css'>
The element named above was found in a context where it is not
allowed. This could mean that you have incorrectly nested
elements -- such as a "style" element in the "body" section
instead of inside "head" -- or two elements that overlap
(which is not allowed).
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11035>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list