[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:12:10 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 739af41272cfd2eda808d1cc86b23601db488b21
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Nov 16 20:51:28 2003 +0000

    Add new tests for float displacement.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5515 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/fast/block/float/025-expected.txt b/LayoutTests/fast/block/float/025-expected.txt
new file mode 100644
index 0000000..78a6189
--- /dev/null
+++ b/LayoutTests/fast/block/float/025-expected.txt
@@ -0,0 +1,62 @@
+layer at (0,0) size 800x1440
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x1440
+  RenderBlock {HTML} at (0,0) size 800x1440
+    RenderBody {BODY} at (8,8) size 784x1424
+      RenderBlock {DIV} at (0,0) size 784x200
+        RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderTable {TABLE} at (200,0) size 584x46
+          RenderTableSection {TBODY} at (2,2) size 0x42
+            RenderTableRow {TR} at (0,0) size 0x0
+              RenderTableCell {TD} at (2,2) size 576x38 [r=0 c=0 rs=1 cs=1]
+                RenderText {TEXT} at (1,1) size 552x36
+                  text run at (1,1) width 552: "This is a table. It should sit on the same line as the float and wrap as needed to fit within"
+                  text run at (1,19) width 157: "the remaining line width."
+      RenderBlock {DIV} at (0,200) size 784x200
+        RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,412) size 784x200
+        RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderBlock {HR} at (200,0) size 584x2
+      RenderBlock {DIV} at (0,612) size 784x200
+        RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderTable {TABLE} at (200,0) size 392x46
+          RenderTableSection {TBODY} at (2,2) size 0x42
+            RenderTableRow {TR} at (0,0) size 0x0
+              RenderTableCell {TD} at (2,2) size 384x38 [r=0 c=0 rs=1 cs=1]
+                RenderText {TEXT} at (1,1) size 373x36
+                  text run at (1,1) width 373: "This is a table. It should sit on the same line as the float and"
+                  text run at (1,19) width 336: "wrap as needed to fit within the remaining line width."
+      RenderBlock {DIV} at (0,812) size 784x200
+        RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,1024) size 784x200
+        RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderBlock {HR} at (200,0) size 294x2
+      RenderBlock {DIV} at (0,1224) size 784x200
+        RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderImage {IMG} at (200,0) size 292x50 [bgcolor=#008000]
+layer at (208,208) size 584x55 clip at (210,210) size 565x36
+  RenderBlock {DIV} at (200,0) size 584x55
+    RenderText {TEXT} at (2,2) size 543x36
+      text run at (2,2) width 543: "This is an overflow:scroll region. It should sit on the same line as the float and wrap as"
+      text run at (2,20) width 283: "needed to fit within the remaining line width."
+layer at (208,820) size 296x91 clip at (210,822) size 277x72
+  RenderBlock {DIV} at (200,0) size 296x91
+    RenderText {TEXT} at (2,2) size 272x72
+      text run at (2,2) width 267: "This is an overflow:scroll region. It should"
+      text run at (2,20) width 272: "sit on the same line as the float and wrap as"
+      text run at (2,38) width 239: "needed to fit within the remaining line"
+      text run at (2,56) width 40: "width."
diff --git a/LayoutTests/fast/block/float/025.html b/LayoutTests/fast/block/float/025.html
new file mode 100644
index 0000000..fadd6b1
--- /dev/null
+++ b/LayoutTests/fast/block/float/025.html
@@ -0,0 +1,74 @@
+<html>
+<head>
+<style>
+.float {
+  width:200px;
+  height:200px;
+  background-color:red;
+  float:left;
+}
+
+.container {
+  height:200px;
+}
+
+.pct { width:50%; }
+
+table { border:2px solid green; }
+
+img { display: block; height:50px; background-color: green }
+
+.overflow { border:2px solid blue; overflow:scroll }
+</style>
+</head>
+
+<body>
+
+<div class="container">
+<div class="float"></div>
+<table>
+<tr><td>This is a table. It should sit on the same line as the float and wrap as needed to fit
+within the remaining line width.
+</table>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<div class="overflow">
+This is an overflow:scroll region. It should sit on the same line as the float and wrap as needed to fit
+within the remaining line width.
+</div>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<hr>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<table class="pct">
+<tr><td>This is a table. It should sit on the same line as the float and wrap as needed to fit
+within the remaining line width.
+</table>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<div class="overflow pct">
+This is an overflow:scroll region. It should sit on the same line as the float and wrap as needed to fit
+within the remaining line width.
+</div>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<hr class="pct" align=left>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<img class="pct">
+</div>
+
+</div>
diff --git a/LayoutTests/fast/block/float/026-expected.txt b/LayoutTests/fast/block/float/026-expected.txt
new file mode 100644
index 0000000..ad1bd7d
--- /dev/null
+++ b/LayoutTests/fast/block/float/026-expected.txt
@@ -0,0 +1,66 @@
+layer at (0,0) size 800x1440
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x1440
+  RenderBlock {HTML} at (0,0) size 800x1440
+    RenderBody {BODY} at (8,8) size 784x1424
+      RenderBlock {DIV} at (0,0) size 784x200
+        RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderTable {TABLE} at (0,0) size 584x46
+          RenderTableSection {TBODY} at (2,2) size 0x42
+            RenderTableRow {TR} at (0,0) size 0x0
+              RenderTableCell {TD} at (2,2) size 576x38 [r=0 c=0 rs=1 cs=1]
+                RenderText {TEXT} at (23,1) size 552x36
+                  text run at (23,1) width 552: "This is a table. It should sit on the same line as the float and wrap as needed to fit within"
+                  text run at (418,19) width 4: "."
+                  text run at (422,19) width 153: "the remaining line width"
+      RenderBlock {DIV} at (0,200) size 784x200
+        RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,412) size 784x200
+        RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderBlock {HR} at (0,0) size 584x2
+      RenderBlock {DIV} at (0,612) size 784x200
+        RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderTable {TABLE} at (192,0) size 392x46
+          RenderTableSection {TBODY} at (2,2) size 0x42
+            RenderTableRow {TR} at (0,0) size 0x0
+              RenderTableCell {TD} at (2,2) size 384x38 [r=0 c=0 rs=1 cs=1]
+                RenderText {TEXT} at (10,1) size 373x36
+                  text run at (10,1) width 373: "This is a table. It should sit on the same line as the float and"
+                  text run at (47,19) width 4: "."
+                  text run at (51,19) width 332: "wrap as needed to fit within the remaining line width"
+      RenderBlock {DIV} at (0,812) size 784x200
+        RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,1024) size 784x200
+        RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderBlock {HR} at (290,0) size 294x2
+      RenderBlock {DIV} at (0,1224) size 784x200
+        RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderImage {IMG} at (292,0) size 292x50 [bgcolor=#008000]
+layer at (8,208) size 584x55 clip at (10,210) size 565x36
+  RenderBlock {DIV} at (0,0) size 584x55
+    RenderText {TEXT} at (24,2) size 543x36
+      text run at (24,2) width 543: "This is an overflow:scroll region. It should sit on the same line as the float and wrap as"
+      text run at (284,20) width 4: "."
+      text run at (288,20) width 279: "needed to fit within the remaining line width"
+layer at (296,820) size 296x91 clip at (298,822) size 277x72
+  RenderBlock {DIV} at (288,0) size 296x91
+    RenderText {TEXT} at (12,2) size 272x72
+      text run at (12,2) width 267: "This is an overflow:scroll region. It should"
+      text run at (7,20) width 272: "sit on the same line as the float and wrap as"
+      text run at (40,38) width 239: "needed to fit within the remaining line"
+      text run at (239,56) width 4: "."
+      text run at (243,56) width 36: "width"
diff --git a/LayoutTests/fast/block/float/026.html b/LayoutTests/fast/block/float/026.html
new file mode 100644
index 0000000..2517aef
--- /dev/null
+++ b/LayoutTests/fast/block/float/026.html
@@ -0,0 +1,78 @@
+<html>
+<head>
+<style>
+body {
+  direction: rtl;
+}
+
+.float {
+  width:200px;
+  height:200px;
+  background-color:red;
+  float:right;
+}
+
+.container {
+  height:200px;
+}
+
+.pct { width:50%; }
+
+table { border:2px solid green; }
+
+img { display: block; height:50px; background-color: green }
+
+.overflow { border:2px solid blue; overflow:scroll }
+</style>
+</head>
+
+<body>
+
+<div class="container">
+<div class="float"></div>
+<table>
+<tr><td>This is a table. It should sit on the same line as the float and wrap as needed to fit
+within the remaining line width.
+</table>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<div class="overflow">
+This is an overflow:scroll region. It should sit on the same line as the float and wrap as needed to fit
+within the remaining line width.
+</div>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<hr>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<table class="pct">
+<tr><td>This is a table. It should sit on the same line as the float and wrap as needed to fit
+within the remaining line width.
+</table>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<div class="overflow pct">
+This is an overflow:scroll region. It should sit on the same line as the float and wrap as needed to fit
+within the remaining line width.
+</div>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<hr class="pct" align=right>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<img class="pct">
+</div>
+
+</div>
diff --git a/LayoutTests/fast/block/float/027-expected.txt b/LayoutTests/fast/block/float/027-expected.txt
new file mode 100644
index 0000000..773f618
--- /dev/null
+++ b/LayoutTests/fast/block/float/027-expected.txt
@@ -0,0 +1,61 @@
+layer at (0,0) size 800x1440
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x1440
+  RenderBlock {HTML} at (0,0) size 800x1440
+    RenderBody {BODY} at (8,8) size 784x1424
+      RenderBlock {DIV} at (0,0) size 784x200
+        RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderTable {TABLE} at (200,0) size 584x46
+          RenderTableSection {TBODY} at (2,2) size 0x42
+            RenderTableRow {TR} at (0,0) size 0x0
+              RenderTableCell {TD} at (2,2) size 576x38 [r=0 c=0 rs=1 cs=1]
+                RenderText {TEXT} at (1,1) size 552x36
+                  text run at (1,1) width 552: "This is a table. It should sit on the same line as the float and wrap as needed to fit within"
+                  text run at (1,19) width 157: "the remaining line width."
+      RenderBlock {DIV} at (0,200) size 784x200
+        RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,412) size 784x200
+        RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderBlock {HR} at (200,0) size 584x2
+      RenderBlock {DIV} at (0,612) size 784x200
+        RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderTable {TABLE} at (200,0) size 392x46
+          RenderTableSection {TBODY} at (2,2) size 0x42
+            RenderTableRow {TR} at (0,0) size 0x0
+              RenderTableCell {TD} at (2,2) size 384x38 [r=0 c=0 rs=1 cs=1]
+                RenderText {TEXT} at (1,1) size 373x36
+                  text run at (1,1) width 373: "This is a table. It should sit on the same line as the float and"
+                  text run at (1,19) width 336: "wrap as needed to fit within the remaining line width."
+      RenderBlock {DIV} at (0,812) size 784x200
+        RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,1024) size 784x200
+        RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderBlock {HR} at (200,0) size 294x2
+      RenderBlock {DIV} at (0,1224) size 784x200
+        RenderBlock (floating) {DIV} at (0,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderImage {IMG} at (200,0) size 392x50 [bgcolor=#008000]
+layer at (208,208) size 584x55 clip at (210,210) size 565x36
+  RenderBlock {DIV} at (200,0) size 584x55
+    RenderText {TEXT} at (2,2) size 543x36
+      text run at (2,2) width 543: "This is an overflow:scroll region. It should sit on the same line as the float and wrap as"
+      text run at (2,20) width 283: "needed to fit within the remaining line width."
+layer at (208,820) size 396x73 clip at (210,822) size 377x54
+  RenderBlock {DIV} at (200,0) size 396x73
+    RenderText {TEXT} at (2,2) size 364x54
+      text run at (2,2) width 364: "This is an overflow:scroll region. It should sit on the same"
+      text run at (2,20) width 324: "line as the float and wrap as needed to fit within the"
+      text run at (2,38) width 134: "remaining line width."
diff --git a/LayoutTests/fast/block/float/027.html b/LayoutTests/fast/block/float/027.html
new file mode 100644
index 0000000..4aa6196
--- /dev/null
+++ b/LayoutTests/fast/block/float/027.html
@@ -0,0 +1,75 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html>
+<head>
+<style>
+.float {
+  width:200px;
+  height:200px;
+  background-color:red;
+  float:left;
+}
+
+.container {
+  height:200px;
+}
+
+.pct { width:50%; }
+
+table { border:2px solid green; }
+
+img { display: block; height:50px; background-color: green }
+
+.overflow { border:2px solid blue; overflow:scroll }
+</style>
+</head>
+
+<body>
+
+<div class="container">
+<div class="float"></div>
+<table>
+<tr><td>This is a table. It should sit on the same line as the float and wrap as needed to fit
+within the remaining line width.
+</table>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<div class="overflow">
+This is an overflow:scroll region. It should sit on the same line as the float and wrap as needed to fit
+within the remaining line width.
+</div>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<hr>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<table class="pct">
+<tr><td>This is a table. It should sit on the same line as the float and wrap as needed to fit
+within the remaining line width.
+</table>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<div class="overflow pct">
+This is an overflow:scroll region. It should sit on the same line as the float and wrap as needed to fit
+within the remaining line width.
+</div>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<hr class="pct" align=left>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<img class="pct">
+</div>
+
+</div>
diff --git a/LayoutTests/fast/block/float/028-expected.txt b/LayoutTests/fast/block/float/028-expected.txt
new file mode 100644
index 0000000..4bb2264
--- /dev/null
+++ b/LayoutTests/fast/block/float/028-expected.txt
@@ -0,0 +1,65 @@
+layer at (0,0) size 800x1440
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x1440
+  RenderBlock {HTML} at (0,0) size 800x1440
+    RenderBody {BODY} at (8,8) size 784x1424
+      RenderBlock {DIV} at (0,0) size 784x200
+        RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderTable {TABLE} at (0,0) size 584x46
+          RenderTableSection {TBODY} at (2,2) size 0x42
+            RenderTableRow {TR} at (0,0) size 0x0
+              RenderTableCell {TD} at (2,2) size 576x38 [r=0 c=0 rs=1 cs=1]
+                RenderText {TEXT} at (23,1) size 552x36
+                  text run at (23,1) width 552: "This is a table. It should sit on the same line as the float and wrap as needed to fit within"
+                  text run at (418,19) width 4: "."
+                  text run at (422,19) width 153: "the remaining line width"
+      RenderBlock {DIV} at (0,200) size 784x200
+        RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,412) size 784x200
+        RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderBlock {HR} at (0,0) size 584x2
+      RenderBlock {DIV} at (0,612) size 784x200
+        RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderTable {TABLE} at (192,0) size 392x46
+          RenderTableSection {TBODY} at (2,2) size 0x42
+            RenderTableRow {TR} at (0,0) size 0x0
+              RenderTableCell {TD} at (2,2) size 384x38 [r=0 c=0 rs=1 cs=1]
+                RenderText {TEXT} at (10,1) size 373x36
+                  text run at (10,1) width 373: "This is a table. It should sit on the same line as the float and"
+                  text run at (47,19) width 4: "."
+                  text run at (51,19) width 332: "wrap as needed to fit within the remaining line width"
+      RenderBlock {DIV} at (0,812) size 784x200
+        RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,1024) size 784x200
+        RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderBlock {HR} at (290,0) size 294x2
+      RenderBlock {DIV} at (0,1224) size 784x200
+        RenderBlock (floating) {DIV} at (584,0) size 200x200 [bgcolor=#FF0000]
+        RenderBlock (anonymous) at (0,0) size 784x0
+          RenderText {TEXT} at (0,0) size 0x0
+        RenderImage {IMG} at (192,0) size 392x50 [bgcolor=#008000]
+layer at (8,208) size 584x55 clip at (10,210) size 565x36
+  RenderBlock {DIV} at (0,0) size 584x55
+    RenderText {TEXT} at (24,2) size 543x36
+      text run at (24,2) width 543: "This is an overflow:scroll region. It should sit on the same line as the float and wrap as"
+      text run at (284,20) width 4: "."
+      text run at (288,20) width 279: "needed to fit within the remaining line width"
+layer at (196,820) size 396x73 clip at (198,822) size 377x54
+  RenderBlock {DIV} at (188,0) size 396x73
+    RenderText {TEXT} at (15,2) size 364x54
+      text run at (15,2) width 364: "This is an overflow:scroll region. It should sit on the same"
+      text run at (55,20) width 324: "line as the float and wrap as needed to fit within the"
+      text run at (245,38) width 4: "."
+      text run at (249,38) width 130: "remaining line width"
diff --git a/LayoutTests/fast/block/float/028.html b/LayoutTests/fast/block/float/028.html
new file mode 100644
index 0000000..86f7a80
--- /dev/null
+++ b/LayoutTests/fast/block/float/028.html
@@ -0,0 +1,79 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html>
+<head>
+<style>
+body {
+  direction: rtl;
+}
+
+.float {
+  width:200px;
+  height:200px;
+  background-color:red;
+  float:right;
+}
+
+.container {
+  height:200px;
+}
+
+.pct { width:50%; }
+
+table { border:2px solid green; }
+
+img { display: block; height:50px; background-color: green }
+
+.overflow { border:2px solid blue; overflow:scroll }
+</style>
+</head>
+
+<body>
+
+<div class="container">
+<div class="float"></div>
+<table>
+<tr><td>This is a table. It should sit on the same line as the float and wrap as needed to fit
+within the remaining line width.
+</table>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<div class="overflow">
+This is an overflow:scroll region. It should sit on the same line as the float and wrap as needed to fit
+within the remaining line width.
+</div>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<hr>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<table class="pct">
+<tr><td>This is a table. It should sit on the same line as the float and wrap as needed to fit
+within the remaining line width.
+</table>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<div class="overflow pct">
+This is an overflow:scroll region. It should sit on the same line as the float and wrap as needed to fit
+within the remaining line width.
+</div>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<hr class="pct" align=right>
+</div>
+
+<div class="container">
+<div class="float"></div>
+<img class="pct">
+</div>
+
+</div>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list