mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-05 14:57: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
28
layout/reftests/details-summary/dynamic-add-details.html
Normal file
28
layout/reftests/details-summary/dynamic-add-details.html
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Any copyright is dedicated to the Public Domain.
|
||||
- http://creativecommons.org/publicdomain/zero/1.0/ -->
|
||||
|
||||
<html class="reftest-wait">
|
||||
<script>
|
||||
function runTest() {
|
||||
// Append open <details> into <body>
|
||||
var summary = document.createElement("summary");
|
||||
var summary_text = document.createTextNode("Summary");
|
||||
summary.appendChild(summary_text);
|
||||
|
||||
var paragraph = document.createElement("p");
|
||||
var details_text = document.createTextNode("This is the details.");
|
||||
paragraph.appendChild(details_text);
|
||||
|
||||
var details = document.createElement("details");
|
||||
details.appendChild(summary);
|
||||
details.appendChild(paragraph);
|
||||
details.open = true;
|
||||
|
||||
document.body.appendChild(details);
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
</script>
|
||||
<body onload="runTest();">
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue