summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text-decor/text-emphasis-position-over-left-001.xht
blob: 94a2a8c3db16072b4d9c1de0de6b1a1807c774b9 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>CSS Test: text-emphasis-position - over left - basic cases</title>
		<link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp" />
		<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com" />
		<link rel="help"  href="https://drafts.csswg.org/css-text-decor-3/#text-emphasis-position-property" />
		<link rel="match" href="reference/text-emphasis-position-over-left-001-ref.xht"/>
		<meta name="flags" content="ahem" />
		<meta name="assert" content="This property describes where emphasis marks are drawn at." />
		<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
		<style type="text/css"><![CDATA[
			.test
			{
				text-emphasis-style: filled circle;
				text-emphasis-position: over left;
			}
			/* the CSS below is not part of the test */
			.parent
			{
				background: yellow;
				border: solid 1px gray;
				color: blue;
				font: 20px/1em ahem;
				width: 6em;
			}
			ruby {
			    ruby-position: over;
			}
		]]></style>
	</head>
	<body>
		<div>
			<p>Test passes if a pair of upper and lower block in the square box is identical.</p>
			<p>horizontal</p>
			<div class="parent">
				<div><span class="test">abc</span> de<br /><br /></div>
			</div>
			<br />
			<div class="parent">
				<div>
					<ruby><rb>a</rb><rt>&#x25CF;</rt><rb>b</rb><rt>&#x25CF;</rt><rb>c</rb><rt>&#x25CF;</rt></ruby>
					 de<br />
					<br />
				</div>
			</div>
		</div>
	</body>
</html>