RetroZilla/layout/html/tests/block/bugs/48653.html

15 lines
550 B
HTML
Raw Normal View History

2015-10-21 05:03:22 +02:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3c.org/TR/html4/strict.dtd">
<HTML>
<HEAD><TITLE>Bug 48653</TITLE></HEAD>
<BODY>
<h2>The following text is absolute positioned 20 pixels down from the red !</h2>
<p>
<span style="position:relative; color: red">RELATIVE 1
<span style="position:absolute; top:20px; border:solid 1px; color:black;">
This text is absolute-positioned and has top:20px. It should be offset by the width of the red text,
because it has a default value for "left" of "auto."
</span>
</span>
</p>
</BODY></HTML>