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

Side by Side Diff: LayoutTests/fast/images/color-profile-background-clip-text.html

Issue 266383003: [wip] Add fast/images color profile tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <style>
4 body {
5 background: url("resources/red-at-12-oclock-with-color-profile.jpg") 10px 10 0px;
6 -webkit-background-clip: text;
7 color: transparent;
8
9 font: 250pt Ahem, sans-serif;
10 -webkit-font-smoothing: none;
11 }
12 </style>
13
14 <!-- There should be no red on this page. -->
15 <body style="overflow: hidden">
16 &#9605;&#9605;&#9605;&#9605;&#9605;&#9605;&#9605;&#9605;&#9605;&#9605;&#9605;&#9 605;&#9605;&#9605;&#9605;&#9605;
17 </body>
18
19 <script>
20 window.onload = function() {
21 if (window.testRunner)
22 testRunner.setColorProfile('test', done);
23 };
24
25 function done() {
26 setTimeout(function() { testRunner.notifyDone() }, 0);
27 }
28
29 if (window.testRunner) {
30 testRunner.dumpAsTextWithPixelResults();
31 testRunner.waitUntilDone();
32 }
33 </script>
34 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/images/color-profile-animate.html ('k') | LayoutTests/fast/images/color-profile-border-fade.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698