tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

white-space-collapse-discard-001.xht (1251B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4 	<head>
      5 		<title>CSS Test: white-space-collapse - discard - basic cases</title>
      6 		<link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
      7 		<link rel="help" title="CSS Text Level 4: 3.1. White Space Collapsing: the ‘white-space-collapse’ property" href="https://drafts.csswg.org/css-text-4/#white-space-collapsing" />
      8 		<link rel="match" href="reference/white-space-collapse-discard-001-ref.xht"/>
      9 		<meta name="assert" content="The UA should discard all white space in the element when white-space-collapse is set to discard." />
     10 		<style type="text/css">
     11 			<![CDATA[
     12 				.test span {
     13 					white-space-collapse: discard;
     14 				}
     15 				/* the CSS below is not part of the test */
     16 				span {
     17 					color: Blue;
     18 				}
     19 			]]>
     20 		</style>
     21 	</head>
     22 	<body>
     23 		<p>
     24 			Test passes if the first sentence matches the second one.
     25 		</p>
     26 		<div class="test">
     27 			<span>All White Space In The Element Should Be Discarded.</span>
     28 		</div>
     29 		<div class="control">
     30 			<span>AllWhiteSpaceInTheElementShouldBeDiscarded.</span>
     31 		</div>
     32 	</body>
     33 </html>