1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/text-overflow/standards-decorations.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,73 @@ 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 text-decorations 1.10 +--> 1.11 +<html><head> 1.12 +<title>text-overflow: Standards mode text-decorations</title> 1.13 +<style type="text/css"> 1.14 +@font-face { 1.15 + font-family: Ahem; 1.16 + src: url(../fonts/Ahem.ttf); 1.17 +} 1.18 +@font-face { 1.19 + font-family: DejaVuSansMono; 1.20 + src: url(../fonts/DejaVuSansMono.woff); 1.21 +} 1.22 +html,body { 1.23 + color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono; 1.24 +} 1.25 + 1.26 +.test { 1.27 + overflow:hidden; 1.28 + text-overflow:ellipsis; 1.29 + float:left; 1.30 + height:2em; 1.31 + white-space:pre; 1.32 + margin-left:1em; 1.33 + margin-bottom:1em; 1.34 + font-size:20px; 1.35 + color:blue; 1.36 +} 1.37 +span { 1.38 + text-decoration: line-through; 1.39 + font-size:16px; 1.40 + color:black; 1.41 +} 1.42 +.t1 span { 1.43 +} 1.44 +.rlo { 1.45 + unicode-bidi: bidi-override; direction:rtl; 1.46 +} 1.47 +.lro { 1.48 + unicode-bidi: bidi-override; 1.49 +} 1.50 +.rtl { 1.51 + direction:rtl; 1.52 +} 1.53 +.ltr { 1.54 + direction:ltr; 1.55 +} 1.56 +.t1 { width:7.3em;} 1.57 +.t2 { width:20px;} 1.58 +.t3 { width:22px;} 1.59 +.t4 { width:1px; font-family:Ahem; } 1.60 +.t3 span {margin-left:14px; } 1.61 + 1.62 +m { font-size:20px; } 1.63 + 1.64 +</style> 1.65 + 1.66 +</head><body> 1.67 + 1.68 +<div class="test t1"><span>0123 567890123456789</span></div> 1.69 +<div class="test rtl t1"><span>0321 56789012345</span></div> 1.70 +<div class="test t2" style="color:black"><span>xxxx</span></div> 1.71 +<div class="test t3"><span>x</span></div> 1.72 +<div class="test t4"><span>x</span></div> 1.73 + 1.74 + 1.75 +</body> 1.76 +</html>