Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: timelapse
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (34 sloc) 1.074 kb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Test drop-down item's alignment in <select>/<option></title>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8">
</head>
<body>
<p>
select drop-down items' alignment should be determined by the directionality of
&lt;select&gt; tag.
<p>
The drop-down items in the following &lt;select&gt; should be left-aligned.
<br>
<select>
<option>abc def</option>
<option>שנב גקכ</option>
<option dir="rtl">abc שנב def</option>
<option dir="ltr">שנב abc גקכ</option>
<option dir="rtl">hi!</option>
<option dir="ltr">hi!</option>
</select>
<br>
The drop-down items in the second &lt;select&gt; should be right-aligned.
<p>
<select dir="rtl">
<option>abc def</option>
<option>שנב גקכ</option>
<option dir="rtl">abc שנב def</option>
<option dir="ltr">שנב abc גקכ</option>
<option dir="rtl">hi!</option>
<option dir="ltr">hi!</option>
</select>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.