servo/tests/wpt/css-tests/css-text-3_dev/xhtml1print/reference/white-space-collapsing-preserve-breaks-001-ref.xht

40 lines
No EOL
1.3 KiB
HTML

<!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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CSS Test: white-space-collapsing - preserve-breaks - basic cases Reftest Reference</title>
<style type="text/css">
@page { font: italic 8pt sans-serif; color: gray;
margin: 7%;
counter-increment: page;
@top-left { content: "CSS Text Module Level 3 CR Test Suite"; }
@top-right { content: "Test white-space-collapsing-preserve-breaks-001-ref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
<style type="text/css">
<![CDATA[
span {
color: Blue;
}
]]>
</style>
</head>
<body>
<p>
Test passes if the first two sentences matches the second one.
</p>
<p>
<span>
Sequences of white space should collapse into a single character.<br />
But segment breaks as forced line breaks are preserved.
</span>
</p>
<p>
<span>
Sequences of white space should collapse into a single character.<br />
But segment breaks as forced line breaks are preserved.
</span>
</p>
</body>
</html>