From 824c20a983c00e5e7ed18f93845ac25d8c992788 Mon Sep 17 00:00:00 2001 From: "L. David Baron" Date: Sat, 10 Jan 2009 08:28:15 -0800 Subject: [PATCH] More tests for outside cases for rule 3. --- ...other-float-outside-rule-3-left-2-ref.html | 5 ++++ .../other-float-outside-rule-3-left-2.html | 25 +++++++++++++++++++ ...ther-float-outside-rule-3-right-2-ref.html | 5 ++++ .../other-float-outside-rule-3-right-2.html | 25 +++++++++++++++++++ layout/reftests/floats/reftest.list | 5 +++- 5 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 layout/reftests/floats/other-float-outside-rule-3-left-2-ref.html create mode 100644 layout/reftests/floats/other-float-outside-rule-3-left-2.html create mode 100644 layout/reftests/floats/other-float-outside-rule-3-right-2-ref.html create mode 100644 layout/reftests/floats/other-float-outside-rule-3-right-2.html diff --git a/layout/reftests/floats/other-float-outside-rule-3-left-2-ref.html b/layout/reftests/floats/other-float-outside-rule-3-left-2-ref.html new file mode 100644 index 00000000000..508b4741b2f --- /dev/null +++ b/layout/reftests/floats/other-float-outside-rule-3-left-2-ref.html @@ -0,0 +1,5 @@ + +Test for float placement around other float in BFC but outside containing block +
+
+
diff --git a/layout/reftests/floats/other-float-outside-rule-3-left-2.html b/layout/reftests/floats/other-float-outside-rule-3-left-2.html new file mode 100644 index 00000000000..7ac3511c4ac --- /dev/null +++ b/layout/reftests/floats/other-float-outside-rule-3-left-2.html @@ -0,0 +1,25 @@ + +Test for float placement around other float in BFC but outside containing block + + + + +
+ +
+ +
+ + +
+ +
+ +
diff --git a/layout/reftests/floats/other-float-outside-rule-3-right-2-ref.html b/layout/reftests/floats/other-float-outside-rule-3-right-2-ref.html new file mode 100644 index 00000000000..711010112e9 --- /dev/null +++ b/layout/reftests/floats/other-float-outside-rule-3-right-2-ref.html @@ -0,0 +1,5 @@ + +Test for float placement around other float in BFC but outside containing block +
+
+
diff --git a/layout/reftests/floats/other-float-outside-rule-3-right-2.html b/layout/reftests/floats/other-float-outside-rule-3-right-2.html new file mode 100644 index 00000000000..8c575b39ff8 --- /dev/null +++ b/layout/reftests/floats/other-float-outside-rule-3-right-2.html @@ -0,0 +1,25 @@ + +Test for float placement around other float in BFC but outside containing block + + + + +
+ +
+ +
+ + +
+ +
+ +
diff --git a/layout/reftests/floats/reftest.list b/layout/reftests/floats/reftest.list index 169cc3aa325..ebae5752936 100644 --- a/layout/reftests/floats/reftest.list +++ b/layout/reftests/floats/reftest.list @@ -1,6 +1,9 @@ == other-float-outside-rule-3-left.html other-float-outside-rule-3-left-ref.html == other-float-outside-rule-3-right.html other-float-outside-rule-3-right-ref.html -# It's possible the spec should change here to match rule 3... +# Maybe the spec should change here. +fails == other-float-outside-rule-3-left-2.html other-float-outside-rule-3-left-2-ref.html +fails == other-float-outside-rule-3-right-2.html other-float-outside-rule-3-right-2-ref.html +# It's possible the spec should change here too. fails == other-float-outside-rule-7-left.html other-float-outside-rule-7-left-ref.html fails == other-float-outside-rule-7-right.html other-float-outside-rule-7-right-ref.html == float-outside-block-push.html float-outside-block-push-ref.html