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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-box-inline.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, 4 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 div {
4 width: 100px;
5 height: 100px;
6 overflow: hidden;
7 background-color: red;
8 line-height: 1;
9 }
10 span {
11 background-color: green;
12 color: green;
13 -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
14 clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
15 }
16 </style>
17 <div>
18 <span>XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXX XX</span>
19 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698