Bug 1669226 [wpt PR 25983] - Cross-ref css2 tests into css-text-3, a=testonly

Automatic update from web-platform-tests
Cross-ref css2 tests into css-text-3 (#25983)

Add references along the way
--

wpt-commits: 7d49534b1fb1c1c78f7f3272d3c2563b4612a1f4
wpt-pr: 25983
This commit is contained in:
Florian Rivoal 2020-10-06 14:55:41 +00:00 коммит произвёл moz-wptsync-bot
Родитель e11a7534e0
Коммит fa20490026
86 изменённых файлов: 1058 добавлений и 139 удалений

Просмотреть файл

@ -0,0 +1,23 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test reference</title>
<meta name="flags" content="ahem" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 16px/1em Ahem;
}
</style>
</head>
<body>
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div>
<div>
<span>x x</span>
</div>
<div id="test">x x</div>
</div>
</body>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a negative zero length value in pixels." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a zero length value in pixels." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a positive zero length value in pixels." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -0,0 +1,30 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test reference</title>
<meta name="flags" content="ahem" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 16px/1em Ahem;
}
#span1,
#span2
{
margin-left: 112px;
}
</style>
</head>
<body>
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div id="wrapper">
<div>
<span>x</span><span id="span1">x</span>
</div>
<div>
<span>x</span><span id="span2">x</span>
</div>
</div>
</body>
</html>

Просмотреть файл

