1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/text-overflow/false-marker-overlap.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,72 @@ 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: false marker overlap</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 + text-overflow: ellipsis ellipsis; 1.26 + color: black; 1.27 + height: 6em; 1.28 + width: 32.5em; 1.29 + margin-bottom: 1em; 1.30 +} 1.31 + 1.32 +i { 1.33 + display:inline-block; 1.34 + height: 3em; 1.35 + width: 3em; 1.36 + border:1px solid blue; 1.37 + text-shadow: none; 1.38 +} 1.39 +.rtl { 1.40 + direction:rtl; 1.41 +} 1.42 +.rlo { 1.43 + unicode-bidi: bidi-override; direction: rtl; 1.44 +} 1.45 +.lro { 1.46 + unicode-bidi: bidi-override; direction: ltr; 1.47 +} 1.48 + 1.49 +s { 1.50 + float:right; 1.51 + width:3em; 1.52 + height:3em; 1.53 + margin-right:-0.6em; 1.54 + border:1px solid red; 1.55 +} 1.56 +.rtl s { 1.57 + float:left; 1.58 + margin-left:-0.6em; 1.59 + margin-right:0; 1.60 +} 1.61 +.overlap {margin-left:-0.6em;} 1.62 +.rtl .overlap {margin-right:-0.6em;margin-left:0;} 1.63 +.n {padding-left:0.6em;} 1.64 +.rtl .n {padding-right:0.6em;padding-left:0;} 1.65 +</style> 1.66 + 1.67 +</head><body> 1.68 + 1.69 +<div class="test"><font class="overlap"><s></s>| | | | | | | | | | | | | | | | | | | | | | | <i class="n"></i></font></div> 1.70 +<div class="test"><font><s></s>| | | | | | | | | | | | | | | | | | | | | | | <i></i></font></div> 1.71 +<div class="test rtl"><font class="overlap"><s></s>| | | | | | | | | | | | | | | | | | | | | | | <i class="n"></i></font></div> 1.72 +<div class="test rtl"><font><s></s>| | | | | | | | | | | | | | | | | | | | | | | <i></i></font></div> 1.73 + 1.74 + 1.75 +</body></html>