mirror of
https://github.com/servo/servo
synced 2026-04-29 10:57:43 +02:00
40 lines
1.8 KiB
HTML
40 lines
1.8 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" lang="en">
|
|
<head>
|
|
<title>CSS Test: Absolutely positioned boxes in inlines: positioning at bottom right</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 abspos-inline-006"; }
|
|
@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-09-14 -->
|
|
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/absolute/inline/006.html" type="text/html"/>
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#comp-abspos"/>
|
|
|
|
<meta name="flags" content="interact"/>
|
|
|
|
<style type="text/css">
|
|
p { font: 1em monospace; }
|
|
.filler { color: silver; }
|
|
.absolute { color: white; background: green; position: absolute; bottom: 0; right: 0; }
|
|
.fail { color: yellow; background: red; }
|
|
.test { position: relative; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>
|
|
<span class="filler"> This is filler text. This is filler text. This is filler text. </span>
|
|
The test has <span class="test"><span class="absolute">PASSED</span><span class="fail">FAILED</span></span>.
|
|
<span class="filler"> This is filler text. This is filler text. This is filler text. </span>
|
|
</p>
|
|
|
|
<p>There should be no red after resizing viewport.</p>
|
|
|
|
<!-- the exception mentioned in tests 001 and 002 DOES NOT APPLY to this test. -->
|
|
</body>
|
|
</html> |