Bug #: 5800
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Nov 2005 01:53:38 +0000 (01:53 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Nov 2005 01:53:38 +0000 (01:53 +0000)
Submitted by: mitz
Reviewed by: darin
        Test cases for http://bugzilla.opendarwin.org/show_bug.cgi?id=5800

        * fast/css/absolute-poition-in-rtl-parent-expected.checksum: Added.
        * fast/css/absolute-poition-in-rtl-parent-expected.png: Added.
        * fast/css/absolute-poition-in-rtl-parent-expected.txt: Added.
        * fast/css/absolute-poition-in-rtl-parent.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@11351 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/fast/css/absolute-poition-in-rtl-parent-expected.checksum [new file with mode: 0644]
LayoutTests/fast/css/absolute-poition-in-rtl-parent-expected.png [new file with mode: 0644]
LayoutTests/fast/css/absolute-poition-in-rtl-parent-expected.txt [new file with mode: 0644]
LayoutTests/fast/css/absolute-poition-in-rtl-parent.html [new file with mode: 0644]
LayoutTests/fast/text/international/bidi-AN-after-L-expected.checksum [new file with mode: 0644]
LayoutTests/fast/text/international/bidi-AN-after-L-expected.png [new file with mode: 0644]

index ca6a45da6906bf4b6eef6fa303e810cb86aa1bb2..752a836e5762b9539641ee984ea8cf743c657bb1 100644 (file)
@@ -1,3 +1,14 @@
+2005-11-29  Eric Seidel  <eseidel@apple.com>
+        Reviewed by darin.
+        Test cases for http://bugzilla.opendarwin.org/show_bug.cgi?id=5800
+        * fast/css/absolute-poition-in-rtl-parent-expected.checksum: Added.
+        * fast/css/absolute-poition-in-rtl-parent-expected.png: Added.
+        * fast/css/absolute-poition-in-rtl-parent-expected.txt: Added.
+        * fast/css/absolute-poition-in-rtl-parent.html: Added.
 2005-11-29  Darin Adler  <darin@apple.com>
         * dom/xhtml/level3/core/documentgetinputencoding01-expected.txt:
diff --git a/LayoutTests/fast/css/absolute-poition-in-rtl-parent-expected.checksum b/LayoutTests/fast/css/absolute-poition-in-rtl-parent-expected.checksum
new file mode 100644 (file)
index 0000000..fb00e26
--- /dev/null
@@ -0,0 +1 @@
\ No newline at end of file
diff --git a/LayoutTests/fast/css/absolute-poition-in-rtl-parent-expected.png b/LayoutTests/fast/css/absolute-poition-in-rtl-parent-expected.png
new file mode 100644 (file)
index 0000000..64c21c5
Binary files /dev/null and b/LayoutTests/fast/css/absolute-poition-in-rtl-parent-expected.png differ
diff --git a/LayoutTests/fast/css/absolute-poition-in-rtl-parent-expected.txt b/LayoutTests/fast/css/absolute-poition-in-rtl-parent-expected.txt
new file mode 100644 (file)
index 0000000..6dd0c5c
--- /dev/null
@@ -0,0 +1,35 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x576
+      RenderBlock {P} at (0,0) size 784x54
+        RenderText {TEXT} at (0,0) size 768x54
+          text run at (0,0) width 502: "On the left, you should see three blocks that are aligned left within a black box. "
+          text run at (502,0) width 266: "They should be stacked vertically with the"
+          text run at (0,18) width 248: "green box in between two olive boxes. "
+          text run at (248,18) width 502: "The olive boxes and the green box should be 100x100, and there should be 100"
+          text run at (0,36) width 322: "pixels of padding on the right side of the box stack."
+      RenderBlock {P} at (0,70) size 784x54
+        RenderText {TEXT} at (0,0) size 753x54
+          text run at (0,0) width 487: "On the right, you should see two blocks that are centered within a black box. "
+          text run at (487,0) width 266: "They should be stacked vertically with the"
+          text run at (0,18) width 747: "green box below the olive box. The olive box and the green box should be 100x100, and there should be 100 pixels of"
+          text run at (0,36) width 247: "padding on either side of the box stack."
+layer at (8,148) size 240x340
+  RenderBlock (positioned) {DIV} at (8,148) size 240x340 [border: (20px solid #000000)]
+    RenderTable {TABLE} at (20,20) size 100x100
+      RenderTableSection {TBODY} at (0,0) size 0x100
+        RenderTableRow {TR} at (0,0) size 0x0
+          RenderTableCell {TD} at (0,0) size 100x100 [r=0 c=0 rs=1 cs=1]
+            RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#808000]
+layer at (28,268) size 100x100
+  RenderBlock (positioned) {DIV} at (20,120) size 100x100 [bgcolor=#008000]
+layer at (28,368) size 100x100
+  RenderBlock (positioned) {DIV} at (20,220) size 100x100 [bgcolor=#808000]
+layer at (300,148) size 340x240
+  RenderBlock (positioned) {DIV} at (300,148) size 340x240 [border: (20px solid #000000)]
+    RenderBlock {DIV} at (20,20) size 200x100
+      RenderBlock {DIV} at (100,0) size 100x100 [bgcolor=#808000]
+layer at (420,268) size 100x100
+  RenderBlock (positioned) {DIV} at (120,120) size 100x100 [bgcolor=#008000]
diff --git a/LayoutTests/fast/css/absolute-poition-in-rtl-parent.html b/LayoutTests/fast/css/absolute-poition-in-rtl-parent.html
new file mode 100644 (file)
index 0000000..8f55c32
--- /dev/null
@@ -0,0 +1,32 @@
+On the left, you should see three blocks that are aligned left within a black box.  They should
+be stacked vertically with the green box in between two olive boxes.  The olive boxes and the green box
+should be 100x100, and there should be 100 pixels of padding on the right side of the box stack.
+On the right, you should see two blocks that are centered within a black box.  They should be
+stacked vertically with the green box below the olive box. The olive box and the green box should
+be 100x100, and there should be 100 pixels of padding on either side of the box stack.
+<div style="position:fixed;width:200px;height:300px;border:20px solid black;">
+<table style="direction:rtl; width:100px;" cellspacing="0" cellpadding="0">
+<div style="width:100px; height:100px; background:olive;"></div>
+<div style="position:absolute; width:100px; height:100px; background:green;"></div>
+<div style="position:absolute; width:100px; height:100px; background:olive; bottom:0; right:100px;"></div>
+<div style="position:fixed;width:300px;height:200px;border:20px solid black; left:300px;">
+<div style="direction:rtl; width:200px;">
+<div style="width:100px; height:100px; background:olive;"></div>
+<div style="position:absolute; width:100px; height:100px; background:green;"></div>
diff --git a/LayoutTests/fast/text/international/bidi-AN-after-L-expected.checksum b/LayoutTests/fast/text/international/bidi-AN-after-L-expected.checksum
new file mode 100644 (file)
index 0000000..ab5c5c8
--- /dev/null
@@ -0,0 +1 @@
\ No newline at end of file
diff --git a/LayoutTests/fast/text/international/bidi-AN-after-L-expected.png b/LayoutTests/fast/text/international/bidi-AN-after-L-expected.png
new file mode 100644 (file)
index 0000000..88d2850
Binary files /dev/null and b/LayoutTests/fast/text/international/bidi-AN-after-L-expected.png differ