3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/licenses/publicdomain/
8 <meta http-equiv=
"content-type" content=
"text/html; charset=UTF-8">
9 <title>text-overflow: text-overflow block padding
</title>
10 <style type=
"text/css">
12 font-family: DejaVuSansMono
;
13 src: url
(../fonts/DejaVuSansMono.woff);
16 color:black
; background-color:white
; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono
; text-decoration-skip-ink: none
;
18 body
{ width:24ch; overflow:hidden
; }
29 overflow: auto
; position:relative
;
30 text-decoration: line-through
;
32 .rel { position:relative
; }
34 text-decoration: underline overline
;
44 unicode-bidi: bidi-override
; direction: rtl
;
47 unicode-bidi: bidi-override
; direction: ltr
;
51 border-color:transparent
;
52 text-decoration: line-through
;
55 y
{ background:yellow
;}
56 m
{ background:yellow
; position:absolute
; right:0; padding-right:3ch; z-index:2;}
57 mr
{ background:yellow
; position:absolute
; left:0;padding-left:1ch; z-index:2;}
62 <div class=
"test ltr overlay"><r> </r></div>
63 <div class=
"test ltr"><span>|
|
|
|
|
|
|
|
|
|
</span><y>… </y></div>
65 <div class=
"test ltr s"><span>|
|
|
|
|
|
|
|
|
|
</span><m>…</m></div>
68 <div class=
"test rtl rel"><span><div class=
"overlay"><r> </r></div>|
|
|
|
|
|
|
|
|
|
</span><y style=
"padding-left:3ch">…</y></div>
70 <div class=
"test rtl s"><mr>…</mr><span>|
|
|
|
|
|
|
|
|
|
|
|
|
</span></div>
73 <div class=
"test ltr rlo overlay"><r> </r></div>
74 <div class=
"test ltr rlo" ><span> |
|
|
|
|
|
|
|
|
</span><y style=
"padding-right:3ch">…</y></div>
76 <div class=
"test ltr rlo s"><span>|
|
|
|
|
|
|
|
|
|
|
|
|
</span><m>…</m></div>
79 <div class=
"test rtl rlo rel"><span><div class=
"overlay"><r> </r></div>|
|
|
|
|
|
|
|
|
|
</span><y>… </y></div>
81 <div class=
"test rtl rlo s"><mr>…</mr><span>|
|
|
|
|
|
|
|
|
|
|
|
|
</span></div>