Revision 79f402f76e5b78f0fae93dbff7c4ddc5cd382e04 authored by Kent Tamura on 13 February 2018, 09:24:39 UTC, committed by Blink WPT Bot on 13 February 2018, 09:48:50 UTC
importNode() implementation should pass "is" value to "create an
element" algorithm.

WPT: Add a new test for importNode().

Bug: 807871
Change-Id: Id60c5577b5899aeac66b819986c34a28978e24d9
Reviewed-on: https://chromium-review.googlesource.com/915744
Reviewed-by: Yoichi Osato <yoichio@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536311}
1 parent 57780df
Raw File
list-style-type-armenian-002.xht
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: list-style-type - armenian, up to 9,999</title>
<link rel='author' title='Richard Ishida' href='http://rishida.net' />
<link rel='reviewer' title='Elika J. Etemad' href='http://fantasai.inkedblade.net/contact' />
<link rel='help' href='http://www.w3.org/TR/CSS21/generate.html#list-style' />
<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-list-style-type/generate?test=2' />
<meta name='flags' content='' />
<meta name="assert" content="Setting list-style-type to armenian will cause list numbering to format numbers up to 9,999 in the way described in CSS3 Lists module." />
<style type='text/css'>
.armenian { list-style-type: armenian; }

/* the CSS below is not part of the test */
.test { font-size: 24px; font-family: sans-serif; }
ol { margin: 0; padding-left: 8em; }
.alt { color: #ff6633; margin-left: 40px;}

</style>
</head>
<body>
<p class="instructions">Test passes if the numbering matches the numbering in the two columns is the same.</p>


<div class="test">
			<ol class="armenian">
				<li title="1">Ա</li>
				<li title="2">Բ</li>
				<li title="3">Գ</li>
				<li title="4">Դ</li>
				<li title="5">Ե</li>
				<li title="6">Զ</li>
				<li title="7">Է</li>
				<li title="8">Ը</li>
				<li title="9">Թ</li>
				<li title="10">Ժ</li>
				<li title="11">ԺԱ</li>
				<li title="12">ԺԲ</li>
			</ol>
			<ol class="armenian" start="43">
				<li title="43">ԽԳ</li>
			</ol>
			<ol class="armenian" start="77">
				<li title="77">ՀԷ</li>
			</ol>
			<ol class="armenian" start="80">
				<li title="80">Ձ</li>
			</ol>
			<ol class="armenian" start="99">
				<li title="99">ՂԹ</li>
				<li title="100">Ճ</li>
				<li title="101">ՃԱ</li>
			</ol>
			<ol class="armenian" start="222">
				<li title="222">ՄԻԲ</li>
			</ol>
			<ol class="armenian" start="540">
				<li title="540">ՇԽ</li>
			</ol>
			<ol class="armenian" start="999">
				<li title="999">ՋՂԹ</li>
				<li title="1000">Ռ</li>
			</ol>
			<ol class="armenian" start="1005">
				<li title="1005">ՌԵ</li>
			</ol>
			<ol class="armenian" start="1060">
				<li title="1060">ՌԿ</li>
			</ol>
			<ol class="armenian" start="1065">
				<li title="1065">ՌԿԵ</li>
			</ol>
			<ol class="armenian" start="1800">
				<li title="1800">ՌՊ</li>
			</ol>
			<ol class="armenian" start="1860">
				<li title="1860">ՌՊԿ</li>
			</ol>
			<ol class="armenian" start="1865">
				<li title="1865">ՌՊԿԵ</li>
			</ol>
			<ol class="armenian" start="5865">
				<li title="5865">ՐՊԿԵ</li>
			</ol>
			<ol class="armenian" start="7005">
				<li title="7005">ՈՒԵ</li>
			</ol>
			<ol class="armenian" start="7800">
				<li title="7800">ՈՒՊ</li>
			</ol>
			<ol class="armenian" start="7865">
				<li title="7865">ՈՒՊԿԵ</li>
			</ol>
			<ol class="armenian" start="9999">
				<li title="9999">ՔՋՂԹ</li>
			</ol>
		</div>


<!--p class="notes">Notes: <br />CSS2.1 CR specifies an armenian property, but does not specify in any detail the mechanism for implementing it. Expectations for behavior in these tests are based on the descriptions of lower-armenian and upper-armenian in the version of the CSS3 Lists module current at the time this test was last updated.</p><p class="notes">The test uses the start attribute to reduce the size of the list.  This attribute is deprecated or unavailable in some formats, causing the test page not to validate, but appears to be supported in major browsers anyway (and will be reinstated in HTML5).</p><p class="notes">Both upper and lowercase variants are shown here because the test is about the generative mechanism. The case is tested elsewhere.</p-->
</body>
</html>
back to top