Files
firefox/devtools/client/commandline/test/browser_cmd_csscoverage_page3.html
T
Masatoshi Kimura 4f2e64ad3d Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00

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">
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>