mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
30 lines
No EOL
1.1 KiB
HTML
30 lines
No EOL
1.1 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>
|
|
<title>CSS Test: Run-in that starts with a run-in</title>
|
|
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#run-in" />
|
|
<meta name="flags" content="" />
|
|
<meta name="assert" content="Run-in boxes cannot run-in with another box that already starts with a run-in." />
|
|
<style type="text/css">
|
|
span
|
|
{
|
|
display: run-in;
|
|
}
|
|
span span
|
|
{
|
|
background: orange;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if words "Filler Text" are on three separate lines and the orange box in the middle spans the entire width of the page.</p>
|
|
<div>
|
|
<span id="span1">
|
|
Filler Text
|
|
<span>Filler Text</span>
|
|
Filler Text
|
|
</span>
|
|
</div>
|
|
</body>
|
|
</html> |