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

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     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 }
    15 </style>
    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>

mercurial