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

Side by Side Diff: LayoutTests/fast/sub-pixel/shadows-hidpi.html

Issue 23241010: Support subpixel values for text-shadow and box-shadow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: missed a virtual test Created 7 years 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>
cbiesinger 2014/01/15 21:27:40 Not sure what was going on with the -expected.png
2 <script>
3 function startTest() {
4 if (window.testRunner) {
5 testRunner.waitUntilDone();
6 testRunner.setBackingScaleFactor(2, finishTest);
7 }
8 }
9
10 function finishTest() {
11 setTimeout(function() { testRunner.notifyDone() }, 0);
leviw_travelin_and_unemployed 2014/01/14 22:28:35 Is this setTimeout necessary?
cbiesinger 2014/01/15 21:27:40 Apparently not - removed.
12 }
13 </script>
14
15 <style>
16 body {
17 font-family: Ahem;
18 font-size: 10px;
19 }
20 #text {
21 text-shadow: 0.5px 1.5px 0px red;
22 }
23 .box {
24 box-shadow: 2.5px 30.5px 0px 0px red;
25 border: 1px black solid;
26 display: inline-block;
27 }
28 .box2 {
29 box-shadow: 2px 30px 0px 0.5px red;
30 border: 1px black solid;
31 display: inline-block;
32 }
33 </style>
34
35 <body onload="startTest();">
36
37 <div id="text">XXX</div>
38 <br>
39 <br>
40 <div class="box">XXX</div>
41 <div class="box2">XXX</div>
42
43 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698