зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
e11a7534e0
Коммит
fa20490026
|
@ -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="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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a negative zero length value in pixels." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a zero length value in pixels." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a positive zero length value in pixels." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -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="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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="Ensure that word-spacing 96px adds 96px (in addition to default spacing) between words in the element." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#span2
|
#span2
|
||||||
{
|
{
|
||||||
margin-left: 120px;
|
margin-left: 96px;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
@ -27,7 +29,7 @@
|
||||||
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div>
|
<div>
|
||||||
<span>x</span><span id="span2">x</span>
|
<span>x </span><span id="span2">x</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="test">x x</div>
|
<div id="test">x x</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,17 +5,19 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="Ensure that word-spacing +96px adds 96px (in addition to default spacing) between words in the element." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#span2
|
#span2
|
||||||
{
|
{
|
||||||
margin-left: 120px;
|
margin-left: 96px;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
@ -27,7 +29,7 @@
|
||||||
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div>
|
<div>
|
||||||
<span>x</span><span id="span2">x</span>
|
<span>x </span><span id="span2">x</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="test">x x</div>
|
<div id="test">x x</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a negative zero length value in points." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a zero length value in points." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a positive zero length value in points." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,17 +5,19 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="Ensure that letter-spacing 72pt adds 72pt (in addition to default spacing) between letters in the element." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 12pt/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#span2
|
#span2
|
||||||
{
|
{
|
||||||
margin-left: 84pt;
|
margin-left: 72pt;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
@ -27,7 +29,7 @@
|
||||||
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div>
|
<div>
|
||||||
<span>x</span><span id="span2">x</span>
|
<span>x </span><span id="span2">x</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="test">x x</div>
|
<div id="test">x x</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,17 +5,19 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="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." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 12pt/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#span2
|
#span2
|
||||||
{
|
{
|
||||||
margin-left: 84pt;
|
margin-left: 72pt;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
@ -27,7 +29,7 @@
|
||||||
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div>
|
<div>
|
||||||
<span>x</span><span id="span2">x</span>
|
<span>x </span><span id="span2">x</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="test">x x</div>
|
<div id="test">x x</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a negative zero length value in picas." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a zero length value in picas." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a positive zero length value in picas." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,17 +5,19 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="Ensure that word-spacing 6pc adds 6pc (in addition to default spacing) between words in the element." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 3pc/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#span2
|
#span2
|
||||||
{
|
{
|
||||||
margin-left: 9pc;
|
margin-left: 6pc;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
@ -27,7 +29,7 @@
|
||||||
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div>
|
<div>
|
||||||
<span>x</span><span id="span2">x</span>
|
<span>x </span><span id="span2">x</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="test">x x</div>
|
<div id="test">x x</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,17 +5,19 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="Ensure that word-spacing +6pc adds 6pc (in addition to default spacing) between words in the element." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 3pc/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#span2
|
#span2
|
||||||
{
|
{
|
||||||
margin-left: 9pc;
|
margin-left: 6pc;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
@ -27,7 +29,7 @@
|
||||||
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div>
|
<div>
|
||||||
<span>x</span><span id="span2">x</span>
|
<span>x </span><span id="span2">x</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="test">x x</div>
|
<div id="test">x x</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a negative zero length value in centimeters." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a zero length value in centimeters." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a positive zero length value in centimeters." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="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." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 1cm/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#span2
|
#span2
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="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." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 1cm/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#span2
|
#span2
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a negative zero length value in millimeters." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a zero length value in millimeters." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a positive zero length value in millimeters." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,17 +5,19 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="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." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 25.4mm/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#span2
|
#span2
|
||||||
{
|
{
|
||||||
margin-left: 50.8mm;
|
margin-left: 25.4mm;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
@ -27,7 +29,7 @@
|
||||||
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div>
|
<div>
|
||||||
<span>x</span><span id="span2">x</span>
|
<span>x </span><span id="span2">x</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="test">x x</div>
|
<div id="test">x x</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,17 +5,19 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="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." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 25.4mm/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#span2
|
#span2
|
||||||
{
|
{
|
||||||
margin-left: 50.8mm;
|
margin-left: 25.4mm;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
@ -27,7 +29,7 @@
|
||||||
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div>
|
<div>
|
||||||
<span>x</span><span id="span2">x</span>
|
<span>x </span><span id="span2">x</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="test">x x</div>
|
<div id="test">x x</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a negative zero length value in inches." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a zero length value in inches." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a positive zero length value in inches." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,17 +5,19 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="Ensure that word-spacing 1in adds 1in (in addition to default spacing) between words in the element." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 2in/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#span2
|
#span2
|
||||||
{
|
{
|
||||||
margin-left: 3in;
|
margin-left: 1in;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
@ -27,7 +29,7 @@
|
||||||
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div>
|
<div>
|
||||||
<span>x</span><span id="span2">x</span>
|
<span>x </span><span id="span2">x</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="test">x x</div>
|
<div id="test">x x</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,17 +5,19 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="Ensure that word-spacing +1in adds 1in (in addition to default spacing) between words in the element." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 2in/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#span2
|
#span2
|
||||||
{
|
{
|
||||||
margin-left:3in;
|
margin-left: 1in;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
@ -27,7 +29,7 @@
|
||||||
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div>
|
<div>
|
||||||
<span>x</span><span id="span2">x</span>
|
<span>x </span><span id="span2">x</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="test">x x</div>
|
<div id="test">x x</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a negative zero length value in 'em' units." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a zero length value in 'em' units." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a positive zero length value in 'em' units." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="Ensure that word-spacing 6em adds 6em (in addition to default spacing) between words in the element." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
@ -15,7 +17,7 @@
|
||||||
}
|
}
|
||||||
#span2
|
#span2
|
||||||
{
|
{
|
||||||
margin-left: 112px;
|
margin-left: 6em;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
@ -27,7 +29,7 @@
|
||||||
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div>
|
<div>
|
||||||
<span>x</span><span id="span2">x</span>
|
<span>x </span><span id="span2">x</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="test">x x</div>
|
<div id="test">x x</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="Ensure that word-spacing +6em adds 6em (in addition to default spacing) between words in the element." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
@ -15,7 +17,7 @@
|
||||||
}
|
}
|
||||||
#span2
|
#span2
|
||||||
{
|
{
|
||||||
margin-left: 112px;
|
margin-left: 6em;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
@ -27,7 +29,7 @@
|
||||||
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div>
|
<div>
|
||||||
<span>x</span><span id="span2">x</span>
|
<span>x </span><span id="span2">x</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="test">x x</div>
|
<div id="test">x x</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a negative zero length value in 'ex' units." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a zero length value in 'ex' units." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property sets a positive zero length value in 'ex' units." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -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="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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="Ensure that word-spacing 12ex adds 12ex (in addition to default spacing) between words in the element." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 20px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#span2
|
#span2
|
||||||
{
|
{
|
||||||
margin-left: 212px;
|
margin-left: 12ex;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
@ -27,7 +29,7 @@
|
||||||
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div>
|
<div>
|
||||||
<span>x</span><span id="span2">x</span>
|
<span>x </span><span id="span2">x</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="test">x x</div>
|
<div id="test">x x</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,17 +5,19 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="Ensure that word-spacing +12ex adds 12ex (in addition to default spacing) between words in the element." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 20px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#span2
|
#span2
|
||||||
{
|
{
|
||||||
margin-left: 212px;
|
margin-left: 12ex;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
@ -27,7 +29,7 @@
|
||||||
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div>
|
<div>
|
||||||
<span>x</span><span id="span2">x</span>
|
<span>x </span><span id="span2">x</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="test">x x</div>
|
<div id="test">x x</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="Ensure that word-spacing -0 adds 0 (in addition to default spacing) between words in the element." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="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." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="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." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property set to normal does not change spacing between words." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
div
|
div
|
||||||
{
|
{
|
||||||
font: 24px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#test
|
#test
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,17 +5,19 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="Ensure that word-spacing with inherit uses its parents value for word-spacing." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#wrapper
|
#wrapper
|
||||||
{
|
{
|
||||||
font: 20px/1em Ahem;
|
font: 16px/1em Ahem;
|
||||||
}
|
}
|
||||||
#span2
|
#span2
|
||||||
{
|
{
|
||||||
margin-left: 212px;
|
margin-left: 12ex;
|
||||||
}
|
}
|
||||||
#parent
|
#parent
|
||||||
{
|
{
|
||||||
|
@ -32,7 +34,7 @@
|
||||||
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
<p>Test passes if there are only two boxes below (with no jagged edges).</p>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div>
|
<div>
|
||||||
<span>x</span><span id="span2">x</span>
|
<span>x </span><span id="span2">x</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="parent">
|
<div id="parent">
|
||||||
<div id="test">x x</div>
|
<div id="test">x x</div>
|
||||||
|
|
|
@ -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 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="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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property applies to 'display: inline' elements." />
|
<meta name="assert" content="The 'word-spacing' property applies to 'display: inline' elements." />
|
||||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property applies to 'display: block' elements." />
|
<meta name="assert" content="The 'word-spacing' property applies to 'display: block' elements." />
|
||||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -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 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="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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property applies to 'display: list-item' elements." />
|
<meta name="assert" content="The 'word-spacing' property applies to 'display: list-item' elements." />
|
||||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property applies to 'display: inline-block' elements." />
|
<meta name="assert" content="The 'word-spacing' property applies to 'display: inline-block' elements." />
|
||||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property applies to 'display: table' elements." />
|
<meta name="assert" content="The 'word-spacing' property applies to 'display: table' elements." />
|
||||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -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 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="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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property applies to 'display: inline-table' elements." />
|
<meta name="assert" content="The 'word-spacing' property applies to 'display: inline-table' elements." />
|
||||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property applies to 'display: table-row-group' elements." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property applies to 'display: table-header-group' elements." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property applies to 'display: table-footer-group' elements." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property applies to 'display: table-row' elements." />
|
<meta name="assert" content="The 'word-spacing' property applies to 'display: table-row' elements." />
|
||||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -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="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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property is not applied to 'display: table-column-group' elements." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property is not applied to 'display: table-column' elements." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property applies to 'display: table-cell' elements." />
|
<meta name="assert" content="The 'word-spacing' property applies to 'display: table-cell' elements." />
|
||||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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#propdef-word-spacing" />
|
||||||
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" />
|
<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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The 'word-spacing' property applies to 'display: table-caption' elements." />
|
<meta name="assert" content="The 'word-spacing' property applies to 'display: table-caption' elements." />
|
||||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -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> </p>
|
||||||
|
<p class="controlcontrol"> </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 <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><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-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 <span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span>B</span></p>
|
||||||
|
<p class="test"><span>A <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 <span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span>	B</span></p>
|
||||||
|
<p class="test"><span>A <span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span><span class="spacer"></span>	B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -5,6 +5,8 @@
|
||||||
<title>CSS Test: word-spacing on Flexible Space Characters</title>
|
<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="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="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="flags" content=""/>
|
||||||
<meta name="assert" content="Word-spacing affects each space (U+0020)
|
<meta name="assert" content="Word-spacing affects each space (U+0020)
|
||||||
and non-breaking space (U+00A0)."/>
|
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    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- EN QUAD -->
|
||||||
|
<div class="ws-normal">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- EM QUAD -->
|
||||||
|
<div class="ws-normal">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- EN SPACE -->
|
||||||
|
<div class="ws-normal">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- EM SPACE -->
|
||||||
|
<div class="ws-normal">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- THREE-PER-EM SPACE -->
|
||||||
|
<div class="ws-normal">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- FOUR-PER-EM SPACE -->
|
||||||
|
<div class="ws-normal">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- SIX-PER-EM SPACE -->
|
||||||
|
<div class="ws-normal">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- FIGURE SPACE -->
|
||||||
|
<div class="ws-normal">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- PUNCTUATION SPACE -->
|
||||||
|
<div class="ws-normal">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--THIN SPACE -->
|
||||||
|
<div class="ws-normal">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- HAIR SPACE -->
|
||||||
|
<div class="ws-normal">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- NARROW NO-BREAK SPACE -->
|
||||||
|
<div class="ws-normal">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- MEDIUM MATHEMATICAL SPACE -->
|
||||||
|
<div class="ws-normal">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>A    B</span></p>
|
||||||
|
<p class="test"><span>A    B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -5,6 +5,8 @@
|
||||||
<title>CSS Test: word-spacing on Fixed-Width Space Characters</title>
|
<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="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="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="flags" content=""/>
|
||||||
<meta name="assert" content="Word-spacing does not affect fixed-width spaces."/>
|
<meta name="assert" content="Word-spacing does not affect fixed-width spaces."/>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
@ -29,6 +31,7 @@
|
||||||
.ws-pre p {
|
.ws-pre p {
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
}
|
}
|
||||||
|
body > div { display: inline-block; } /* to avoid overflowing the screen. Non essential to the test. */
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<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​​​​B</span></p>
|
||||||
|
<p class="test"><span>A​​​​B</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>A​​​​B</span></p>
|
||||||
|
<p class="test"><span>A​​​​B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ZERO-WIDTH NO-BREAK SPACE -->
|
||||||
|
<div class="ws-normal">
|
||||||
|
<p class="control"><span>AB</span></p>
|
||||||
|
<p class="test"><span>AB</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>AB</span></p>
|
||||||
|
<p class="test"><span>AB</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ZERO-WIDTH NON-JOINER -->
|
||||||
|
<div class="ws-normal">
|
||||||
|
<p class="control"><span>A‌‌‌‌B</span></p>
|
||||||
|
<p class="test"><span>A‌‌‌‌B</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>A‌‌‌‌B</span></p>
|
||||||
|
<p class="test"><span>A‌‌‌‌B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ZERO-WIDTH JOINER -->
|
||||||
|
<div class="ws-normal">
|
||||||
|
<p class="control"><span>A‍‍‍‍B</span></p>
|
||||||
|
<p class="test"><span>A‍‍‍‍B</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="ws-pre">
|
||||||
|
<p class="control"><span>A‍‍‍‍B</span></p>
|
||||||
|
<p class="test"><span>A‍‍‍‍B</span></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -5,6 +5,8 @@
|
||||||
<title>CSS Test: word-spacing on Zero-Width Characters</title>
|
<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="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="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="flags" content=""/>
|
||||||
<meta name="assert" content="Word-spacing does not affect zero-width characters."/>
|
<meta name="assert" content="Word-spacing does not affect zero-width characters."/>
|
||||||
<style type="text/css">
|
<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 XXXXX XXXXX XXXXX</span>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -4,6 +4,10 @@
|
||||||
<title>CSS Test: Word-spacing and 'text-align: justify'</title>
|
<title>CSS Test: Word-spacing and 'text-align: justify'</title>
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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="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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The word spacing is changed when combined with 'text-align: justify'." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -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 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>
|
<title>CSS Test: Word-spacing and white space with multiple spaces</title>
|
||||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
<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="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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The white space processing removes spaces before 'word-spacing' is applied." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -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 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>
|
<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="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="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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The white space processing removes non-breaking space before 'word-spacing' is applied." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -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    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>
|
<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="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="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="flags" content="ahem" />
|
||||||
<meta name="assert" content="The white space processing removes ideographic space before 'word-spacing' is applied." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -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 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>
|
<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="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="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="flags" content="ahem" />
|
||||||
<meta name="assert" content="Any space left after white-space processing model occurs, has word-spacing applied to it." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -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 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>
|
<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="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="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="flags" content="ahem" />
|
||||||
<meta name="assert" content="Any non-breaking space left after white-space processing model occurs, has word-spacing applied to it." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
|
@ -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   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>
|
<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="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="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="flags" content="ahem" />
|
||||||
<meta name="assert" content="Any ideographic space left after white-space processing model occurs, has word-spacing applied to it." />
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||||
|
|
Загрузка…
Ссылка в новой задаче