Skip to content

Commit

Permalink
Bug 1141931 part 9 - Reftest for ruby frames reordering. r=jfkthame
Browse files Browse the repository at this point in the history
--HG--
extra : source : 7a078551c85fa9a29109a2222634d66f7bcc7fac
  • Loading branch information
upsuper committed Apr 7, 2015
1 parent 8a236c4 commit e98d5b9
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 0 deletions.
38 changes: 38 additions & 0 deletions layout/reftests/css-ruby/bidi-2-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Bug 1141931 - Bidi reordering of ruby</title>
<link rel="stylesheet" href="common.css">
</head>
<body>
<p>
<ruby>
<rb>base1</rb><rb>base2</rb>
<rt>text1</rt><rt>text2</rt>
<rb>base4</rb><rb>base3</rb>
<rt>text4</rt><rt>text3</rt>
</ruby>
<ruby>
<rb>base7</rb><rb>base8</rb>
<rt>text7</rt><rt>text8</rt>
<rb>base6</rb><rb>base5</rb>
<rt>text6</rt><rt>text5</rt>
</ruby>
</p>
<p style="text-align: right">
<ruby>
<rb>base5</rb><rb>base6</rb>
<rt>text5</rt><rt>text6</rt>
<rb>base8</rb><rb>base7</rb>
<rt>text8</rt><rt>text7</rt>
</ruby>
<ruby>
<rb>base3</rb><rb>base4</rb>
<rt>text3</rt><rt>text4</rt>
<rb>base2</rb><rb>base1</rb>
<rt>text2</rt><rt>text1</rt>
</ruby>
</p>
</body>
</html>
50 changes: 50 additions & 0 deletions layout/reftests/css-ruby/bidi-2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Bug 1141931 - Bidi reordering of ruby</title>
<link rel="stylesheet" href="common.css">
</head>
<body>
<p>
<ruby>
<rb>base1</rb><rb>base2</rb>
<rtc dir="rtl">
<rt>text1</rt><rt>text2</rt>
</rtc>
<rbc dir="rtl">
<rb>base3</rb><rb>base4</rb>
</rbc>
<rt>text3</rt><rt>text4</rt>
</ruby>
<ruby dir="rtl">
<rb>base5</rb><rb>base6</rb>
<rt>text5</rt><rt>text6</rt>
<rbc dir="ltr">
<rb>base7</rb><rb>base8</rb>
</rbc>
<rt>text7</rt><rt>text8</rt>
</ruby>
</p>
<p dir="rtl">
<ruby>
<rb>base1</rb><rb>base2</rb>
<rtc dir="ltr">
<rt>text1</rt><rt>text2</rt>
</rtc>
<rbc dir="ltr">
<rb>base3</rb><rb>base4</rb>
</rbc>
<rt>text3</rt><rt>text4</rt>
</ruby>
<ruby dir="ltr">
<rb>base5</rb><rb>base6</rb>
<rt>text5</rt><rt>text6</rt>
<rbc dir="rtl">
<rb>base7</rb><rb>base8</rb>
</rbc>
<rt>text7</rt><rt>text8</rt>
</ruby>
</p>
</body>
</html>
1 change: 1 addition & 0 deletions layout/reftests/css-ruby/reftest.list
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
default-preferences pref(layout.css.ruby.enabled,true)

== bidi-1.html bidi-1-ref.html
== bidi-2.html bidi-2-ref.html
== box-generation-1.html box-generation-1-ref.html
== box-generation-2.html box-generation-2-ref.html
== box-generation-3.html box-generation-3-ref.html
Expand Down

0 comments on commit e98d5b9

Please sign in to comment.