@ -5,17 +5,19 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-007-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing 96px adds 96px (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#span2
{
margin-left: 120px;
margin-left: 96px;
}
#test
{
@ -27,9 +29,9 @@
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div id="wrapper">
<div>
<span>x</span><span id="span2">x</span>
<span>x </span><span id="span2">x</span>
</div>
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,17 +5,19 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-007-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing +96px adds 96px (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#span2
{
margin-left: 120px;
margin-left: 96px;
}
#test
{
@ -27,9 +29,9 @@
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div id="wrapper">
<div>
<span>x</span><span id="span2">x</span>
<span>x </span><span id="span2">x</span>
</div>
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a negative zero length value in points." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a zero length value in points." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a positive zero length value in points." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,17 +5,19 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-007-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that letter-spacing 72pt adds 72pt (in addition to default spacing) between letters in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 12pt/1em Ahem;
font: 16px/1em Ahem;
}
#span2
{
margin-left: 84pt;
margin-left: 72pt;
}
#test
{
@ -27,9 +29,9 @@
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div id="wrapper">
<div>
<span>x</span><span id="span2">x</span>
<span>x </span><span id="span2">x</span>
</div>
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,17 +5,19 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-007-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing +72pt adds +72 points (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 12pt/1em Ahem;
font: 16px/1em Ahem;
}
#span2
{
margin-left: 84pt;
margin-left: 72pt;
}
#test
{
@ -27,9 +29,9 @@
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div id="wrapper">
<div>
<span>x</span><span id="span2">x</span>
<span>x </span><span id="span2">x</span>
</div>
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a negative zero length value in picas." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a zero length value in picas." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a positive zero length value in picas." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,17 +5,19 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-007-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing 6pc adds 6pc (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 3pc/1em Ahem;
font: 16px/1em Ahem;
}
#span2
{
margin-left: 9pc;
margin-left: 6pc;
}
#test
{
@ -27,9 +29,9 @@
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div id="wrapper">
<div>
<span>x</span><span id="span2">x</span>
<span>x </span><span id="span2">x</span>
</div>
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,17 +5,19 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-007-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing +6pc adds 6pc (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 3pc/1em Ahem;
font: 16px/1em Ahem;
}
#span2
{
margin-left: 9pc;
margin-left: 6pc;
}
#test
{
@ -27,9 +29,9 @@
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div id="wrapper">
<div>
<span>x</span><span id="span2">x</span>
<span>x </span><span id="span2">x</span>
</div>
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a negative zero length value in centimeters." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a zero length value in centimeters." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a positive zero length value in centimeters." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-007-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing 2.54cm adds 2.54cm (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 1cm/1em Ahem;
font: 16px/1em Ahem;
}
#span2
{
@ -32,4 +34,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-007-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing +2.54cm adds 2.54cm (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 1cm/1em Ahem;
font: 16px/1em Ahem;
}
#span2
{
@ -32,4 +34,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a negative zero length value in millimeters." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a zero length value in millimeters." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a positive zero length value in millimeters." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,17 +5,19 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-007-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing 25.4mm adds 25.4mm (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 25.4mm/1em Ahem;
font: 16px/1em Ahem;
}
#span2
{
margin-left: 50.8mm;
margin-left: 25.4mm;
}
#test
{
@ -27,9 +29,9 @@
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div id="wrapper">
<div>
<span>x</span><span id="span2">x</span>
<span>x </span><span id="span2">x</span>
</div>
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,17 +5,19 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-007-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing +25.4mm adds 25.4mm (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 25.4mm/1em Ahem;
font: 16px/1em Ahem;
}
#span2
{
margin-left: 50.8mm;
margin-left: 25.4mm;
}
#test
{
@ -27,9 +29,9 @@
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div id="wrapper">
<div>
<span>x</span><span id="span2">x</span>
<span>x </span><span id="span2">x</span>
</div>
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a negative zero length value in inches." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a zero length value in inches." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a positive zero length value in inches." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,17 +5,19 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-007-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing 1in adds 1in (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 2in/1em Ahem;
font: 16px/1em Ahem;
}
#span2
{
margin-left: 3in;
margin-left: 1in;
}
#test
{
@ -27,9 +29,9 @@
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div id="wrapper">
<div>
<span>x</span><span id="span2">x</span>
<span>x </span><span id="span2">x</span>
</div>
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,17 +5,19 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-007-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing +1in adds 1in (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 2in/1em Ahem;
font: 16px/1em Ahem;
}
#span2
{
margin-left:3in;
margin-left: 1in;
}
#test
{
@ -27,9 +29,9 @@
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div id="wrapper">
<div>
<span>x</span><span id="span2">x</span>
<span>x </span><span id="span2">x</span>
</div>
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a negative zero length value in 'em' units." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a zero length value in 'em' units." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a positive zero length value in 'em' units." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-007-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing 6em adds 6em (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -15,7 +17,7 @@
}
#span2
{
margin-left: 112px;
margin-left: 6em;
}
#test
{
@ -27,9 +29,9 @@
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div id="wrapper">
<div>
<span>x</span><span id="span2">x</span>
<span>x </span><span id="span2">x</span>
</div>
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-007-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing +6em adds 6em (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -15,7 +17,7 @@
}
#span2
{
margin-left: 112px;
margin-left: 6em;
}
#test
{
@ -27,9 +29,9 @@
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div id="wrapper">
<div>
<span>x</span><span id="span2">x</span>
<span>x </span><span id="span2">x</span>
</div>
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a negative zero length value in 'ex' units." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a zero length value in 'ex' units." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property sets a positive zero length value in 'ex' units." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -0,0 +1,30 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test reference</title>
<meta name="flags" content="ahem" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 16px/1em Ahem;
}
#span1,
#span2
{
margin-left: 12ex;
}
</style>
</head>
<body>
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div id="wrapper">
<div>
<span>x </span><span id="span1">x</span>
</div>
<div>
<span>x </span><span id="span2">x</span>
</div>
</div>
</body>
</html>

Просмотреть файл

@ -5,17 +5,19 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-091-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing 12ex adds 12ex (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 20px/1em Ahem;
font: 16px/1em Ahem;
}
#span2
{
margin-left: 212px;
margin-left: 12ex;
}
#test
{
@ -27,9 +29,9 @@
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div id="wrapper">
<div>
<span>x</span><span id="span2">x</span>
<span>x </span><span id="span2">x</span>
</div>
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,17 +5,19 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-091-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing +12ex adds 12ex (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 20px/1em Ahem;
font: 16px/1em Ahem;
}
#span2
{
margin-left: 212px;
margin-left: 12ex;
}
#test
{
@ -27,9 +29,9 @@
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div id="wrapper">
<div>
<span>x</span><span id="span2">x</span>
<span>x </span><span id="span2">x</span>
</div>
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing -0 adds 0 (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing 0 adds no extra space (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing +0 adds no extra space (in addition to default spacing) between words in the element." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,13 +5,15 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-004-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property set to normal does not change spacing between words." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 24px/1em Ahem;
font: 16px/1em Ahem;
}
#test
{
@ -28,4 +30,4 @@
<div id="test">x x</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -5,17 +5,19 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property" />
<link rel="match" href="word-spacing-091-ref.xht" />
<meta name="flags" content="ahem" />
<meta name="assert" content="Ensure that word-spacing with inherit uses its parents value for word-spacing." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
#wrapper
{
font: 20px/1em Ahem;
font: 16px/1em Ahem;
}
#span2
{
margin-left: 212px;
margin-left: 12ex;
}
#parent
{
@ -32,11 +34,11 @@
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
<div id="wrapper">
<div>
<span>x</span><span id="span2">x</span>
<span>x </span><span id="span2">x</span>
</div>
<div id="parent">
<div id="test">x x</div>
</div>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -0,0 +1,31 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test reference</title>
<meta name="flags" content="ahem" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 16px/1em Ahem;
}
div div
{
display: inline;
}
#div1
{
background: blue;
height: 1em;
width: 22em;
}
</style>
</head>
<body>
<p>Test passes if there are two black boxes below and the last black box ends when the blue box ends.</p>
<div>
<div>XXXXX &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XXXXXX</div>
</div>
<div id="div1"></div>
</body>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-applies-to-001-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property applies to 'display: inline' elements." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -33,4 +35,4 @@
</div>
<div id="div1"></div>
</body>
</html>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-applies-to-001-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property applies to 'display: block' elements." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -33,4 +35,4 @@
</div>
<div id="div1"></div>
</body>
</html>
</html>

Просмотреть файл

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test reference</title>
<meta name="flags" content="ahem" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
body
{
margin-left: 2em;
}
div
{
font: 16px/1em Ahem;
}
div div
{
display: list-item;
}
#div2
{
background: blue;
height: 1em;
width: 22em;
}
</style>
</head>
<body>
<p>Test passes if there are two black boxes below and the last black box ends when the blue box ends. There also needs to be a marker bullet on the left-hand side of the left most black box.</p>
<div>
<div>XXXXX &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XXXXXX</div>
</div>
<div id="div2"></div>
</body>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-applies-to-003-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property applies to 'display: list-item' elements." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -37,4 +39,4 @@
</div>
<div id="div2"></div>
</body>
</html>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-applies-to-001-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property applies to 'display: inline-block' elements." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -33,4 +35,4 @@
</div>
<div id="div1"></div>
</body>
</html>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-applies-to-001-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property applies to 'display: table' elements." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -43,4 +45,4 @@
</div>
<div id="div1"></div>
</body>
</html>
</html>

Просмотреть файл

@ -0,0 +1,41 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test reference</title>
<meta name="flags" content="ahem" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 16px/1em Ahem;
}
#table
{
display: inline-table;
}
#row
{
display: table-row;
}
#cell
{
display: table-cell;
}
#div1
{
background: blue;
height: 1em;
width: 22em;
}
</style>
</head>
<body>
<p>Test passes if there are two black boxes below and the last black box ends when the blue box ends.</p>
<div id="table">
<div id="row">
<div id="cell">XXXXX &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XXXXXX</div>
</div>
</div>
<div id="div1"></div>
</body>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-applies-to-007-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property applies to 'display: inline-table' elements." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -43,4 +45,4 @@
</div>
<div id="div1"></div>
</body>
</html>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-applies-to-001-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property applies to 'display: table-row-group' elements." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -49,4 +51,4 @@
</div>
<div id="div1"></div>
</body>
</html>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-applies-to-001-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property applies to 'display: table-header-group' elements." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -49,4 +51,4 @@
</div>
<div id="div1"></div>
</body>
</html>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-applies-to-001-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property applies to 'display: table-footer-group' elements." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -49,4 +51,4 @@
</div>
<div id="div1"></div>
</body>
</html>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-applies-to-001-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property applies to 'display: table-row' elements." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -43,4 +45,4 @@
</div>
<div id="div1"></div>
</body>
</html>
</html>

Просмотреть файл

@ -0,0 +1,46 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test reference</title>
<meta name="flags" content="ahem" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 16px/1em Ahem;
}
#table
{
display: table;
}
#test
{
display: table-column-group;
}
#row
{
display: table-row;
}
#cell
{
display: table-cell;
}
#div1
{
background: blue;
height: 1em;
width: 11em;
}
</style>
</head>
<body>
<p>Test passes if there are two black boxes below and the last black box ends when the blue box ends.</p>
<div id="table">
<div id="test"></div>
<div id="row">
<div id="cell">XXXXX XXXXX</div>
</div>
</div>
<div id="div1"></div>
</body>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-applies-to-012-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property is not applied to 'display: table-column-group' elements." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -48,4 +50,4 @@
</div>
<div id="div1"></div>
</body>
</html>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-applies-to-012-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property is not applied to 'display: table-column' elements." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -48,4 +50,4 @@
</div>
<div id="div1"></div>
</body>
</html>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-applies-to-001-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property applies to 'display: table-cell' elements." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -43,4 +45,4 @@
</div>
<div id="div1"></div>
</body>
</html>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-word-spacing" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-applies-to-001-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The 'word-spacing' property applies to 'display: table-caption' elements." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -49,4 +51,4 @@
</div>
<div id="div1"></div>
</body>
</html>
</html>

Просмотреть файл

@ -0,0 +1,80 @@
<!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>test reference</title>
<style type="text/css">
div {
margin: 1em;
font-family: monospace;
page-break-inside: avoid;
}
div p {
margin: 0;
}
.controlcontrol {
background: orange;
width: 4em;
}
.control span {
background: blue;
color: blue;
}
.spacer {
padding-left: 4em;
}
.test span {
background: orange;
color: orange;
}
.ws-pre p {
white-space: pre;
}
</style>
</head>
<body>
<p>In each of the following pairs, the blue and orange bars must have equal lengths.</p>
<div>
<p class="control"><span class="spacer"></span>&nbsp;</p>
<p class="controlcontrol">&nbsp;</p>
</div>
<div class="ws-normal">
<p class="control"><span>A <span class="spacer"></span>B</span></p>
<p class="test"><span>A <span class="spacer"></span>B</span></p>
</div>
<div class="ws-normal">
<p class="control"><span>A <span class="spacer"></span>B</span></p>
<p class="test"><span>A <span class="spacer"></span>B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A <span class="spacer"></span> <span class="spacer"></span>B</span></p>
<p class="test"><span>A <span class="spacer"></span> <span class="spacer"></span>B</span></p>
</div>
<div class="ws-normal">
<p class="control"><span>A&nbsp;<span class="spacer"></span>B</span></p>
<p class="test"><span>A&nbsp;<span class="spacer"></span>B</span></p>
</div>
<div class="ws-normal">
<p class="control"><span>A&nbsp;&nbsp;<span class="spacer"></span><span class="spacer"></span>B</span></p>
<p class="test"><span>A&nbsp;&nbsp;<span class="spacer"></span><span class="spacer"></span>B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&nbsp;&nbsp;<span class="spacer"></span><span class="spacer"></span>B</span></p>
<p class="test"><span>A&nbsp;&nbsp;<span class="spacer"></span><span class="spacer"></span>B</span></p>
</div>
<div class="ws-normal">
<p class="control"><span>A&nbsp; &nbsp; <span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span>B</span></p>
<p class="test"><span>A&nbsp; &nbsp; <span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span>B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&nbsp; &nbsp; <span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span>&#09;B</span></p>
<p class="test"><span>A&nbsp; &nbsp; <span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span>&#09;B</span></p>
</div>
</body>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<title>CSS Test: word-spacing on Flexible Space Characters</title>
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props"/>
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-characters-001-ref.xht"/>
<meta name="flags" content=""/>
<meta name="assert" content="Word-spacing affects each space (U+0020)
and non-breaking space (U+00A0)."/>

Просмотреть файл

@ -0,0 +1,175 @@
<!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>test reference</title>
<style type="text/css">
div {
margin: 1em;
font-family: monospace;
page-break-inside: avoid;
}
div p {
margin: 0;
}
.control span {
background: blue;
color: blue;
}
.test span {
background: orange;
color: orange;
}
.ws-pre p {
white-space: pre;
}
body > div { display: inline-block; } /* to avoid overflowing the screen. Non essential to the test. */
</style>
</head>
<body>
<p>In each of the following pairs, the blue and orange bars must have equal lengths.</p>
<!-- IDEOGRAPHIC SPACE -->
<div class="ws-normal">
<p class="control"><span>A&#x3000;&#x3000;&#x3000;&#x3000;B</span></p>
<p class="test"><span>A&#x3000;&#x3000;&#x3000;&#x3000;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#x3000;&#x3000;&#x3000;&#x3000;B</span></p>
<p class="test"><span>A&#x3000;&#x3000;&#x3000;&#x3000;B</span></p>
</div>
<!-- EN QUAD -->
<div class="ws-normal">
<p class="control"><span>A&#x2000;&#x2000;&#x2000;&#x2000;B</span></p>
<p class="test"><span>A&#x2000;&#x2000;&#x2000;&#x2000;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#x2000;&#x2000;&#x2000;&#x2000;B</span></p>
<p class="test"><span>A&#x2000;&#x2000;&#x2000;&#x2000;B</span></p>
</div>
<!-- EM QUAD -->
<div class="ws-normal">
<p class="control"><span>A&#x2001;&#x2001;&#x2001;&#x2001;B</span></p>
<p class="test"><span>A&#x2001;&#x2001;&#x2001;&#x2001;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#x2001;&#x2001;&#x2001;&#x2001;B</span></p>
<p class="test"><span>A&#x2001;&#x2001;&#x2001;&#x2001;B</span></p>
</div>
<!-- EN SPACE -->
<div class="ws-normal">
<p class="control"><span>A&#x2002;&#x2002;&#x2002;&#x2002;B</span></p>
<p class="test"><span>A&#x2002;&#x2002;&#x2002;&#x2002;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#x2002;&#x2002;&#x2002;&#x2002;B</span></p>
<p class="test"><span>A&#x2002;&#x2002;&#x2002;&#x2002;B</span></p>
</div>
<!-- EM SPACE -->
<div class="ws-normal">
<p class="control"><span>A&#x2003;&#x2003;&#x2003;&#x2003;B</span></p>
<p class="test"><span>A&#x2003;&#x2003;&#x2003;&#x2003;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#x2003;&#x2003;&#x2003;&#x2003;B</span></p>
<p class="test"><span>A&#x2003;&#x2003;&#x2003;&#x2003;B</span></p>
</div>
<!-- THREE-PER-EM SPACE -->
<div class="ws-normal">
<p class="control"><span>A&#x2004;&#x2004;&#x2004;&#x2004;B</span></p>
<p class="test"><span>A&#x2004;&#x2004;&#x2004;&#x2004;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#x2004;&#x2004;&#x2004;&#x2004;B</span></p>
<p class="test"><span>A&#x2004;&#x2004;&#x2004;&#x2004;B</span></p>
</div>
<!-- FOUR-PER-EM SPACE -->
<div class="ws-normal">
<p class="control"><span>A&#x2005;&#x2005;&#x2005;&#x2005;B</span></p>
<p class="test"><span>A&#x2005;&#x2005;&#x2005;&#x2005;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#x2005;&#x2005;&#x2005;&#x2005;B</span></p>
<p class="test"><span>A&#x2005;&#x2005;&#x2005;&#x2005;B</span></p>
</div>
<!-- SIX-PER-EM SPACE -->
<div class="ws-normal">
<p class="control"><span>A&#x2006;&#x2006;&#x2006;&#x2006;B</span></p>
<p class="test"><span>A&#x2006;&#x2006;&#x2006;&#x2006;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#x2006;&#x2006;&#x2006;&#x2006;B</span></p>
<p class="test"><span>A&#x2006;&#x2006;&#x2006;&#x2006;B</span></p>
</div>
<!-- FIGURE SPACE -->
<div class="ws-normal">
<p class="control"><span>A&#x2007;&#x2007;&#x2007;&#x2007;B</span></p>
<p class="test"><span>A&#x2007;&#x2007;&#x2007;&#x2007;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#x2007;&#x2007;&#x2007;&#x2007;B</span></p>
<p class="test"><span>A&#x2007;&#x2007;&#x2007;&#x2007;B</span></p>
</div>
<!-- PUNCTUATION SPACE -->
<div class="ws-normal">
<p class="control"><span>A&#x2008;&#x2008;&#x2008;&#x2008;B</span></p>
<p class="test"><span>A&#x2008;&#x2008;&#x2008;&#x2008;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#x2008;&#x2008;&#x2008;&#x2008;B</span></p>
<p class="test"><span>A&#x2008;&#x2008;&#x2008;&#x2008;B</span></p>
</div>
<!--THIN SPACE -->
<div class="ws-normal">
<p class="control"><span>A&#x2009;&#x2009;&#x2009;&#x2009;B</span></p>
<p class="test"><span>A&#x2009;&#x2009;&#x2009;&#x2009;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#x2009;&#x2009;&#x2009;&#x2009;B</span></p>
<p class="test"><span>A&#x2009;&#x2009;&#x2009;&#x2009;B</span></p>
</div>
<!-- HAIR SPACE -->
<div class="ws-normal">
<p class="control"><span>A&#x200A;&#x200A;&#x200A;&#x200A;B</span></p>
<p class="test"><span>A&#x200A;&#x200A;&#x200A;&#x200A;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#x200A;&#x200A;&#x200A;&#x200A;B</span></p>
<p class="test"><span>A&#x200A;&#x200A;&#x200A;&#x200A;B</span></p>
</div>
<!-- NARROW NO-BREAK SPACE -->
<div class="ws-normal">
<p class="control"><span>A&#x202F;&#x202F;&#x202F;&#x202F;B</span></p>
<p class="test"><span>A&#x202F;&#x202F;&#x202F;&#x202F;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#x202F;&#x202F;&#x202F;&#x202F;B</span></p>
<p class="test"><span>A&#x202F;&#x202F;&#x202F;&#x202F;B</span></p>
</div>
<!-- MEDIUM MATHEMATICAL SPACE -->
<div class="ws-normal">
<p class="control"><span>A&#x205F;&#x205F;&#x205F;&#x205F;B</span></p>
<p class="test"><span>A&#x205F;&#x205F;&#x205F;&#x205F;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#x205F;&#x205F;&#x205F;&#x205F;B</span></p>
<p class="test"><span>A&#x205F;&#x205F;&#x205F;&#x205F;B</span></p>
</div>
</body>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<title>CSS Test: word-spacing on Fixed-Width Space Characters</title>
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props"/>
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-characters-002-ref.xht"/>
<meta name="flags" content=""/>
<meta name="assert" content="Word-spacing does not affect fixed-width spaces."/>
<style type="text/css">
@ -29,6 +31,7 @@
.ws-pre p {
white-space: pre;
}
body > div { display: inline-block; } /* to avoid overflowing the screen. Non essential to the test. */
</style>
</head>
<body>

Просмотреть файл

@ -0,0 +1,73 @@
<!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>test reference</title>
<style type="text/css">
div {
margin: 1em;
font-family: monospace;
page-break-inside: avoid;
}
div p {
margin: 0;
}
.control span {
background: blue;
color: blue;
}
.test span {
background: orange;
color: orange;
}
.ws-pre p {
white-space: pre;
}
</style>
</head>
<body>
<p>In each of the following pairs, the blue and orange bars must have equal lengths.</p>
<!-- ZERO-WIDTH SPACE -->
<div class="ws-normal">
<p class="control"><span>A&#x200B;&#x200B;&#x200B;&#x200B;B</span></p>
<p class="test"><span>A&#x200B;&#x200B;&#x200B;&#x200B;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#x200B;&#x200B;&#x200B;&#x200B;B</span></p>
<p class="test"><span>A&#x200B;&#x200B;&#x200B;&#x200B;B</span></p>
</div>
<!-- ZERO-WIDTH NO-BREAK SPACE -->
<div class="ws-normal">
<p class="control"><span>A&#xFEFF;&#xFEFF;&#xFEFF;&#xFEFF;B</span></p>
<p class="test"><span>A&#xFEFF;&#xFEFF;&#xFEFF;&#xFEFF;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#xFEFF;&#xFEFF;&#xFEFF;&#xFEFF;B</span></p>
<p class="test"><span>A&#xFEFF;&#xFEFF;&#xFEFF;&#xFEFF;B</span></p>
</div>
<!-- ZERO-WIDTH NON-JOINER -->
<div class="ws-normal">
<p class="control"><span>A&#x200C;&#x200C;&#x200C;&#x200C;B</span></p>
<p class="test"><span>A&#x200C;&#x200C;&#x200C;&#x200C;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#x200C;&#x200C;&#x200C;&#x200C;B</span></p>
<p class="test"><span>A&#x200C;&#x200C;&#x200C;&#x200C;B</span></p>
</div>
<!-- ZERO-WIDTH JOINER -->
<div class="ws-normal">
<p class="control"><span>A&#x200D;&#x200D;&#x200D;&#x200D;B</span></p>
<p class="test"><span>A&#x200D;&#x200D;&#x200D;&#x200D;B</span></p>
</div>
<div class="ws-pre">
<p class="control"><span>A&#x200D;&#x200D;&#x200D;&#x200D;B</span></p>
<p class="test"><span>A&#x200D;&#x200D;&#x200D;&#x200D;B</span></p>
</div>
</body>
</html>

Просмотреть файл

@ -5,6 +5,8 @@
<title>CSS Test: word-spacing on Zero-Width Characters</title>
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props"/>
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-characters-003-ref.xht"/>
<meta name="flags" content=""/>
<meta name="assert" content="Word-spacing does not affect zero-width characters."/>
<style type="text/css">

Просмотреть файл

@ -0,0 +1,22 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test reference</title>
<meta name="flags" content="ahem" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
span
{
display: block;
font: 16px/1em Ahem;
width: 20em;
}
</style>
</head>
<body>
<p>Test passes if there are three distinct boxes below.</p>
<div>
<span>XXXXX &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XXXXX XXXXX &nbsp;&nbsp;&nbsp;XXXXX</span>
</div>
</body>
</html>

Просмотреть файл

@ -4,6 +4,10 @@
<title>CSS Test: Word-spacing and 'text-align: justify'</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="help" href="https://drafts.csswg.org/css-text-3/#text-align-property"/>
<link rel="help" href="https://drafts.csswg.org/css-text-3/#text-justify-property"/>
<link rel="match" href="word-spacing-justify-001-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The word spacing is changed when combined with 'text-align: justify'." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -24,4 +28,4 @@
<span>XXXXX XXXXX XXXXX XXXXX</span>
</div>
</body>
</html>
</html>

Просмотреть файл

@ -0,0 +1,30 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test reference</title>
<meta name="flags" content="ahem" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 16px/1em Ahem;
}
#div2, #div3
{
background: black;
display: inline-block;
height: 1em;
width: 1em;
}
#div3
{
margin-left: 3em;
}
</style>
</head>
<body>
<p>Test passes if there are only two boxes below.</p>
<div id="div1">X &nbsp;&nbsp;X</div>
<div id="div2"></div><div id="div3"></div>
</body>
</html>

Просмотреть файл

@ -4,6 +4,8 @@
<title>CSS Test: Word-spacing and white space with multiple spaces</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-remove-space-001-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The white space processing removes spaces before 'word-spacing' is applied." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -34,4 +36,4 @@
<div id="div1">X X</div>
<div id="div2"></div><div id="div3"></div>
</body>
</html>
</html>

Просмотреть файл

@ -0,0 +1,30 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test reference</title>
<meta name="flags" content="ahem" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 16px/1em Ahem;
}
#div2, #div3
{
background: black;
display: inline-block;
height: 1em;
width: 1em;
}
#div3
{
margin-left: 12em;
}
</style>
</head>
<body>
<p>Test passes if there are only two boxes below.</p>
<div id="div1">X&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;X</div>
<div id="div2"></div><div id="div3"></div>
</body>
</html>

Просмотреть файл

@ -4,6 +4,8 @@
<title>CSS Test: Word-spacing and white space with multiple non-breaking spaces</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-remove-space-002-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The white space processing removes non-breaking space before 'word-spacing' is applied." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -34,4 +36,4 @@
<div id="div1">X&nbsp; &nbsp; X</div>
<div id="div2"></div><div id="div3"></div>
</body>
</html>
</html>

Просмотреть файл

@ -0,0 +1,30 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test reference</title>
<meta name="flags" content="ahem" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 16px/1em Ahem;
}
#div2, #div3
{
background: black;
display: inline-block;
height: 1em;
width: 1em;
}
#div3
{
margin-left: 8em;
}
</style>
</head>
<body>
<p>Test passes if there are only two boxes below.</p>
<div id="div1">X&#x3000; &nbsp;&nbsp;&#x3000; &nbsp;&nbsp;X</div>
<div id="div2"></div><div id="div3"></div>
</body>
</html>

Просмотреть файл

@ -4,6 +4,8 @@
<title>CSS Test: Word-spacing and white space with multiple ideographic spaces</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-remove-space-003-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="The white space processing removes ideographic space before 'word-spacing' is applied." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -34,4 +36,4 @@
<div id="div1">X&#x3000; &#x3000; X</div>
<div id="div2"></div><div id="div3"></div>
</body>
</html>
</html>

Просмотреть файл

@ -0,0 +1,34 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test reference</title>
<meta name="flags" content="ahem" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 16px/1em Ahem;
}
#div1
{
white-space: pre;
}
#div2, #div3
{
background: black;
display: inline-block;
height: 1em;
width: 1em;
}
#div3
{
margin-left: 6em;
}
</style>
</head>
<body>
<p>Test passes if there are only two boxes below.</p>
<div id="div1">X &nbsp;&nbsp; &nbsp;&nbsp;X</div>
<div id="div2"></div><div id="div3"></div>
</body>
</html>

Просмотреть файл

@ -4,6 +4,8 @@
<title>CSS Test: Word-spacing and white space with multiple preserved spaces</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-remove-space-004-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="Any space left after white-space processing model occurs, has word-spacing applied to it." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -35,4 +37,4 @@
<div id="div1">X X</div>
<div id="div2"></div><div id="div3"></div>
</body>
</html>
</html>

Просмотреть файл

@ -0,0 +1,34 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test reference</title>
<meta name="flags" content="ahem" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 16px/1em Ahem;
}
#div1
{
white-space: pre;
}
#div2, #div3
{
background: black;
display: inline-block;
height: 1em;
width: 1em;
}
#div3
{
margin-left: 9em;
}
</style>
</head>
<body>
<p>Test passes if there are only two boxes below.</p>
<div id="div1">X&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;X</div>
<div id="div2"></div><div id="div3"></div>
</body>
</html>

Просмотреть файл

@ -4,6 +4,8 @@
<title>CSS Test: Word-spacing and white space with multiple preserved spaces</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-remove-space-005-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="Any non-breaking space left after white-space processing model occurs, has word-spacing applied to it." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -35,4 +37,4 @@
<div id="div1">X&nbsp; &nbsp;X</div>
<div id="div2"></div><div id="div3"></div>
</body>
</html>
</html>

Просмотреть файл

@ -0,0 +1,34 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test reference</title>
<meta name="flags" content="ahem" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
div
{
font: 16px/1em Ahem;
}
#div1
{
white-space: pre;
}
#div2, #div3
{
background: black;
display: inline-block;
height: 1em;
width: 1em;
}
#div3
{
margin-left: 8em;
}
</style>
</head>
<body>
<p>Test passes if there are only two boxes below.</p>
<div id="div1">X&#x3000; &nbsp;&nbsp; &nbsp;&nbsp;&#x3000;X</div>
<div id="div2"></div><div id="div3"></div>
</body>
</html>

Просмотреть файл

@ -4,6 +4,8 @@
<title>CSS Test: Word-spacing and white space with multiple preserved spaces</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
<link rel="help" href="https://drafts.csswg.org/css-text-3/#word-spacing-property"/>
<link rel="match" href="word-spacing-remove-space-006-ref.xht"/>
<meta name="flags" content="ahem" />
<meta name="assert" content="Any ideographic space left after white-space processing model occurs, has word-spacing applied to it." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
@ -35,4 +37,4 @@
<div id="div1">X&#x3000; &#x3000;X</div>
<div id="div2"></div><div id="div3"></div>
</body>
</html>
</html>