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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-box-2.html

Issue 2273733002: Use border-box as the reference box for (-webkit-)clip-path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: New baselines Created 4 years, 3 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 <style>
3 .clipped {
4 width: 100px;
5 height: 200px;
6 background-color: green;
7 -webkit-clip-path: polygon(0% 0%,100% 0%,100% 50%,0% 50%);
8 clip-path: polygon(0% 0%,100% 0%,100% 50%,0% 50%);
9 }
10 </style>
11 <div class="clipped">
12 <div style="float:left; margin-left:-100px; margin-top:-100px;">&nbsp;</div>
13 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698