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

Unified Diff: third_party/WebKit/LayoutTests/fast/images/color-profile-layer.html

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 years, 1 month 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
Index: third_party/WebKit/LayoutTests/fast/images/color-profile-layer.html
diff --git a/third_party/WebKit/LayoutTests/fast/images/color-profile-layer.html b/third_party/WebKit/LayoutTests/fast/images/color-profile-layer.html
deleted file mode 100644
index e397622fa02fd3a3f8b97ff5fc7308f2a6dac142..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/images/color-profile-layer.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<html>
-<style>
- .layer {
- transform: translateZ(0); /* Enable direct compositing. */
- width: 250px;
- }
-</style>
-
-<body>
- <!-- The blue sector of the images should be at 12 o'clock. -->
- <img onload="load(this)" title="png image" src="resources/red-at-12-oclock-with-color-profile.png">
- <img onload="load(this)" title="jpeg image" src="resources/red-at-12-oclock-with-color-profile.jpg">
- <img onload="load(this)" title="webp image" src="resources/webp-color-profile-lossy.webp">
- <br>
- <!-- The blue sector of the images should be at 12 o'clock. -->
- <img onload="load(this)" title="png image" src="resources/red-at-12-oclock-with-color-profile.png">
- <img onload="load(this)" title="jpeg image" src="resources/red-at-12-oclock-with-color-profile.jpg">
- <img onload="load(this)" title="webp image" src="resources/webp-color-profile-lossy.webp">
- <br>
-</body>
-
-<script>
-var images = 0;
-
-function load(element) {
- element.classList.add('layer');
-
- if (++images == 6 && window.testRunner)
- setTimeout(function() { testRunner.setColorProfile('colorSpin', done) }, 500);
-}
-
-function done() {
- setTimeout(function() { testRunner.notifyDone() }, 0);
-}
-
-if (window.testRunner) {
- testRunner.dumpAsTextWithPixelResults();
- testRunner.waitUntilDone();
-}
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698