mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Tests for bug 267459
This commit is contained in:
parent
572c7a7fc9
commit
e38251afc0
24
layout/reftests/bidi/267459-1-ref.html
Normal file
24
layout/reftests/bidi/267459-1-ref.html
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test unicode-bidi in form controls</title>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<p dir="rtl">‮This paragraph should appear backwards‬</p>
|
||||
<p>
|
||||
<textarea rows="3" cols="80" dir="rtl" >‮This textarea should appear backwards‬</textarea><br>
|
||||
<input type="text" size="80" dir="rtl" value="‮This input should appear backwards‬"><br>
|
||||
<input type="button" dir="rtl" value="‮This button should appear backwards‬"><br>
|
||||
<select dir="rtl" size="6">
|
||||
<option selected>‮This‬</option>
|
||||
<optgroup label="‮select‬">
|
||||
<option>‮should‬</option>
|
||||
<option>‮appear‬</option>
|
||||
</optgroup>
|
||||
<optgroup label="‮backwards‬">
|
||||
<option>‮throughout‬</option>
|
||||
</optgroup>
|
||||
</select><br>
|
||||
</body>
|
||||
</html>
|
30
layout/reftests/bidi/267459-1.html
Normal file
30
layout/reftests/bidi/267459-1.html
Normal file
@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test unicode-bidi in form controls</title>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
||||
<style type="text/css">
|
||||
.reversed {
|
||||
direction: rtl;
|
||||
unicode-bidi: bidi-override;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="reversed">This paragraph should appear backwards</p>
|
||||
<p>
|
||||
<textarea class="reversed" rows="3" cols="80">This textarea should appear backwards</textarea><br>
|
||||
<input class="reversed" type="text" size="80" value="This input should appear backwards"><br>
|
||||
<input class="reversed" type="button" value="This button should appear backwards"><br>
|
||||
<select size="6" class="reversed">
|
||||
<option selected class="reversed">This</option>
|
||||
<optgroup class="reversed" label="select">
|
||||
<option class="reversed">should</option>
|
||||
<option class="reversed">appear</option>
|
||||
</optgroup>
|
||||
<optgroup class="reversed" label="backwards">
|
||||
<option class="reversed">throughout</option>
|
||||
</optgroup>
|
||||
</select><br>
|
||||
</body>
|
||||
</html>
|
24
layout/reftests/bidi/267459-2-ref.html
Normal file
24
layout/reftests/bidi/267459-2-ref.html
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test unicode-bidi in form controls</title>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-8-i">
|
||||
</head>
|
||||
<body>
|
||||
<p>‭ôéñ÷ä æå àîåøä ìäéåú äôåëä‬</p>
|
||||
<p>
|
||||
<textarea rows="3" cols="80">ùåøä æå ìà àîåøä ìäéåú äôåëä</textarea><br>
|
||||
<input type="text" size="80" value="ùåøä æå ìà àîåøä ìäéåú äôåëä"><br>
|
||||
<input type="button" value="ùåøä æå ìà àîåøä ìäéåú äôåëä"><br>
|
||||
<select size="6">
|
||||
<option selected>ùåøåú</option>
|
||||
<optgroup label="àìä">
|
||||
<option>ìà</option>
|
||||
<option>àîåøåú</option>
|
||||
</optgroup>
|
||||
<optgroup label="ìäéåú">
|
||||
<option>äôåëåú</option>
|
||||
</optgroup>
|
||||
</select><br>
|
||||
</body>
|
||||
</html>
|
24
layout/reftests/bidi/267459-2.html
Normal file
24
layout/reftests/bidi/267459-2.html
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test unicode-bidi in form controls</title>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-8">
|
||||
</head>
|
||||
<body>
|
||||
<p>ôéñ÷ä æå àîåøä ìäéåú äôåëä</p>
|
||||
<p>
|
||||
<textarea rows="3" cols="80">ùåøä æå ìà àîåøä ìäéåú äôåëä</textarea><br>
|
||||
<input type="text" size="80" value="ùåøä æå ìà àîåøä ìäéåú äôåëä"><br>
|
||||
<input type="button" value="ùåøä æå ìà àîåøä ìäéåú äôåëä"><br>
|
||||
<select size="6">
|
||||
<option selected>ùåøåú</option>
|
||||
<optgroup label="àìä">
|
||||
<option>ìà</option>
|
||||
<option>àîåøåú</option>
|
||||
</optgroup>
|
||||
<optgroup label="ìäéåú">
|
||||
<option>äôåëåú</option>
|
||||
</optgroup>
|
||||
</select><br>
|
||||
</body>
|
||||
</html>
|
@ -28,6 +28,8 @@ random-if(MOZ_WIDGET_TOOLKIT=="gtk2") == mixedChartype-03-j.html mixedChartype-0
|
||||
== 115921-1.html 115921-1-ref.html
|
||||
== 115921-2.html 115921-2-ref.html
|
||||
== 258928-1.html 258928-1-ref.html
|
||||
== 267459-1.html 267459-1-ref.html
|
||||
== 267459-2.html 267459-2-ref.html
|
||||
== 299065-1.html 299065-1-ref.html
|
||||
== 305643-1.html 305643-1-ref.html
|
||||
== 332655-1.html 332655-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user