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

Side by Side Diff: LayoutTests/fast/images/color-profile-group.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 div {
5 -webkit-border-image:url("resources/red-at-12-oclock-with-color-profile.jpg" ) 8 2 round;
6 margin: -18px 0 5px 0;
7 height: 250px;
8 width: 794px;
9 }
10 </style>
11
12 <body style="overflow: hidden">
13 <!-- The blue sector of the images should be at 12 o'clock. -->
14 <svg width="800px" height="150px">
15 <pattern id="pattern" patternUnits="userSpaceOnUse" width="400" height="150" >
16 <image xlink:href="resources/red-at-12-oclock-with-color-profile.jpg" widt h="400" height="400"/>
17 </pattern>
18 <rect width="800" height="130" style="fill: url(#pattern)"/>
19 </svg>
20 <div></div>
21 <iframe onload="load()" width="800px" height="185px" scrolling="no" frameborde r="1"
22 src="resources/red-at-12-oclock-with-color-profile.jpg">
23 </iframe>
24 </body>
25
26 <script>
27 function load() {
28 if (window.testRunner)
29 testRunner.setColorProfile('test', done);
30 }
31
32 function done() {
33 setTimeout(function() { testRunner.notifyDone() }, 0);
34 }
35
36 if (window.testRunner) {
37 testRunner.dumpAsTextWithPixelResults();
38 testRunner.waitUntilDone();
39 }
40 </script>
41 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/images/color-profile-filter.html ('k') | LayoutTests/fast/images/color-profile-iframe.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698