Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1054)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/loading/resources/reference-css-no-cache.xhtml

Issue 2353903002: {CSS,XSL}StyleSheetResource should mark their clients as finished on checkNotify (Closed)
Patch Set: yhirano style Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0"?>
2 <?xml-stylesheet href="./no-cache-xslt.php" type="text/xsl"?>
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <link rel="stylesheet" type="text/css" href="./no-cache-css.php" />
6 </head>
7 <body>
8 <div id="markred">This text should be red.</div>
9 <div id="markgreen" style="">This text should be green.</div>
10 <script>
11 window.addEventListener("message", function() {
12 const divRed = document.getElementById("markred");
13 const divGreen = document.getElementById("markgreen");
14 var styleRed = getComputedStyle(divRed, "");
15 var styleGreen = getComputedStyle(divGreen, "");
16 window.top.postMessage(window.name + " " + styleRed.color.toString() + " " + styleGreen.color.toString(), "*");
17 });
18 </script>
19 </body>
20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698