diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /layout/reftests/text-overflow/block-padding.html | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/text-overflow/block-padding.html')
-rw-r--r-- | layout/reftests/text-overflow/block-padding.html | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/layout/reftests/text-overflow/block-padding.html b/layout/reftests/text-overflow/block-padding.html new file mode 100644 index 000000000..36839f0c3 --- /dev/null +++ b/layout/reftests/text-overflow/block-padding.html @@ -0,0 +1,71 @@ +<!DOCTYPE HTML> +<!-- + Any copyright is dedicated to the Public Domain. + http://creativecommons.org/licenses/publicdomain/ + + Test: test marker trigger point and alignment in a block with padding +--> +<!DOCTYPE HTML> +<html><head> +<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<title>text-overflow: text-overflow block padding </title> +<style type="text/css"> +@font-face { + font-family: DejaVuSansMono; + src: url(../fonts/DejaVuSansMono.woff); +} +html,body { + color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono; +} +body { width:24ch; overflow:hidden; } + +.test { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + text-decoration: line-through; + padding-left: 1ch; + padding-right: 3ch; + height: 3em; + margin-bottom:1em; +} +.s { + overflow: auto; +} +span { + text-decoration: underline overline; + background:yellow; +} +.rtl { + direction:rtl; +} +.ltr { + direction:ltr; +} +.rlo span { + unicode-bidi: bidi-override; direction: rtl; +} +.lro span { + unicode-bidi: bidi-override; direction: ltr; +} +</style> + +</head><body> + +<!-- LTR / LTR --> +<div class="test ltr" ><span>| | | | | | | | | | | | | </span></div> +<div class="test ltr s"><span>| | | | | | | | | | | | | </span></div> + +<!-- RTL / LTR --> +<div class="test rtl" ><span>| | | | | | | | | | | | | </span></div> +<div class="test rtl s"><span>| | | | | | | | | | | | | </span></div> + +<!-- LTR / RTL --> +<div class="test ltr rlo" ><span>| | | | | | | | | | | | | </span></div> +<div class="test ltr rlo s"><span>| | | | | | | | | | | | | </span></div> + +<!-- RTL / RTL --> +<div class="test rtl rlo" ><span>| | | | | | | | | | | | | </span></div> +<div class="test rtl rlo s"><span>| | | | | | | | | | | | | </span></div> + +</body></html> |