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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/floats/shape-inside-floating-text-control.html

Issue 209443007: Remove shape-inside support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove now unused segmentIsEmpty Created 6 years, 9 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 div {
6 width: 100px;
7 height: 50px;
8 shape-inside: polygon(10px 10px, 90px 10px, 90px 50px, 10px 50px);
9 background: -webkit-linear-gradient(red, red) no-repeat;
10 background-size: 80px 40px;
11 background-position: 10px 10px;
12 }
13 input {
14 display: block;
15 float: left;
16 width: 80px;
17 height: 40px;
18 border: none;
19 padding: 0;
20 background-color: transparent;
21 color: green;
22 font: 40px/1 Ahem, sans-serif;
23 }
24 </style>
25 </head>
26 <body>
27 <p>This tests that a floating text control respects shape-inside. You should see a green rectangle with no red.</p>
28 <div>
29 <input placeholder=" " value="xx">
30 </div>
31 </body>
32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698