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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-box-3.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 .abs {
11 position: absolute;
12 width: 200px;
13 height: 200px;
14 }
15 </style>
16 <div class="abs">
17 <div class="clipped" style="position: absolute; overflow: hidden">
18 <div class="abs" style="transform: translate(0px, 100px); background-color: red;"></div>
19 </div>
20 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698