author | Daniel Holbert <dholbert@cs.stanford.edu> |
Tue, 22 Jul 2014 08:24:37 -0700 | |
changeset 195520 | 2a194f050406eef967e937ee0525304d973c5a44 |
parent 195519 | 48cf2fca495baa85a130a200441a1c9913b56fb6 |
child 195521 | f7c111168a77e405ff0d0a6f35e8796796f28bf2 |
push id | 27184 |
push user | kwierso@gmail.com |
push date | Wed, 23 Jul 2014 00:39:18 +0000 |
treeherder | mozilla-central@0ad20ad7b70a [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 1015474 |
milestone | 34.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-canvas-horiz-2-ref.xhtml +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - } - canvas { - width: 50px; - height: 50px; - background: purple; - } - </style> - </head> - <body> - <div class="flexbox"> - <canvas/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-canvas-horiz-2.xhtml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<!-- - This test checks that canvas elements' default "min-width: auto" property - is handled correctly (i.e. isn't influenced by the "width" property). ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - } - canvas { - width: 1000px; - height: 50px; - background: purple; - } - </style> - </head> - <body> - <div class="flexbox"> - <canvas/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-canvas-vert-2-ref.xhtml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - flex-direction: column; - } - canvas { - width: 50px; - height: 50px; - background: purple; - } - </style> - </head> - <body> - <div class="flexbox"> - <canvas/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-canvas-vert-2.xhtml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<!-- - This test checks that canvas elements' default "min-height: auto" property - is handled correctly (i.e. isn't influenced by the "height" property). ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - flex-direction: column; - } - canvas { - width: 50px; - height: 1000px; - background: purple; - } - </style> - </head> - <body> - <div class="flexbox"> - <canvas/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-fieldset-horiz-2-ref.xhtml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - } - fieldset { - width: 50px; - height: 50px; - background: purple; - border: 1px dotted green; - } - </style> - </head> - <body> - <div class="flexbox"> - <fieldset/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-fieldset-horiz-2.xhtml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<!-- - This test checks that fieldset elements' default "min-width: auto" property - is handled correctly (i.e. isn't influenced by the "width" property). ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - } - fieldset { - width: 1000px; - height: 50px; - background: purple; - border: 1px dotted green; - } - </style> - </head> - <body> - <div class="flexbox"> - <fieldset/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-fieldset-vert-2-ref.xhtml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - flex-direction: column; - } - fieldset { - width: 50px; - height: 50px; - background: purple; - border: 1px dotted green; - } - </style> - </head> - <body> - <div class="flexbox"> - <fieldset/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-fieldset-vert-2.xhtml +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<!-- - This test checks that fieldset elements' default "min-height: auto" - property is handled correctly (i.e. isn't influenced by the "height" - property). ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - flex-direction: column; - } - fieldset { - width: 50px; - height: 1000px; - background: purple; - border: 1px dotted green; - } - </style> - </head> - <body> - <div class="flexbox"> - <fieldset/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-iframe-horiz-2-ref.xhtml +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - } - iframe { - width: 50px; - height: 50px; - background: purple; - } - </style> - </head> - <body> - <div class="flexbox"> - <iframe/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-iframe-horiz-2.xhtml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<!-- - This test checks that iframe elements' default "min-width: auto" property - is handled correctly (i.e. isn't influenced by the "width" property). ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - } - iframe { - width: 1000px; - height: 50px; - background: purple; - } - </style> - </head> - <body> - <div class="flexbox"> - <iframe/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-iframe-vert-2-ref.xhtml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - flex-direction: column; - } - iframe { - width: 50px; - height: 50px; - background: purple; - } - </style> - </head> - <body> - <div class="flexbox"> - <iframe/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-iframe-vert-2.xhtml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<!-- - This test checks that iframe elements' default "min-height: auto" property - is handled correctly (i.e. isn't influenced by the "height" property). ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - flex-direction: column; - } - iframe { - width: 50px; - height: 1000px; - background: purple; - } - </style> - </head> - <body> - <div class="flexbox"> - <iframe/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-img-horiz-2-ref.xhtml +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - } - img { - width: 50px; - height: 50px; - background: purple; - } - </style> - </head> - <body> - <div class="flexbox"> - <img src="solidblue.png"/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-img-horiz-2.xhtml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<!-- - This test checks that img elements' default "min-width: auto" property - is handled correctly (i.e. isn't influenced by the "width" property). ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - } - img { - width: 1000px; - height: 50px; - background: purple; - } - </style> - </head> - <body> - <div class="flexbox"> - <img src="solidblue.png"/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-img-vert-2-ref.xhtml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - flex-direction: column; - } - img { - width: 50px; - height: 50px; - background: purple; - } - </style> - </head> - <body> - <div class="flexbox"> - <img src="solidblue.png"/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-img-vert-2.xhtml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<!-- - This test checks that img elements' default "min-height: auto" property - is handled correctly (i.e. isn't influenced by the "height" property). ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - flex-direction: column; - } - img { - width: 50px; - height: 1000px; - background: purple; - } - </style> - </head> - <body> - <div class="flexbox"> - <img src="solidblue.png"/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-textarea-horiz-2-ref.xhtml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - } - textarea { - width: 50px; - height: 50px; - background: purple; - border: 1px dotted green; - } - </style> - </head> - <body> - <div class="flexbox"> - <textarea/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-textarea-horiz-2.xhtml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<!-- - This test checks that textarea elements' default "min-width: auto" property - is handled correctly (i.e. isn't influenced by the "width" property). ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - } - textarea { - width: 1000px; - height: 50px; - background: purple; - border: 1px dotted green; - } - </style> - </head> - <body> - <div class="flexbox"> - <textarea/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-textarea-vert-2-ref.xhtml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - flex-direction: column; - } - textarea { - width: 50px; - height: 50px; - background: purple; - border: 1px dotted green; - } - </style> - </head> - <body> - <div class="flexbox"> - <textarea/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-textarea-vert-2.xhtml +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<!-- - This test checks that textarea elements' default "min-height: auto" - property is handled correctly (i.e. isn't influenced by the "height" - property). ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - flex-direction: column; - } - textarea { - width: 50px; - height: 1000px; - background: purple; - border: 1px dotted green; - } - </style> - </head> - <body> - <div class="flexbox"> - <textarea/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-video-horiz-2-ref.xhtml +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - } - video { - width: 50px; - height: 50px; - background: purple; - } - </style> - </head> - <body> - <div class="flexbox"> - <video/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-video-horiz-2.xhtml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<!-- - This test checks that video elements' default "min-width: auto" property - is handled correctly (i.e. isn't influenced by the "width" property). ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - } - video { - width: 1000px; - height: 50px; - background: purple; - } - </style> - </head> - <body> - <div class="flexbox"> - <video/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-video-vert-2-ref.xhtml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - flex-direction: column; - } - video { - width: 50px; - height: 50px; - background: purple; - } - </style> - </head> - <body> - <div class="flexbox"> - <video/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-basic-video-vert-2.xhtml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<!-- - This test checks that video elements' default "min-height: auto" property - is handled correctly (i.e. isn't influenced by the "height" property). ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 50px; - width: 50px; - border: 2px dotted black; - display: flex; - flex-direction: column; - } - video { - width: 50px; - height: 1000px; - background: purple; - } - </style> - </head> - <body> - <div class="flexbox"> - <video/> - </div> - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-minSize-horiz-1-ref.xhtml +++ /dev/null @@ -1,78 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - width: 200px; - font-size: 8px; - } - div.outerContainer { - border: 1px dotted black; - height: 42px; - margin-bottom: 5px; - } - div.flexbox > * { - vertical-align: top; - display: inline-block; - margin-right: 20px; - border: 1px dashed green; - background: lightblue; - height: 40px; - } - div.childMinSizeIsMinContent > * { - min-width: -moz-min-content; - } - div.childSizeIsMinContent > * { - width: -moz-min-content; - } - div.smallSize { width: 5px; } - div.smallFlexBasis { width: 2px; } - div.zeroWidth { width: 0; } - - </style> - </head> - <body> - - <!-- Check that we use the min-content width as a lower-bound when sizing - flex items. --> - <div class="flexbox childMinSizeIsMinContent outerContainer"> - <div>abc d e f</div - ><div class="smallSize">abc d e f</div - ><div class="smallFlexBasis">abc d e f</div> - </div> - - <!-- ... EVEN if our flex container is small and we're overflowing. --> - <div class="outerContainer smallSize"> - <div class="flexbox childSizeIsMinContent"> - <div>abc d e f</div - ><div>abc d e f</div - ><div>abc d e f</div> - </div> - </div> - - <!-- Test that "min-width: 0" on flex items will keep us from clamping to - the min-content width. (So we can now actually honor small 'width' - and 'flex-basis' values.) --> - <div class="flexbox outerContainer"> - <div>abc d e f</div - ><div class="smallSize">abc d e f</div - ><div class="smallFlexBasis">abc d e f</div> - </div> - - <!-- ... and similarly, when we have a small flex container and we trigger - shrinking behavior, flex items with "min-width: 0" are allowed to - shrink past their min-content width. --> - <div class="outerContainer smallSize"> - <div class="flexbox"> - <div class="zeroWidth">abc d e f</div - ><div class="zeroWidth">abc d e f</div - ><div class="zeroWidth">abc d e f</div> - </div> - </div> - - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-minSize-horiz-1.xhtml +++ /dev/null @@ -1,71 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<!-- - This test checks that we honor the flexbox-specific behavior of the - new "min-width: auto" value that was introduced in the flexbox spec. - - We check that flex items can't shrink below their min-content width, - unless we explicitly reduce their min-width with e.g. "min-width: 0". ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - width: 200px; - display: flex; - margin-bottom: 5px; - font-size: 8px; - border: 1px dotted black; - } - div.flexbox > * { - margin-right: 20px; - border: 1px dashed green; - background: lightblue; - height: 40px; - } - div.smallSize { width: 5px; } - div.smallFlexBasis { flex-basis: 2px; } - div.zeroMinWidth { min-width: 0; } - - </style> - </head> - <body> - - <!-- Check that we use the min-content width as a lower-bound when sizing - flex items. --> - <div class="flexbox"> - <div>abc d e f</div> - <div class="smallSize">abc d e f</div> - <div class="smallFlexBasis">abc d e f</div> - </div> - - <!-- ... EVEN if our flex container is small and we're overflowing. --> - <div class="flexbox smallSize"> - <div>abc d e f</div> - <div class="smallSize">abc d e f</div> - <div class="smallFlexBasis">abc d e f</div> - </div> - - <!-- Test that "min-width: 0" on flex items will keep us from clamping to - the min-content width. (So we can now actually honor small 'width' - and 'flex-basis' values.) --> - <div class="flexbox"> - <div class="zeroMinWidth">abc d e f</div> - <div class="zeroMinWidth smallSize">abc d e f</div> - <div class="zeroMinWidth smallFlexBasis">abc d e f</div> - </div> - - <!-- ... and similarly, when we have a small flex container and we trigger - shrinking behavior, flex items with "min-width: 0" are allowed to - shrink past their min-content width. --> - <div class="flexbox smallSize"> - <div class="zeroMinWidth">abc d e f</div> - <div class="zeroMinWidth smallSize">abc d e f</div> - <div class="zeroMinWidth smallFlexBasis">abc d e f</div> - </div> - - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-minSize-vert-1-ref.xhtml +++ /dev/null @@ -1,55 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 140px; - margin-right: 5px; - font-size: 8px; - border: 1px dotted black; - float: left; - } - div.flexbox > * { - margin-bottom: 20px; - border: 1px dashed green; - background: lightblue; - width: 40px; - } - div.smallSize { height: 5px; } - div.smallFlexBasis { height: 2px; } - div.zeroHeight { height: 0; } - - </style> - </head> - <body> - - <div class="flexbox"> - <div>a b</div> - <div>a b</div> - <div>a b</div> - </div> - - <div class="flexbox smallSize"> - <div>a b</div> - <div>a b</div> - <div>a b</div> - </div> - - <div class="flexbox"> - <div>a b</div> - <div class="smallSize">a b</div> - <div class="smallFlexBasis">a b</div> - </div> - - <div class="flexbox smallSize"> - <div class="zeroHeight">a b</div> - <div class="zeroHeight">a b</div> - <div class="zeroHeight">a b</div> - </div> - - </body> -</html>
deleted file mode 100644 --- a/layout/reftests/flexbox/flexbox-minSize-vert-1.xhtml +++ /dev/null @@ -1,73 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ ---> -<!-- - This test checks that we honor the flexbox-specific behavior of the - new "min-height: auto" value that was introduced in the flexbox spec. - - We check that flex items can't shrink below their min-content height, - unless we explicitly reduce their min-height with e.g. "min-height: 0". ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <style> - div.flexbox { - height: 140px; - display: flex; - flex-direction: column; - margin-right: 5px; - font-size: 8px; - border: 1px dotted black; - float: left; - } - div.flexbox > * { - margin-bottom: 20px; - border: 1px dashed green; - background: lightblue; - width: 40px; - } - div.smallSize { height: 5px; } - div.smallFlexBasis { flex-basis: 2px; } - div.zeroMinHeight { min-height: 0; } - - </style> - </head> - <body> - - <!-- Check that we use the min-content height as a lower-bound when sizing - flex items. --> - <div class="flexbox"> - <div>a b</div> - <div class="smallSize">a b</div> - <div class="smallFlexBasis">a b</div> - </div> - - <!-- ... EVEN if our flex container is small and we're overflowing. --> - <div class="flexbox smallSize"> - <div>a b</div> - <div class="smallSize">a b</div> - <div class="smallFlexBasis">a b</div> - </div> - - <!-- Test that "min-height: 0" on flex items will keep us from clamping to - the min-content height. (So we can now actually honor small 'height' - and 'flex-basis' values.) --> - <div class="flexbox"> - <div class="zeroMinHeight">a b</div> - <div class="zeroMinHeight smallSize">a b</div> - <div class="zeroMinHeight smallFlexBasis">a b</div> - </div> - - <!-- ... and similarly, when we have a small flex container and we trigger - shrinking behavior, flex items with "min-height: 0" are allowed to - shrink past their min-content height. --> - <div class="flexbox smallSize"> - <div class="zeroMinHeight">a b</div> - <div class="zeroMinHeight smallSize">a b</div> - <div class="zeroMinHeight smallFlexBasis">a b</div> - </div> - - </body> -</html>
--- a/layout/reftests/flexbox/reftest.list +++ b/layout/reftests/flexbox/reftest.list @@ -14,35 +14,16 @@ include pagination/reftest.list # Tests for cross-axis alignment (align-self / align-items properties) fails == flexbox-align-self-baseline-horiz-2.xhtml flexbox-align-self-baseline-horiz-2-ref.xhtml # bug 793456, and possibly others # This one fails on windows R (but not Ru, strangely). On Windows R, the # single-line <label> flex item has a different background size in test vs. ref fuzzy-if(B2G,10,3) random-if(winWidget) == flexbox-align-self-baseline-horiz-3.xhtml flexbox-align-self-baseline-horiz-3-ref.xhtml # XXXdholbert investigate == flexbox-align-self-baseline-horiz-4.xhtml flexbox-align-self-baseline-horiz-4-ref.xhtml -# Tests for basic handling of <canvas>/<img>/etc as a flex item -# NOTE: The "-1" versions of these tests have moved to the w3c-css directory; -# the -2 variants remain behind, because they explicitly intend to test -# how e.g. "min-width: -moz-min-content" affects the rendering, and we don't -# want to upload tests with prefixed keywords to the W3C testsuite. - -== flexbox-basic-canvas-horiz-2.xhtml flexbox-basic-canvas-horiz-2-ref.xhtml -fails == flexbox-basic-canvas-vert-2.xhtml flexbox-basic-canvas-vert-2-ref.xhtml # bug 794660 -== flexbox-basic-fieldset-horiz-2.xhtml flexbox-basic-fieldset-horiz-2-ref.xhtml -== flexbox-basic-fieldset-vert-2.xhtml flexbox-basic-fieldset-vert-2-ref.xhtml -== flexbox-basic-iframe-horiz-2.xhtml flexbox-basic-iframe-horiz-2-ref.xhtml -== flexbox-basic-iframe-vert-2.xhtml flexbox-basic-iframe-vert-2-ref.xhtml -== flexbox-basic-img-horiz-2.xhtml flexbox-basic-img-horiz-2-ref.xhtml -fails == flexbox-basic-img-vert-2.xhtml flexbox-basic-img-vert-2-ref.xhtml # bug 794660 -== flexbox-basic-textarea-horiz-2.xhtml flexbox-basic-textarea-horiz-2-ref.xhtml -== flexbox-basic-textarea-vert-2.xhtml flexbox-basic-textarea-vert-2-ref.xhtml -== flexbox-basic-video-horiz-2.xhtml flexbox-basic-video-horiz-2-ref.xhtml -fails == flexbox-basic-video-vert-2.xhtml flexbox-basic-video-vert-2-ref.xhtml # bug 794660 - # Tests for box-sizing on flex containers and flex items. == flexbox-box-sizing-on-container-horiz-1.html flexbox-box-sizing-on-container-horiz-1-ref.html == flexbox-box-sizing-on-container-vert-1.html flexbox-box-sizing-on-container-vert-1-ref.html == flexbox-box-sizing-on-items-horiz-1a.html flexbox-box-sizing-on-items-horiz-1-ref.html == flexbox-box-sizing-on-items-horiz-1b.html flexbox-box-sizing-on-items-horiz-1-ref.html == flexbox-box-sizing-on-items-vert-1a.html flexbox-box-sizing-on-items-vert-1-ref.html == flexbox-box-sizing-on-items-vert-1b.html flexbox-box-sizing-on-items-vert-1-ref.html @@ -79,20 +60,16 @@ fails == flexbox-basic-video-vert-2.xhtm # Tests for handling of floated elements inside a flexbox == flexbox-float-1a.xhtml flexbox-float-1-ref.xhtml == flexbox-float-1b.xhtml flexbox-float-1-ref.xhtml == flexbox-float-1c.xhtml flexbox-float-1-ref.xhtml == flexbox-float-1d.xhtml flexbox-float-1-ref.xhtml == flexbox-float-2a.xhtml flexbox-float-2-ref.xhtml == flexbox-float-2b.xhtml flexbox-float-2-ref.xhtml -# Tests for (default) "min-width: auto" / "min-height: auto" in flex containers -== flexbox-minSize-horiz-1.xhtml flexbox-minSize-horiz-1-ref.xhtml -== flexbox-minSize-vert-1.xhtml flexbox-minSize-vert-1-ref.xhtml - # Tests for the order in which we paint flex items fails == flexbox-paint-ordering-3.html flexbox-paint-ordering-3-ref.html # bug 874718 # Tests for handling of absolutely/fixed/relatively-positioned flex items. == flexbox-position-absolute-1.xhtml flexbox-position-absolute-1-ref.xhtml == flexbox-position-absolute-2.xhtml flexbox-position-absolute-2-ref.xhtml == flexbox-position-absolute-3.xhtml flexbox-position-absolute-3-ref.xhtml == flexbox-position-absolute-4.xhtml flexbox-position-absolute-4-ref.xhtml