Update CSS tests to revision e102a993c37a2e0ebd549bc7d5548b006458ab34

This commit is contained in:
Ms2ger 2015-11-23 13:14:18 +01:00
parent 037cac7353
commit a00f2d6310
479 changed files with 13629 additions and 1611 deletions

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: GCPM String Leader</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#string-leader" rel="help">
@ -22,7 +23,7 @@ content: leader('~ ');
<blockquote>
<p class="run-in">“Towards thee I roll, thou all-destroying but unconquering whale; to the last I grapple with thee; from hell’s heart I stab at thee; for hate’s sake I spit my last breath at thee. Sink all coffins and all hearses to one common pool! and since neither can be mine, let me then tow to pieces, while still chasing thee, though tied to thee, thou damned whale! THUS, I give up the spear!â€&#65533;</p>
<p class="run-in">Towards thee I roll, thou all-destroying but unconquering whale; to the last I grapple with thee; from hells heart I stab at thee; for hates sake I spit my last breath at thee. Sink all coffins and all hearses to one common pool! and since neither can be mine, let me then tow to pieces, while still chasing thee, though tied to thee, thou damned whale! THUS, I give up the spear!</p>
<p class="source-rw">Ahab</p>
</blockquote>
@ -30,4 +31,5 @@ content: leader('~ ');
</body></html>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: GCPM string-set with string</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
@ -20,6 +21,7 @@
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if “hello, worldâ€&#65533; appears in the running head at the top of the page.</p>
<p>Test passes if “hello, world” appears in the running head at the top of the page.</p>
</body></html>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: GCPM String-set with content()</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
@ -20,6 +21,7 @@
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if “Chapter Titleâ€&#65533; appears in the running head at the top of the page.</p>
<p>Test passes if “Chapter Title” appears in the running head at the top of the page.</p>
</body></html>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: GCPM String-set with content(text)</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
@ -20,7 +21,8 @@
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if the text “Chapter Titleâ€&#65533; appears in the running head at the top of the page.</p>
<p>Test passes if the text “Chapter Title” appears in the running head at the top of the page.</p>
<!--AH errors out with content(text) rather than content()-->
</body></html>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: GCPM String-set with content(first-letter)</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
@ -20,6 +21,7 @@
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if “Câ€&#65533; appears in the running head at the top of the page.</p>
<p>Test passes if “C” appears in the running head at the top of the page.</p>
</body></html>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: GCPM String-set with counter(page)</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
@ -20,6 +21,7 @@
</head>
<body>
<h1>A</h1>
<p>Test passes if “1â€&#65533; appears in the running head at the top of the page.</p>
<p>Test passes if “1” appears in the running head at the top of the page.</p>
</body></html>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: GCPM string-set with content(before)</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
@ -25,6 +26,7 @@
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if “before-â€&#65533; appears in the running head at the top of the page.</p>
<p>Test passes if “before-” appears in the running head at the top of the page.</p>
</body></html>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: GCPM string-set with content(after)</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
@ -25,6 +26,7 @@
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if “-afterâ€&#65533; appears in the running head at the top of the page.</p>
<p>Test passes if “-after” appears in the running head at the top of the page.</p>
</body></html>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: GCPM string-set with multiple assignments</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
@ -26,6 +27,7 @@
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if “Chapter Titleâ€&#65533; appears in both the left and right running heads, and “Câ€&#65533; appears in the center running head.</p>
<p>Test passes if “Chapter Title” appears in both the left and right running heads, and “C” appears in the center running head.</p>
</body></html>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: GCPM string-set with page and pages counters</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
@ -21,6 +22,7 @@
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if “1 of 1â€&#65533; appears in the running head.</p>
<p>Test passes if “1 of 1” appears in the running head.</p>
</body></html>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: GCPM string-set on element with display: none</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
@ -24,6 +25,7 @@ display: none;
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if “Chapter Titleâ€&#65533; appears in the running head.</p>
<p>Test passes if “Chapter Title” appears in the running head.</p>
</body></html>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: GCPM string-set on element with display: none</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
@ -30,10 +31,10 @@ Note this test exposes a known bug in PrinceXML 9.0 rev 2 (and all previous vers
<p>Test passes if:</p>
<ol>
<li>
“Chapter One Titleâ€&#65533; appears in the running head on page one.
“Chapter One Title” appears in the running head on page one.
</li>
<li>
“Chapter Two Titleâ€&#65533; appears in the running head on page two.
“Chapter Two Title” appears in the running head on page two.
</li>
</ol>
@ -42,4 +43,5 @@ Note this test exposes a known bug in PrinceXML 9.0 rev 2 (and all previous vers
<p>Second Page</p>
</div>
</body></html>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: GCPM string-set to attribute value</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
@ -22,7 +23,8 @@
</head>
<body>
<h1 title="Hello, World">Chapter Title</h1>
<p>Test passes if running head text reads “Hello, Worldâ€&#65533;.
<p>Test passes if running head text reads “Hello, World”.

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: using 'first' property of named strings</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#string-first" rel="help">
@ -22,7 +23,7 @@
</style>
</head>
<body>
<p>Test passes if “Section Oneâ€&#65533; is in the running head at the top of the page.</p>
<p>Test passes if “Section One” is in the running head at the top of the page.</p>
<h2 id="s1">Section One</h2>
<h2 id="s2">Section Two</h2>
<h2 id="s3">Section Three</h2>
@ -30,4 +31,5 @@
<h2 id="s5">Section Five</h2>
<h2 id="s6">Section Six</h2>
</body></html>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: using the 'last' property of named strings</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#string-last" rel="help">
@ -27,4 +28,5 @@
<h2 id="s5">Section Five</h2>
<h2 id="s6">Section Six</h2>
</body></html>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: using 'start' property of named strings</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#string-start" rel="help">
@ -30,10 +31,10 @@
On page one, the running head is empty.
</li>
<li>
On page two, the running head is “Section Twoâ€&#65533;
On page two, the running head is “Section Two”
</li>
<li>
On page three, the running head is “Section Fourâ€&#65533;
On page three, the running head is “Section Four”
</li>
</ol>
<h2 id="s1">Section One</h2>
@ -55,4 +56,5 @@ Frankfurter prosciutto fatback beef ribs brisket, flank consectetur proident cup
<h2 id="s6">Section Six</h2>
<p>Ham hock jowl filet mignon pastrami beef turducken. Brisket pork chop pork loin drumstick capicola ground round shankle andouille leberkas tenderloin turducken chuck t-bone kevin turkey. Turkey brisket shank, cow pork belly strip steak bresaola chicken short ribs biltong. Kevin jowl meatloaf capicola t-bone ham brisket leberkas. Pork strip steak drumstick jerky, flank shankle capicola turkey spare ribs.</p>
</body></html>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: using 'first-except' property of named strings</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#string-first-except" rel="help">
@ -22,7 +23,7 @@
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if the running head is omitted on page one, and is “Chapter Titleâ€&#65533; on all other pages.</p>
<p>Test passes if the running head is omitted on page one, and is “Chapter Title” on all other pages.</p>
<h2 id="s1">Section One</h2>
<h2 id="s2">Section Two</h2>
<h2 id="s3">Section Three</h2>
@ -30,4 +31,5 @@
<h2 id="s5">Section Five</h2>
<h2 id="s6">Section Six</h2>
</body></html>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: using 'last' property of named strings</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#string-last" rel="help">
@ -24,13 +25,13 @@
<p>Note: test has three pages. Test passes if:</p>
<ol>
<li>
Running head on page one is “Section Oneâ€&#65533;
Running head on page one is “Section One”
</li>
<li>
Running head on page two is “Section Threeâ€&#65533;
Running head on page two is “Section Three”
</li>
<li>
Running head on page three is “Section Sixâ€&#65533;
Running head on page three is “Section Six”
</li>
</ol>
<h2 id="s1">Section One</h2>
@ -40,4 +41,5 @@ Running head on page three is “Section Six
<h2 id="s5">Section Five</h2>
<h2 id="s6">Section Six</h2>
</body></html>