gecko-dev/browser/devtools/commandline/test/browser_cmd_csscoverage_page3.html

53 lines
1.3 KiB
HTML

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Page 3</title>
<style>
@import url(browser_cmd_csscoverage_sheetD.css);
/* This should match below */
.page3-test1 {
color: #031;
}
/* This should not match below */
.page3-test2 {
color: #032;
}
</style>
<style>
/* This also should not match below, but in a second inline sheet */
.page3-test3 {
color: #033;
}
</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">
window.addEventListener("load", () => {
dump('TEST-INFO | load from browser_cmd_csscoverage_page3.html\n');
});
</script>
</head>
<body>
<h2>Page 3</h2>
<div class=page3-test1>.page3-test1</div>
<div class=sheetA-test1>.sheetA-test1</div>
<div class=sheetA-test5>.sheetA-test5</div>
<div class=sheetB-test1>.sheetB-test1</div>
<div class=sheetB-test5>.sheetB-test5</div>
<div class=sheetC-test1>.sheetC-test1</div>
<div class=sheetC-test5>.sheetC-test5</div>
<div class=sheetD-test1>.sheetD-test1</div>
<div class=sheetD-test5>.sheetD-test5</div>
<p>
<a href="browser_cmd_csscoverage_page1.html">Page 1</a>
</p>
</body>
</html>