layout/reftests/bugs/953334-win32-clipping.html

branch
TOR_BUG_9701
changeset 3
141e0f1194b1
equal deleted inserted replaced
-1:000000000000 0:35be5cde3579
1 <style type="text/css">
2 #descdiv{
3 overflow: hidden;
4 height: 60px;
5 border: 1px solid red;
6 }
7 #descdiv p{
8 height:30px;
9 margin:0;
10 /* The shadow of the text will be inside the overflow-hidden but the text it self will not.
11 This causes the text to be drawn even when it's outside of the clip*/
12 text-shadow: #fff 1px -1px 2px;
13 }
14
15 </style>
16
17 <div id="descdiv">
18 <p class="um_desc">&nbsp;</p>
19 <p class="um_desc">&nbsp;</p>
20 <p class="um_desc">sed diam nonummy nibh</p>
21 </div>
22

mercurial