blob: 363b31f264d9581c775b9836a8b1e11bd529062a [file] [log] [blame]
<html>
<head>
<!-- An absolute-positioned inline element, with no leading text, should still obey the alignment of its parent block.
'Hello World, And Stuff!' should be aligned 150 pixels to the left of the center.
https://bugs.webkit.org/show_bug.cgi?id=4860-->
</head>
<body style="width: 800px;">
<div align="center" style="direction: rtl;">
<font style="font-size:24px; font-variant:small-caps;letter-spacing:2px; position:absolute; bottom:10px;">RTL-Center-Aligned</font>
</div>
<div align="left" style="direction: rtl;">
<font style="font-size:24px; font-variant:small-caps;letter-spacing:2px; position:absolute; bottom:50px;">RTL-Left-Aligned</font>
</div>
<div align="right" style="direction: rtl;">
<font style="font-size:24px; font-variant:small-caps;letter-spacing:2px; position:absolute; bottom:100px;">RTL-Right-Aligned</font>
</div>
<div style="direction: rtl;">
<font style="font-size:24px; font-variant:small-caps;letter-spacing:2px; position:absolute; bottom:150px;">RTL-No-Aligned</font>
</div>
<div align="center" style="direction: ltr;">
<font style="font-size:24px; font-variant:small-caps;letter-spacing:2px; position:absolute; bottom:200px;">LTR-Center-Aligned</font>
</div>
<div align="left" style="direction: ltr;">
<font style="font-size:24px; font-variant:small-caps;letter-spacing:2px; position:absolute; bottom:250px;">LTR-Left-Aligned</font>
</div>
<div align="right" style="direction: ltr;">
<font style="font-size:24px; font-variant:small-caps;letter-spacing:2px; position:absolute; bottom:300px;">LTR-Right-Aligned</font>
</div>
<div style="direction: ltr;">
<font style="font-size:24px; font-variant:small-caps;letter-spacing:2px; position:absolute; bottom:350px;">LTR-No-Aligned</font>
</div>
</body></html>