summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-decoration/decoration-css21.html
blob: faaa1af36230531ccb306370d905e041948f4fdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<html>
	<head>
		<style>
			.sup {vertical-align: super;}
			.transparent {color: transparent;}
			.alllines {text-decoration:line-through overline underline; color: purple;}
			.highRel {position: relative; top: -4em;}
			.lowRel {position: relative; top: 4em;}
			.lowVert {vertical-align: -4em;}
			.highVert {vertical-align: 4em;}
      * { text-decoration-skip-ink: none;}
		</style>
	</head>
	<body>
		<p>
			<span style="text-decoration: underline">Underlined <span class="sup transparent">still underlined</span></span>
			<span style="text-decoration: underline">Underlined <span class="sup">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
		</p>
		<p>
			<span class="alllines">
				Before<span class="highVert transparent">high</span><span class="lowVert transparent">low</span>After
			</span>
		</p>
		<p>
			<span class="alllines">
				Before<span class="highRel">high</span><span class="lowRel">low</span>After</span>
			</span>
		</p>
	</body>
</html>