mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
16 lines
471 B
HTML
16 lines
471 B
HTML
<!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>
|