summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/495274-1.html
blob: 2a0b3a85a64e0d4d2475b005fb71f084bf43f11c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
  <head>
    <style>body { color: green; }</style>
    <link rel="stylesheet" href='data:text/css,body > span { color: red }' type="text/css"/>
    <link rel="stylesheet" href='data:text/css,body > span { color: red }' type="text/css"/>
    <script>
      // Force cloning of the second linked sheet
      document.styleSheets[2].cssRules[0];
    </script>
  </head>
  <body>
    <div><span>This text should be green</span></div>
  </body>
</html>