mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 09:27:31 +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
17
layout/reftests/scoped-style/scoped-style-dynamic-005.html
Normal file
17
layout/reftests/scoped-style/scoped-style-dynamic-005.html
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<body onload="f()">
|
||||
<p>First</p>
|
||||
<p>
|
||||
<style scoped>
|
||||
p { color: green }
|
||||
</style>
|
||||
Second
|
||||
</p>
|
||||
<p>Third</p>
|
||||
<script>
|
||||
function f() {
|
||||
var style = document.getElementsByTagName("style")[0];
|
||||
style.removeAttribute("scoped");
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
Loading…
Add table
Add a link
Reference in a new issue