From 98b8d3c09af070d86a014f5a0d239b1e38a312e6 Mon Sep 17 00:00:00 2001 From: Scott Johnson Date: Wed, 24 Jul 2013 12:47:24 -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