1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/953334-win32-clipping.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +<style type="text/css"> 1.5 +#descdiv{ 1.6 +overflow: hidden; 1.7 +height: 60px; 1.8 +border: 1px solid red; 1.9 +} 1.10 +#descdiv p{ 1.11 +height:30px; 1.12 +margin:0; 1.13 +/* The shadow of the text will be inside the overflow-hidden but the text it self will not. 1.14 + This causes the text to be drawn even when it's outside of the clip*/ 1.15 +text-shadow: #fff 1px -1px 2px; 1.16 +} 1.17 + 1.18 +</style> 1.19 + 1.20 +<div id="descdiv"> 1.21 +<p class="um_desc"> </p> 1.22 +<p class="um_desc"> </p> 1.23 +<p class="um_desc">sed diam nonummy nibh</p> 1.24 +</div> 1.25 +