[wp-trac] [WordPress Trac] #28065: <style type='text/css'> should be <style scope> in wp-includes media.php

WordPress Trac noreply at wordpress.org
Tue Apr 29 22:11:25 UTC 2014


#28065: <style type='text/css'> should be <style scope> in wp-includes media.php
--------------------------+------------------------------
 Reporter:  La Geek       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  3.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by La Geek):

 Sorry for my typo, it's named scoped and not scope.

 Sabreuse, you are totally right, therefore I wrote the link of
 html5doctor, where you can read the same. More then this the article
 contains a workaround/link "jQuery Scoped CSS plugin". Something like a
 polyfill.

 It's no good practise to get W3C errors. The best way would be, to avoid
 inline styles. But I don't know, why they exist at all in media.php - so I
 can't judge it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28065#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list