Revision 08c935c755a5f9cc0ef8a7b9f56091e5d2b040d9 authored by Kent Tamura on 13 April 2018, 04:39:21 UTC, committed by Blink WPT Bot on 13 April 2018, 05:02:00 UTC
Intent-to-implement-and-ship: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/zCQe7UkR07w

Bug: 819482
Change-Id: I5645d5711d7fe1323992533e6c73593ba59d1bca
Reviewed-on: https://chromium-review.googlesource.com/1009450
Reviewed-by: Hayato Ito <hayato@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550513}
1 parent bdcafae
Raw File
text-emphasis-position-above-right-002.xht
<?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 - above right - basic cases</title>
		<link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp" />
		<link rel="help" title="CSS Text Level 3: 11.2.4. Emphasis Mark Position: the ‘text-emphasis-position’ property" href="http://www.w3.org/TR/css-text-3/#text-emphasis-position" />
		<link rel="match" href="reference/text-emphasis-position-above-right-002-ref.xht"/>
		<meta name="flags" content="ahem" />
		<meta name="assert" content="This property describes where emphasis marks are drawn at." />
		<style type="text/css"><![CDATA[
			.test
			{
				text-emphasis-style: filled circle;
				text-emphasis-position: above right;
			}
			.test-vertical
			{
				writing-mode: vertical-rl;
			}
			/* the CSS below is not part of the test */
			.common
			{
				left: -0.5em;
				line-height: 1em;
				position: relative;
			}
			.displayarea
			{
				border: solid 1px gray;
				padding: 10px;
				width: 10em;
			}
			.floatright
			{
				float: right;
			}
			.parent
			{
				background: yellow;
				border: solid 1px gray;
				color: blue;
				font: 20px/1em ahem;
				height: 6em;
				width: 2em;
			}
			.refcommon
			{
				font-size: 0.5em;
				left: 4.1em;
				position: absolute;
				top: 0.1em;
			}
		]]></style>
	</head>
	<body>
		<div>
			<p>Test passes if a pair of left and right block in the square box is identical.</p>
			<p>vertical</p>
			<div class="displayarea">
				<div class="parent floatright">
					<span class="common">&nbsp;a<span class="refcommon">&#x25CF;</span></span><br />
					<span class="common">&nbsp;b<span class="refcommon">&#x25CF;</span></span><br />
					<span class="common">&nbsp;c<span class="refcommon">&#x25CF;</span></span><br />
					&nbsp;&nbsp;<br />
					<span class="common">&nbsp;d</span><br />
					<span class="common">&nbsp;e</span><br />
				</div>
				<div class="parent test-vertical">
					<span class="test">abc</span> de
				</div>
			</div>
		</div>
	</body>
</html>
back to top