From dc45ee09d2500d64187a4b041b237ac20a0ebc81 Mon Sep 17 00:00:00 2001 From: Scott Johnson Date: Thu, 25 Jul 2013 10:34:38 -0500 Subject: [PATCH] Bug 743402, Part 6: Add unit tests for functionality of bug 743402. [r=roc] --- .../columns/columnrule-padding-ref.html | 7 +-- .../reftests/columns/columnrule-padding.html | 3 +- .../multicol3/multicol-height-001.xht | 44 +++++++++++++++++++ .../reference/multicol-height-001.xht | 37 ++++++++++++++++ .../w3c-css/submitted/multicol3/reftest.list | 1 + 5 files changed, 88 insertions(+), 4 deletions(-) create mode 100644 layout/reftests/w3c-css/submitted/multicol3/multicol-height-001.xht create mode 100644 layout/reftests/w3c-css/submitted/multicol3/reference/multicol-height-001.xht diff --git a/layout/reftests/columns/columnrule-padding-ref.html b/layout/reftests/columns/columnrule-padding-ref.html index 821453fbc2b5..f2ade3fceb2c 100644 --- a/layout/reftests/columns/columnrule-padding-ref.html +++ b/layout/reftests/columns/columnrule-padding-ref.html @@ -2,23 +2,24 @@
+ -moz-column-rule: 6px green solid;">
diff --git a/layout/reftests/w3c-css/submitted/multicol3/multicol-height-001.xht b/layout/reftests/w3c-css/submitted/multicol3/multicol-height-001.xht new file mode 100644 index 000000000000..a66de8bbdcb4 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/multicol3/multicol-height-001.xht @@ -0,0 +1,44 @@ + + + + CSS Test: Percentage Computed Height on Multicol Child (Definite Multicol Height) + + + + + + + + + +

Test passes if even when printed:

+
    +
  • Two vertical orange stripes stretch exactly + from the inner top edge to the inner bottom edge of the blue box below.
  • +
  • There is a yellow stripe immediately below the blue box.
  • +
+
+

+
+
+ + diff --git a/layout/reftests/w3c-css/submitted/multicol3/reference/multicol-height-001.xht b/layout/reftests/w3c-css/submitted/multicol3/reference/multicol-height-001.xht new file mode 100644 index 000000000000..f707a8a31f12 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/multicol3/reference/multicol-height-001.xht @@ -0,0 +1,37 @@ + + + + CSS Reftest Reference + + + + +

Test passes if even when printed:

+
    +
  • Two vertical orange stripes stretch exactly + from the inner top edge to the inner bottom edge of the blue box below.
  • +
  • There is a yellow stripe immediately below the blue box.
  • +
+
+

+
+
+ + diff --git a/layout/reftests/w3c-css/submitted/multicol3/reftest.list b/layout/reftests/w3c-css/submitted/multicol3/reftest.list index cbbfb418e34c..799a87fba67d 100644 --- a/layout/reftests/w3c-css/submitted/multicol3/reftest.list +++ b/layout/reftests/w3c-css/submitted/multicol3/reftest.list @@ -1 +1,2 @@ == moz-multicol3-column-balancing-break-inside-avoid-1.html moz-multicol3-column-balancing-break-inside-avoid-1-ref.html +== multicol-height-001.xht reference/multicol-height-001.xht