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

Side by Side Diff: LayoutTests/fast/css/background-image-reload.html

Issue 179873014: Move StyleSheetContents cache to StyleEngine. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/css/background-image-reload-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 #target {
6 background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAIAAA BLixI0AAAAJklEQVR4nGJg+M9ANTRq1qhZo2aNmjVq1qhZo2ZhIAAAAAD//wMA1XBuro0zsokAAAAASU VORK5CYII=) center no-repeat;
7 width: 32px;
8 height: 32px;
9 position: absolute;
10 left: 0;
11 top: 0;
12 }
13 </style>
14 <script>
15 if (window.testRunner) {
16 if (window.localStorage.getItem("finish-during-reload") == null)
17 testRunner.setImagesAllowed(false);
18 testRunner.waitUntilDone();
19 }
20
21 function test() {
22 if (window.localStorage.getItem("finish-during-reload") == null) {
23 window.localStorage.setItem("finish-during-reload", "reload");
24 testRunner.setImagesAllowed(true);
25 internals.forceReload(false);
26 } else {
27 window.localStorage.clear();
28 if (window.testRunner)
29 testRunner.notifyDone();
30 };
31 }
32 </script>
33 </head>
34 <body onload="setTimeout(test, 0);">
35 <div id="target"></div>
36 </body>
37 </html>
38
39
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/background-image-reload-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698