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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/css/background-image-reload-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/background-image-reload.html
diff --git a/LayoutTests/fast/css/background-image-reload.html b/LayoutTests/fast/css/background-image-reload.html
new file mode 100644
index 0000000000000000000000000000000000000000..2bd8d16dc8a5a0e71d065f278ec7aac4eec41b38
--- /dev/null
+++ b/LayoutTests/fast/css/background-image-reload.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+#target {
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAIAAABLixI0AAAAJklEQVR4nGJg+M9ANTRq1qhZo2aNmjVq1qhZo2ZhIAAAAAD//wMA1XBuro0zsokAAAAASUVORK5CYII=) center no-repeat;
+ width: 32px;
+ height: 32px;
+ position: absolute;
+ left: 0;
+ top: 0;
+}
+</style>
+<script>
+if (window.testRunner) {
+ if (window.localStorage.getItem("finish-during-reload") == null)
+ testRunner.setImagesAllowed(false);
+ testRunner.waitUntilDone();
+}
+
+function test() {
+ if (window.localStorage.getItem("finish-during-reload") == null) {
+ window.localStorage.setItem("finish-during-reload", "reload");
+ testRunner.setImagesAllowed(true);
+ internals.forceReload(false);
+ } else {
+ window.localStorage.clear();
+ if (window.testRunner)
+ testRunner.notifyDone();
+ };
+}
+</script>
+</head>
+<body onload="setTimeout(test, 0);">
+ <div id="target"></div>
+</body>
+</html>
+
+
« 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