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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/overflow/mask-with-small-content-rect.html

Issue 2689253002: cc: Add layout test cases for mask tiling. (Closed)
Patch Set: Rebaseline virtual/prefer_compositing_to_lcd_text tests. Created 3 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 <style>
3 #mask {
4 width: 200px;
5 height: 200px;
6 overflow: hidden;
7 border-radius: 10px;
8 border: 4px solid red;
9 background-color: blue;
10 position: relative;
11 display: inline-block;
12 }
13
14 .content {
15 width: 50px;
16 height: 50px;
17 }
18
19 .composited {
20 will-change: transform;
21 }
22 </style>
23
24 <p>Testing masks on compositing layers. Left and right columns should look the s ame.</p>
25 <div id="mask">
26 <div class="content" style="left: 175px;top: 175px;background: black;position: absolute;"></div>
27 </div>
28 <div id="mask" class="composited" style="left: 50px">
29 <div class="content" style="left: 175px;top: 175px;background: black;position: absolute;"></div>
30 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698