This repository was archived by the owner on Apr 10, 2025. It is now read-only.
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
Don't relocate scoped style tags #965
Open
Description
1. Open a page that is using <style scoped="scoped">..</style> with
modpagespeed enabled (link below)
2. Open a page that is using <style scoped="scoped">..</style> with
modpagespeed disabled (link below)
3. Compare.
Due to the fact that style scoped applies its styles to and only it's children,
the layout of the page is broken as modpagespeed is moving all style tags to
the <head>..</head> section.
Solution: Do not relocate style scoped tags
Version: X-Mod-Pagespeed: 1.8.31.4-4009
Fedora 20
Server: Apache/2.4.9 (Fedora) OpenSSL/1.0.1e-fips mod_nss/2.4.6 NSS/3.15.3
Basic ECC PHP/5.5.14 mod_wsgi/3.5 Python/2.7.5 mod_perl/2.0.9-dev Perl/v5.18.2
Compare these urls:
https://www.highdefinition.ch/kendo/listview/index.php
https://www.highdefinition.ch/kendo/listview/index.php?ModPagespeed=off
Original issue reported on code.google.com by frederic...@gmail.com
on 3 Aug 2014 at 12:31