diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /devtools/client/commandline/test/browser_cmd_csscoverage_page2.html | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'devtools/client/commandline/test/browser_cmd_csscoverage_page2.html')
-rw-r--r-- | devtools/client/commandline/test/browser_cmd_csscoverage_page2.html | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/devtools/client/commandline/test/browser_cmd_csscoverage_page2.html b/devtools/client/commandline/test/browser_cmd_csscoverage_page2.html new file mode 100644 index 000000000..13fa8697c --- /dev/null +++ b/devtools/client/commandline/test/browser_cmd_csscoverage_page2.html @@ -0,0 +1,59 @@ +<!DOCTYPE HTML> +<html> +<head> + <meta charset="utf-8"> + <title>Page 2</title> + <style> + @import url(browser_cmd_csscoverage_sheetD.css); + + /* This should match below */ + .page2-test1 { + color: #021; + } + /* This should not match below */ + .page2-test2 { + color: #022; + } + /* This doesn't match until the event fires */ + .page2-test3 { + color: #023; + } + </style> + + <link rel="stylesheet" type="text/css" href="browser_cmd_csscoverage_sheetA.css"> + <link rel="stylesheet" type="text/css" href="browser_cmd_csscoverage_sheetB.css"> + <script type="application/javascript;version=1.8"> + /* How quickly do we rush through this? */ + let delay = 500; + window.addEventListener("load", () => { + dump('TEST-INFO | load from browser_cmd_csscoverage_page2.html\n'); + setTimeout(() => { + dump('TEST-INFO | timeout from browser_cmd_csscoverage_page2.html\n'); + /* This adds <div class=page2-test3></div> */ + let parent = document.querySelector("#page2-test3-holder"); + let child = document.createElement("div"); + child.classList.add("page2-test3"); + parent.appendChild(child); + }, delay); + }); + </script> +</head> +<body> + +<h2>Page 2</h2> + +<div class=page2-test1>.page2-test1</div> + +<div id=page2-test3-holder></div> + +<div class=sheetA-test1>.sheetA-test1</div> +<div class=sheetA-test4>.sheetA-test4</div> +<div class=sheetB-test1>.sheetB-test1</div> +<div class=sheetB-test4>.sheetB-test4</div> +<div class=sheetC-test1>.sheetC-test1</div> +<div class=sheetC-test4>.sheetC-test4</div> +<div class=sheetD-test1>.sheetD-test1</div> +<div class=sheetD-test4>.sheetD-test4</div> + +</body> +</html> |