layout/reftests/text/rgba-text.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text/rgba-text.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<body style="background: #000">
     1.7 +	<div style="color: rgba(255, 255, 255, 0.2); font-size:48px;">_</div>
     1.8 +	<!-- the red box should totally obscure the drawn portion of the text
     1.9 +	     however if the text is painted as a box instead of an underscore it
    1.10 +	     will show above the top of the red box.
    1.11 +	     This test would have caught bug 484954
    1.12 +	     -->
    1.13 +	<div style="background: red; position:absolute; top:30px; left:0px; padding:50px"></div>
    1.14 +</body>
    1.15 +</html>

mercurial