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