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

Side by Side Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-linear-gradient.html

Issue 244693003: [CSS Shapes] Add parsing support for gradients (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Increase threshold Created 6 years, 8 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 #image-shape {
6 float: left;
7 shape-outside: linear-gradient(to right, rgba(0, 0, 255, 1), rgba(0, 0, 255, 0));
8 shape-image-threshold: 0.75; /* use a bigger threshold than WK test because of Skia gradient rendering difference. */
9 width: 100px;
10 height: 100px;
11 }
12
13 #content {
14 font: 50px/1 Ahem, sans-serif;
15 width: 600px;
16 color: green;
17 }
18 </style>
19 <div id="content">
20 <div id="image-shape"></div>
21 X<br>X<br>X
22 </div>
23 </body>
24 </html>
25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698