| Index: third_party/WebKit/LayoutTests/http/tests/loading/resources/reference-css-no-cache.xhtml
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/loading/resources/reference-css-no-cache.xhtml b/third_party/WebKit/LayoutTests/http/tests/loading/resources/reference-css-no-cache.xhtml
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..86c61fc761726c25b1916b70ceac9fb08ca2e024
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/loading/resources/reference-css-no-cache.xhtml
|
| @@ -0,0 +1,20 @@
|
| +<?xml version="1.0"?>
|
| +<?xml-stylesheet href="./no-cache-xslt.php" type="text/xsl"?>
|
| +<html xmlns="http://www.w3.org/1999/xhtml">
|
| +<head>
|
| +<link rel="stylesheet" type="text/css" href="./no-cache-css.php" />
|
| +</head>
|
| +<body>
|
| +<div id="markred">This text should be red.</div>
|
| +<div id="markgreen" style="">This text should be green.</div>
|
| +<script>
|
| +window.addEventListener("message", function() {
|
| + const divRed = document.getElementById("markred");
|
| + const divGreen = document.getElementById("markgreen");
|
| + var styleRed = getComputedStyle(divRed, "");
|
| + var styleGreen = getComputedStyle(divGreen, "");
|
| + window.top.postMessage(window.name + " " + styleRed.color.toString() + " " + styleGreen.color.toString(), "*");
|
| +});
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|