Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef

This commit is contained in:
Ms2ger 2015-12-09 01:48:05 -05:00
parent 9aa1b1e408
commit 35c74aecc2
11290 changed files with 92400 additions and 49214 deletions

View file

@ -8,9 +8,9 @@
<meta content="paged" name="flags">
<meta content="Test checks that a basic dotted leader is implemented" name="assert">
<style>
span.cn::after { content: leader(dotted); }
</style>
</head>
<body>
@ -21,7 +21,7 @@ span.cn::after { content: leader(dotted); }
<li>
<span class="cn">Chapter One</span> <span class="folio">1</span>
</li>
<!--
<!--
<li>
Chapter Two <span class="folio">137</span>
</li>
@ -31,4 +31,5 @@ Chapter Two <span class="folio">137</span>
</body></html>

View file

@ -10,11 +10,11 @@
p.run-in { display: run-in; }
p.source-rw::before {
p.source-rw::before {
content: leader('~ ');
}
</style>
</head>
<body>

View file

@ -7,9 +7,9 @@
<meta content="paged" name="flags">
<meta content="Test checks that a basic solid leader is implemented" name="assert">
<style>
span.cn::after { content: leader(solid); }
</style>
</head>
<body>
@ -20,7 +20,7 @@ span.cn::after { content: leader(solid); }
<li>
<span class="cn">Chapter One</span> <span class="folio">1</span>
</li>
<!--
<!--
<li>
Chapter Two <span class="folio">137</span>
</li>
@ -30,4 +30,5 @@ Chapter Two <span class="folio">137</span>
</body></html>

View file

@ -10,12 +10,12 @@
<style type="text/css">
@page {
@top-center {
content: string(title);
content: string(title);
}
}
h1 {
string-set: title 'hello, world';
string-set: title 'hello, world';
}
</style>
</head>

View file

@ -10,12 +10,12 @@
<style>
@page {
@top-center {
content: string(title);
content: string(title);
}
}
h1 {
string-set: title content();
string-set: title content();
}
</style>
</head>

View file

@ -10,12 +10,12 @@
<style type="text/css">
@page {
@top-center {
content: string(title);
content: string(title);
}
}
h1 {
string-set: title content(text);
string-set: title content(text);
}
</style>
</head>

View file

@ -10,12 +10,12 @@
<style>
@page {
@top-center {
content: string(title);
content: string(title);
}
}
h1 {
string-set: title content(first-letter);
string-set: title content(first-letter);
}
</style>
</head>

View file

@ -10,12 +10,12 @@
<style>
@page {
@top-center {
content: string(title);
content: string(title);
}
}
h1 {
string-set: title counter(page);
string-set: title counter(page);
}
</style>
</head>

View file

@ -9,19 +9,19 @@
<style>
@page {
@top-center {
content: string(title);
content: string(title);
}
}
h1 {
string-set: title content(before);
string-set: title content(before);
}
h1::before {
content: 'before-';
}
</style>
</head>
<body>

View file

@ -9,19 +9,19 @@
<style>
@page {
@top-center {
content: string(title);
content: string(title);
}
}
h1 {
string-set: title content(after);
string-set: title content(after);
}
h1::after {
content: '-after';
}
</style>
</head>
<body>

View file

@ -9,20 +9,20 @@
<style>
@page {
@top-center {
content: string(center);
content: string(center);
}
@top-left {
content: string(left);
content: string(left);
}
@top-right {content:
string(right);
@top-right {content:
string(right);
}
}
h1 {
string-set: left content(), right content(), center content(first-letter);
string-set: left content(), right content(), center content(first-letter);
}
</style>
</head>
<body>

View file

@ -9,15 +9,15 @@
<style>
@page {
@top-center {
content: string(title);
content: string(title);
}
}
h1 {
string-set: title counter(page) ' of ' counter(pages);
string-set: title counter(page) ' of ' counter(pages);
}
</style>
</head>
<body>

View file

@ -9,18 +9,18 @@
<style>
@page {
@top-center {
content: string(title);
content: string(title);
}
}
h1 {
string-set: title content();
string-set: title content();
display: none;
}
</style>
</head>
<body>

View file

@ -12,17 +12,17 @@ Note this test exposes a known bug in PrinceXML 9.0 rev 2 (and all previous vers
<style>
@page {
@top-center {
content: string(title);
content: string(title);
}
}
h1 {
string-set: title content();
string-set: title content();
display: none;
}
#d2 { page-break-before: always; }
</style>
</head>
<body>

View file

@ -10,15 +10,15 @@
<style>
@page {
@top-center {
content: string(header);
content: string(header);
}
}
h1 {
string-set: header attr(title);
string-set: header attr(title);
}
</style>
</head>
<body>

View file

@ -9,17 +9,17 @@
<style>
@page {
@top-center {
content: string(section);
content: string(section);
}
}
h2 {
string-set: section content();
}
</style>
</head>
<body>

View file

@ -9,14 +9,14 @@
<style>
@page {
@top-center {
content: string(section, last);
content: string(section, last);
}
}
h2 {
string-set: section content();
}
</style>
</head>
<body>

View file

@ -9,17 +9,17 @@
<style>
@page {
@top-center {
content: string(section, start);
content: string(section, start);
}
}
h2 {
string-set: section content();
}
#s2 { page-break-before: always; }
#s4 { page-break-after: always; }
</style>
</head>
<body>

View file

@ -12,13 +12,13 @@
content: string(title, first-except);
}
}
h1 {
string-set: title content();
}
#s2, #s3, #s4 { page-break-before: always; }
</style>
</head>
<body>

View file

@ -12,13 +12,13 @@
content: string(title, last);
}
}
h2 {
string-set: title content();
}
#s2, #s4 { page-break-before: always; }
</style>
</head>
<body>