mirror of
https://github.com/servo/servo.git
synced 2025-07-10 00:43:39 +01:00
33 lines
No EOL
1.1 KiB
HTML
33 lines
No EOL
1.1 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||
<html>
|
||
<head>
|
||
<title>CSS Test: white-space-collapsing - discard - basic cases</title>
|
||
<link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp">
|
||
<link rel="help" title="CSS Text Level 3: 4.1. White Space Collapsing: the ‘white-space-collapsing’ property" href="http://www.w3.org/TR/css-text-3/#white-space-collapsing">
|
||
<link rel="match" href="reference/white-space-collapsing-discard-001-ref.htm">
|
||
<meta name="flags" content="">
|
||
<meta name="assert" content="The UA should discard all white space in the element when white-space-collapsing is set to discard.">
|
||
<style type="text/css">
|
||
|
||
.test span {
|
||
white-space-collapsing: discard;
|
||
}
|
||
/* the CSS below is not part of the test */
|
||
span {
|
||
color: Blue;
|
||
}
|
||
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<p>
|
||
Test passes if the first sentence matches the second one.
|
||
</p>
|
||
<div class="test">
|
||
<span>All White Space In The Element Should Be Discarded.</span>
|
||
</div>
|
||
<div class="control">
|
||
<span>AllWhiteSpaceInTheElementShouldBeDiscarded.</span>
|
||
</div>
|
||
</body>
|
||
</html> |