Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / clip / 013.html
blob2cc789f8ec01905949b6c06d28fc01417c478844
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2 <html>
3 <head>
4 <style>
5 .green {
6 width: 100px;
7 height: 100px;
8 background-color: green;
9 border: 10px solid red;
12 .clip {
13 clip: rect(10px 110px 110px 10px);
16 .positioned {
17 position: absolute;
20 </style>
21 <body>
22 You should see a 100x100 green square below. If you see any red, the test
23 has failed. This test is checking to make sure clip applies to the element
24 itself and starts from the border edge.
26 <div class="clip green positioned">
27 </div>