From 32e1b73dbd19ddca213bec57d775a208e430be1d 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 000000000000..508b4741b2fb --- /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 000000000000..7ac3511c4acf --- /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 000000000000..711010112e95 --- /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 000000000000..8c575b39ff8a --- /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 169cc3aa3250..ebae57529363 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