mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
31 lines
1.6 KiB
HTML
31 lines
1.6 KiB
HTML
<!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: CSS Inline Box Model: Wrapping Borders</title>
|
|
<style type="text/css">
|
|
@page { font: italic 8pt sans-serif; color: gray;
|
|
margin: 7%;
|
|
counter-increment: page;
|
|
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
|
|
@top-right { content: "Test inlines-003"; }
|
|
@bottom-right { content: counter(page); }
|
|
}
|
|
</style>
|
|
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
|
|
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"/> <!-- 2012-10-20 -->
|
|
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/inline/003.xml" type="application/xhtml+xml"/>
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-boxes"/>
|
|
<meta name="flags" content="interact"/>
|
|
<style type="text/css">
|
|
div { font: 2em/2 sans-serif; }
|
|
span { border: thick solid blue; padding: 0 1em; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Slowly resize the window, causing the text below to wrap into multiple
|
|
lines at different points in the text. At all points in time, each word
|
|
should be enclosed in an hollow blue rectangle and there should be no stray
|
|
pieces of blue rectangle anywhere else on the page.</p>
|
|
<div> <span>Resize</span> <span>the</span> <span>window</span> <span>so</span> <span>that</span> <span>this</span> <span>wraps</span> </div>
|
|
</body>
|
|
</html> |