DescriptionThis changes html-emitter and sanitizeStylesheet to recognize media queries,
and sanitize them appropriately.
Previously, there was a bug that caused far too many stylesheets to be
generated -- the style element would have multiple text nodes, each a
prefix of later ones. This CL inlines @imports where they occur in
the stylesheet.
Tests for corner cases like nested media
<style media="only all and (color)">
@import "bar.css" only all and (hover)
</style>
are in es53-test-css-imports
----
Submitted @ r5517
Patch Set 1 #Patch Set 2 : Recognize media queries on @import, <link media=...>, and <style media=...> #Patch Set 3 : Recognize media queries on @import, <link media=...>, and <style media=...> #Patch Set 4 : Recognize media queries on @import, <link media=...>, and <style media=...> #Patch Set 5 : Recognize media queries on @import, <link media=...>, and <style media=...> #Patch Set 6 : Recognize media queries on @import, <link media=...>, and <style media=...> #
Total comments: 1
MessagesTotal messages: 11
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||