haikuwebkit/LayoutTests/fast/borders/bidi-012.html

30 lines
1.4 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>The bidi algorithm and inlines in CSS</title>
<style type="text/css">
div p { float: left; clear: left; border: solid; margin: 1em; padding: 0.5em; background: #FFFFCC; color: black; }
.test { border: solid; padding: 0.4em 1em; line-height: 3em; }
.control { line-height: 3em; }
.control.start { border-style: solid none solid solid; padding: 0.4em 0 0.4em 1em; }
.control.end { border-style: solid solid solid none; padding: 0.4em 1em 0.4em 0; }
.a { color: navy; }
.b { color: orange; }
</style>
</head><body>
<p> The following two blocks should be identical, including overflow. (Force bidi: א) </p>
<div>
<p>
<span class="control a start">aaa&nbsp;bbb&nbsp;ccc&nbsp;&nbsp;ddd&nbsp;eee</span><br>
<span class="control a end">fff&nbsp;</span>ggg&nbsp;hhh&nbsp;iii&nbsp;<span class="control b start">jjj</span><br>
<span class="control b end">kkk&nbsp;lll&nbsp;mmm&nbsp;nnn&nbsp;ooo</span>
</p>
<p>
<span class="test a"> aaa bbb ccc eee ddd <br>
fff </span> ggg hhh iii <span class="test b"> jjj <br>
kkk lll mmm nnn ooo </span>
</p>
</div>
</body></html>