forked from mirrors/gecko-dev
		
	Differential Revision: https://phabricator.services.mozilla.com/D41880 --HG-- extra : moz-landing-system : lando
		
			
				
	
	
		
			71 lines
		
	
	
	
		
			2.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			71 lines
		
	
	
	
		
			2.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!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; text-decoration-skip-ink: none;
 | 
						|
}
 | 
						|
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>
 |