1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/text-overflow/false-marker-overlap-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,71 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<!-- 1.6 + Any copyright is dedicated to the Public Domain. 1.7 + http://creativecommons.org/licenses/publicdomain/ 1.8 + 1.9 + Test: false marker overlap 1.10 +--> 1.11 +<html><head> 1.12 +<title>text-overflow: form control elements</title> 1.13 +<style type="text/css"> 1.14 +@font-face { 1.15 + font-family: DejaVuSansMono; 1.16 + src: url(../fonts/DejaVuSansMono.woff); 1.17 +} 1.18 +html,body { 1.19 + color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono; 1.20 +} 1.21 + 1.22 +.test { 1.23 + overflow: hidden; 1.24 + white-space: nowrap; 1.25 + color: black; 1.26 + height: 6em; 1.27 + width: 32.5em; 1.28 + margin-bottom: 1em; 1.29 +} 1.30 + 1.31 +i { 1.32 + display:inline-block; 1.33 + height: 3em; 1.34 + width: 3em; 1.35 + border:1px solid blue; 1.36 + text-shadow: none; 1.37 +} 1.38 +.rtl { 1.39 + direction:rtl; 1.40 +} 1.41 +.rlo { 1.42 + unicode-bidi: bidi-override; direction: rtl; 1.43 +} 1.44 +.lro { 1.45 + unicode-bidi: bidi-override; direction: ltr; 1.46 +} 1.47 + 1.48 +s { 1.49 + float:right; 1.50 + width:3em; 1.51 + height:3em; 1.52 + margin-right:-0.6em; 1.53 + border:1px solid red; 1.54 +} 1.55 +.rtl s { 1.56 + float:left; 1.57 + margin-left:-0.6em; 1.58 + margin-right:0; 1.59 +} 1.60 +.overlap {margin-left:-0.6em;} 1.61 +.rtl .overlap {margin-right:-0.6em;margin-left:0;} 1.62 +.n {padding-left:0.6em;} 1.63 +.rtl .n {padding-right:0.6em;padding-left:0;} 1.64 +</style> 1.65 + 1.66 +</head><body> 1.67 + 1.68 +<div class="test"><font class="overlap"><s></s> <m>…</m>| | | | | | | | | | | | | | | | | | | | | | <i class="n"></i></font></div> 1.69 +<div class="test"><font><s></s>| | | | | | | | | | | | | | | | | | | | | | | <i></i></font></div> 1.70 +<div class="test rtl"><font class="overlap"><s></s> <m>…</m>| | | | | | | | | | | | | | | | | | | | | | <i class="n"></i></font></div> 1.71 +<div class="test rtl"><font><s></s>| | | | | | | | | | | | | | | | | | | | | | | <i></i></font></div> 1.72 + 1.73 + 1.74 +</body></html>