tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

text-emphasis-position-over-left-002.xht (1915B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4 	<head>
      5 		<title>CSS Test: text-emphasis-position - over left - basic cases</title>
      6 		<link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp" />
      7 		<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com" />
      8 		<link rel="help" href="https://drafts.csswg.org/css-text-decor-3/#text-emphasis-position-property" />
      9 		<link rel="match" href="reference/text-emphasis-position-over-left-002-ref.xht"/>
     10 		<meta name="flags" content="ahem" />
     11 		<meta name="assert" content="This property describes where emphasis marks are drawn at." />
     12 		<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     13 		<style type="text/css"><![CDATA[
     14 			.test
     15 			{
     16 				text-emphasis-style: filled circle;
     17 				text-emphasis-position: over left;
     18 			}
     19 			.vertical
     20 			{
     21 				writing-mode: vertical-rl;
     22 			}
     23 			/* the CSS below is not part of the test */
     24 			.displayarea
     25 			{
     26 				border: solid 1px gray;
     27 				padding: 10px;
     28 				width: 10em;
     29 			}
     30 			.floatright
     31 			{
     32 				float: right;
     33 			}
     34 			.ref {
     35 				ruby-position: under;  /* to match emphasis position 'left' */
     36 			}
     37 			.parent
     38 			{
     39 				background: yellow;
     40 				border: solid 1px gray;
     41 				color: blue;
     42 				font: 20px/1em ahem;
     43 				height: 6em;
     44 				width: 2em;
     45 			}
     46 		]]></style>
     47 	</head>
     48 	<body>
     49 		<div>
     50 			<p>Test passes if a pair of left and right block in the square box is identical.</p>
     51 			<p>vertical</p>
     52 			<div class="displayarea">
     53 				<div class="parent vertical floatright ref">
     54 					<div>
     55 						<ruby><rb>a</rb><rt>&#x25CF;</rt><rb>b</rb><rt>&#x25CF;</rt><rb>c</rb><rt>&#x25CF;</rt></ruby>
     56 						 de<br />
     57 						<br />
     58 					</div>
     59 				</div>
     60 				<div class="parent vertical">
     61 					<span class="test">abc</span> de
     62 				</div>
     63 			</div>
     64 		</div>
     65 	</body>
     66 </html>