Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <style>body { color: green; }</style> |
michael@0 | 5 | <link rel="stylesheet" href='data:text/css,body > span { color: red }' type="text/css"/> |
michael@0 | 6 | <link rel="stylesheet" href='data:text/css,body > span { color: red }' type="text/css"/> |
michael@0 | 7 | <script> |
michael@0 | 8 | // Force cloning of the second linked sheet |
michael@0 | 9 | document.styleSheets[2].cssRules[0]; |
michael@0 | 10 | </script> |
michael@0 | 11 | </head> |
michael@0 | 12 | <body> |
michael@0 | 13 | <div><span>This text should be green</span></div> |
michael@0 | 14 | </body> |
michael@0 | 15 | </html> |