зеркало из https://github.com/mozilla/gecko-dev.git
Tests for bug 746987. r=smontagu, roc
This commit is contained in:
Родитель
eaa1af326d
Коммит
6ba2a816d5
|
@ -0,0 +1,10 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>unicode-bidi:plaintext on inline</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>[<span dir="rtl">:-) א</span>‎]: 100</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,17 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<style>
|
||||||
|
.plaintext {
|
||||||
|
unicode-bidi: -moz-plaintext;
|
||||||
|
unicode-bidi: -webkit-plaintext;
|
||||||
|
unicode-bidi: plaintext;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<title>unicode-bidi:plaintext on inline</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>[<span class="plaintext">:-) א</span>]: 100</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,24 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
font-size:2em;
|
||||||
|
text-align:left;
|
||||||
|
}
|
||||||
|
.ref {
|
||||||
|
border: medium solid gray;
|
||||||
|
padding: 10px;
|
||||||
|
width: 400px;
|
||||||
|
margin: 20px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<title>unicode-bidi:plaintext on inline with paragraph breaks</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="ref">
|
||||||
|
a-><br/>א->‏<br/>a-><br/>א->‏
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,29 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
font-size:2em;
|
||||||
|
text-align:left;
|
||||||
|
}
|
||||||
|
.test {
|
||||||
|
border: medium solid gray;
|
||||||
|
padding: 10px;
|
||||||
|
width: 400px;
|
||||||
|
margin: 20px;
|
||||||
|
}
|
||||||
|
.plaintext {
|
||||||
|
unicode-bidi: -moz-plaintext;
|
||||||
|
unicode-bidi: -webkit-plaintext;
|
||||||
|
unicode-bidi: plaintext;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<title>unicode-bidi:plaintext on inline with paragraph breaks</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="test">
|
||||||
|
<span class="plaintext">a-><br/>א-><br/>a-><br/>א-></span>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,25 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
font-size:2em;
|
||||||
|
text-align:left;
|
||||||
|
}
|
||||||
|
.ref {
|
||||||
|
border: medium solid gray;
|
||||||
|
padding: 10px;
|
||||||
|
width: 400px;
|
||||||
|
margin: 20px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<title>unicode-bidi:plaintext does not apply to embedded unicode-bidi:isolate</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="ref">
|
||||||
|
א->=>‎
|
||||||
|
<span dir="rtl">ב->=></span>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,35 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
font-size:2em;
|
||||||
|
text-align:left;
|
||||||
|
}
|
||||||
|
.test {
|
||||||
|
border: medium solid gray;
|
||||||
|
padding: 10px;
|
||||||
|
width: 400px;
|
||||||
|
margin: 20px;
|
||||||
|
}
|
||||||
|
.plaintext {
|
||||||
|
unicode-bidi: -moz-plaintext;
|
||||||
|
unicode-bidi: -webkit-plaintext;
|
||||||
|
unicode-bidi: plaintext;
|
||||||
|
}
|
||||||
|
.isolate {
|
||||||
|
unicode-bidi: -moz-isolate;
|
||||||
|
unicode-bidi: -webkit-isolate;
|
||||||
|
unicode-bidi: isolate;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<title>unicode-bidi:plaintext does not apply to embedded unicode-bidi:isolate</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="test">
|
||||||
|
<span class="plaintext"><span class="isolate">א-></span>=></span>
|
||||||
|
<span class="plaintext"><span>ב-></span>=></span>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,24 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
font-size:2em;
|
||||||
|
text-align:left;
|
||||||
|
}
|
||||||
|
.ref {
|
||||||
|
border: medium solid gray;
|
||||||
|
padding: 10px;
|
||||||
|
width: 400px;
|
||||||
|
margin: 20px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<title>unicode-bidi:plaintext does not apply to embedded display:block</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="ref">
|
||||||
|
א->‏<br/>א-><br/>a-><br/>א-><br/>א->‏
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,35 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
font-size:2em;
|
||||||
|
text-align:left;
|
||||||
|
}
|
||||||
|
.test {
|
||||||
|
border: medium solid gray;
|
||||||
|
padding: 10px;
|
||||||
|
width: 400px;
|
||||||
|
margin: 20px;
|
||||||
|
}
|
||||||
|
.plaintext {
|
||||||
|
unicode-bidi: -moz-plaintext;
|
||||||
|
unicode-bidi: -webkit-plaintext;
|
||||||
|
unicode-bidi: plaintext;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<title>unicode-bidi:plaintext does not apply to embedded display:block</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="test">
|
||||||
|
<div class="plaintext">
|
||||||
|
א->
|
||||||
|
<div>א-></div>
|
||||||
|
a->
|
||||||
|
<div>א-></div>
|
||||||
|
א->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -112,3 +112,7 @@ fails-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)&&!layersGPUAccelerated) == 61
|
||||||
== 726460-1.html 726460-1-ref.html
|
== 726460-1.html 726460-1-ref.html
|
||||||
== 729047-1.html 729047-1-ref.html
|
== 729047-1.html 729047-1-ref.html
|
||||||
== 730562-1.html 730562-1-ref.html
|
== 730562-1.html 730562-1-ref.html
|
||||||
|
== 746987-1.html 746987-1-ref.html
|
||||||
|
== 746987-2.html 746987-2-ref.html
|
||||||
|
== 746987-3.html 746987-3-ref.html
|
||||||
|
== 746987-4.html 746987-4-ref.html
|
||||||
|
|
Загрузка…
Ссылка в новой задаче