mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-03 22:07:30 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
20
layout/reftests/scoped-style/scoped-style-dynamic-003.html
Normal file
20
layout/reftests/scoped-style/scoped-style-dynamic-003.html
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<body onload="f()">
|
||||
<p>First</p>
|
||||
<p>
|
||||
<style scoped>
|
||||
p { color: green }
|
||||
</style>
|
||||
<style scoped>
|
||||
p { text-decoration: underline }
|
||||
</style>
|
||||
Second
|
||||
</p>
|
||||
<p>Third</p>
|
||||
<script>
|
||||
function f() {
|
||||
var style = document.getElementsByTagName("style")[1];
|
||||
style.parentNode.removeChild(style);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
Loading…
Add table
Add a link
Reference in a new issue