1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/text-overflow/standards-line-height.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,57 @@ 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: Standards mode line height should not be affected by marker 1.10 +--> 1.11 +<html><head> 1.12 +<title>text-overflow: Standards mode line height</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 + text-overflow:ellipsis; 1.25 + float:left; 1.26 + white-space:pre; 1.27 + margin-left:1em; 1.28 + margin-bottom:1em; 1.29 + font-size:24px; 1.30 + color:blue; 1.31 + border:1px solid black; 1.32 +} 1.33 +span { 1.34 + font-size:16px; 1.35 + color:black; 1.36 +} 1.37 +.rlo { 1.38 + unicode-bidi: bidi-override; direction:rtl; 1.39 +} 1.40 +.lro { 1.41 + unicode-bidi: bidi-override; 1.42 +} 1.43 +.rtl { 1.44 + direction:rtl; 1.45 +} 1.46 +.ltr { 1.47 + direction:ltr; 1.48 +} 1.49 +.t1 { width:4em; } 1.50 + 1.51 +</style> 1.52 + 1.53 +</head><body> 1.54 + 1.55 +<div class="test t1"><span>0123456|890123456789</span></div> 1.56 +<div class="test rtl rlo t1"><span>0123456|89012345</span></div> 1.57 + 1.58 + 1.59 +</body> 1.60 +</html>