mirror of
https://github.com/servo/servo.git
synced 2025-08-25 15:18:22 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
|
@ -0,0 +1,59 @@
|
|||
<!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>CSS Test: orphans property syntax - one</title>
|
||||
<style type="text/css">
|
||||
@page { font: italic 8pt sans-serif; color: gray;
|
||||
margin: 7%;
|
||||
counter-increment: page;
|
||||
@top-left { content: "CSS Paged Media Module Level 3 CR Test Suite"; }
|
||||
@top-right { content: "Test orphans-004b"; }
|
||||
@bottom-right { content: counter(page); }
|
||||
}
|
||||
</style>
|
||||
<link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com"/>
|
||||
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/page.html#break-inside"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-page/#breaks-inside"/>
|
||||
<meta name="flags" content="invalid paged"/>
|
||||
<meta name="assert" content="The 'orphans' property accepts the integer one."/>
|
||||
<style type="text/css">
|
||||
html, body {
|
||||
height: 100%;
|
||||
line-height: 1;
|
||||
font-size: 20px;
|
||||
}
|
||||
* {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
div.spacer {
|
||||
height:50%;
|
||||
}
|
||||
div.backup {
|
||||
margin-top: -1.5em;
|
||||
}
|
||||
|
||||
.test {
|
||||
color: blue;
|
||||
width: 1em;
|
||||
orphans: 2;
|
||||
orphans: 01;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="spacer">This test requires 2 pages. The blue text must
|
||||
denote accurate page numbers. Line A must appear on this page;
|
||||
lines B-D on the next.</div>
|
||||
|
||||
<div class="spacer backup"/>
|
||||
<div class="test">
|
||||
Page 1 Line A
|
||||
Page 2 Line B
|
||||
Page 2 Line C
|
||||
Page 2 Line D
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue