Commit Graph

46 Commits

Author SHA1 Message Date
Daniel Holbert
9390ba90db Bug 877890: In CSS flexbox and XUL box model, sort placeholders using their out-of-flow frame's order/ordinal value. r=bz 2013-05-31 22:14:03 -07:00
Daniel Holbert
1cbf3e8acf Bug 873172: When checking whether a flex item is generated content, skip past any anonymous boxes around it. r=bz
--HG--
rename : layout/reftests/flexbox/flexbox-with-pseudo-elements-1-ref.html => layout/reftests/flexbox/flexbox-with-pseudo-elements-3-ref.html
rename : layout/reftests/flexbox/flexbox-with-pseudo-elements-1.html => layout/reftests/flexbox/flexbox-with-pseudo-elements-3.html
2013-05-19 11:37:56 +08:00
Daniel Holbert
9f2af182ff Bug 867454 followup: fix typo in reftest names. (s/pseuedo/pseudo/)
--HG--
rename : layout/reftests/flexbox/flexbox-with-pseuedo-elements-1-ref.html => layout/reftests/flexbox/flexbox-with-pseudo-elements-1-ref.html
rename : layout/reftests/flexbox/flexbox-with-pseuedo-elements-1.html => layout/reftests/flexbox/flexbox-with-pseudo-elements-1.html
rename : layout/reftests/flexbox/flexbox-with-pseuedo-elements-2-ref.html => layout/reftests/flexbox/flexbox-with-pseudo-elements-2-ref.html
rename : layout/reftests/flexbox/flexbox-with-pseuedo-elements-2.html => layout/reftests/flexbox/flexbox-with-pseudo-elements-2.html
2013-05-02 14:29:59 -07:00
Daniel Holbert
42771dcfef Bug 867454: Treat a flex container's ::before and ::after generated content nodes as flex items. r=bz 2013-05-02 14:04:47 -07:00
Daniel Holbert
205526a0ce Bug 858332: Make flex items pseudo-stacking contexts, per recent spec change. r=mats 2013-04-18 09:51:18 -07:00
Daniel Holbert
54ba81be1d Bug 851379, part 3: Add reftest with percent-valued vertical margin & padding on flex items. r=mats 2013-04-11 07:51:55 -07:00
Daniel Holbert
7979ce802f Bug 858684: Remove HTTP(..) annotation from flexbox reftests (which only needed it for font access). r=billm 2013-04-05 12:52:30 -07:00
Daniel Holbert
e3480c76f6 Bug 785468: Compute flex container's baseline as-described in the spec. r=dbaron 2013-03-29 18:32:08 -07:00
Daniel Holbert
5225ba3097 Bug 848539 part 7: Fix or disable reftests that depend on min-width:auto / min-height:auto. r=dbaron 2013-03-27 23:33:20 -07:00
Daniel Holbert
cb76c70c9d Bug 782441 part 3: Reftests for flex containers with "overflow:hidden|scroll|auto". r=bz 2013-03-22 08:13:50 -07:00
Daniel Holbert
dd74dcaf8c Bug 841827: Mark flex container frame as having a relative height, if it's abspos w/ auto-height and top,bottom both set. r=dbaron
--HG--
rename : layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-1-iframe.html => layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-4-iframe.html
rename : layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-1-ref.xhtml => layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-4-ref.xhtml
rename : layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-1.xhtml => layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-4.xhtml
2013-03-14 01:18:53 -07:00
Matt Woodrow
4825abac8b Bug 702504 - Mark reftests that fail with the new resolution as fuzzy. r=roc 2013-03-12 09:21:30 +13:00
Daniel Holbert
6e267df0e3 Bug 841847: Ensure that we reflow a flex container's children, if any of them received a "measuring" reflow. r=dbaron
--HG--
rename : layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-1-iframe.html => layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-2-iframe.html
rename : layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-1-ref.xhtml => layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-2-ref.xhtml
rename : layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-1.xhtml => layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-2.xhtml
rename : layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-1-iframe.html => layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-3-iframe.html
rename : layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-1-ref.xhtml => layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-3-ref.xhtml
rename : layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-1.xhtml => layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-3.xhtml
2013-02-22 22:32:30 -08:00
Daniel Holbert
0f83a47917 Bug 841873 test changes: Tweak reftests/mochitests/crashtests to remove assumptions about the flexbox pref's default setting. (test-only) 2013-02-15 17:17:21 -08:00
Daniel Holbert
dd4b08c8cf Bug 821775: Set mHResize & mVResize flags when doing the actual reflow of a flex item, if we did an earlier "measuring" reflow and we're now stretching the item in either or both dimensions. r=dbaron 2013-02-15 14:01:48 -08:00
Daniel Holbert
6f4b485097 Bug 831354, test fix 5: Make flexbox-align-self-vert-rtl-1.xhtml wrap some text in a 100px-wide inline block, so that our different centering algorithms will be able to center it consistently. r=dbaron 2013-01-17 13:14:23 -08:00
L. David Baron
ea1256ae75 Bug 831354, test fix 3: Make flexbox-intrinsic-sizing-horiz-2a.xhtml not assume that the distance from the baseline of the default font to the top of its normal line height is less than or equal to 16px. r=dholbert 2013-01-17 20:20:27 +00:00
Jonathan Kew
1c83908a1d bug 829523 - disable font hinting on b2g, but retain pixel-snapped metrics except in the browser app. r=cjones 2013-01-15 15:19:28 +00:00
Andrew Halberstadt
3a19a47088 Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Daniel Holbert
f81c0a4bf1 Bug 821449: Marked flex items whose height is stretched (via "align-items/align-self") as having a relative height. r=dbaron
--HG--
rename : layout/reftests/flexbox/flexbox-dyn-changePadding-1a.xhtml => layout/reftests/flexbox/flexbox-dyn-changePadding-1b.xhtml
2012-12-26 12:31:23 -08:00
Daniel Holbert
b35271523f Bug 821426: Call FinishReflowChild() instead of DidReflow() after flex container's "measuring" reflow for a flex item. r=dbaron 2012-12-26 12:29:27 -08:00
Daniel Holbert
e41dd5f0e6 Bug 811521: When reflowing a flex container, ensure its children are sorted by 'order'. r=dbaron 2012-12-26 12:17:52 -08:00
Daniel Holbert
c8bc346570 Bug 783409: Enable "layout.css.flexbox.enabled" pref. r=dbaron 2012-12-07 10:58:34 -08:00
Daniel Holbert
3d02c4ee75 back out 75cab729c971 because it landed with the wrong bug number 2012-12-07 11:15:27 -08:00
Daniel Holbert
e0a186179f Bug 783490: Enable "layout.css.flexbox.enabled" pref. r=dbaron 2012-12-07 10:58:34 -08:00
Daniel Holbert
4a9712db36 Bug 816357: use 'default-preference' rather than line-by-line pref() annotations in flexbox reftest.list file. r=heycam 2012-11-28 23:12:32 -08:00
Daniel Holbert
4551c6012d Bug 816357 helper: Add a simple border to fieldset & textarea elements in flexbox reftests, to work around occasionally-fuzzy-on-linux pixels at beveled border corners. (test-only) 2012-12-04 16:47:43 -08:00
Daniel Holbert
fe2689dc00 Bug 808767: Put flex items' borders & backgrounds into the BlockBorderBackgrounds display-list, so that overlapping flex items & their contents will paint in the right order. r=dbaron 2012-11-30 00:13:23 -08:00
Ryan VanderMeulen
d1062ad01a Backed out changeset 9430676f5442 (bug 808767) for Android R3 failures. 2012-11-29 17:55:50 -05:00
Daniel Holbert
7d3322dcff Bug 808767: Put flex items' borders & backgrounds into the BlockBorderBackgrounds display-list, so that overlapping flex items & their contents will paint in the right order. r=dbaron 2012-11-29 12:46:22 -08:00
Ed Morley
044635a754 Backout 82837149f001 (bug 816357) for frequent flexbox reftest failures on linux 2012-11-29 15:22:09 +00:00
Daniel Holbert
ea1d17a12b Bug 816357: use 'default-preference' rather than line-by-line pref() annotations in flexbox reftest.list file. r=heycam 2012-11-28 23:12:32 -08:00
Daniel Holbert
59c89ca45d Bug 807897: Make non-auto values for "z-index" turn flex items into stacking contexts, even if they're not positioned. r=dbaron 2012-11-20 17:24:59 -08:00
Daniel Holbert
c35b3855b6 Bug 783415 part 1: Make "display" value of flex items compute to their blockified forms. r=dbaron 2012-11-07 11:28:59 -08:00
Jet Villegas
677bf3dda3 Bug 806068 part 2: Change in-tree usage of -moz-initial to initial. r=dholbert 2012-10-30 16:57:36 +01:00
Daniel Holbert
cc6c460ffb Bug 798666: Constrain cross size of auto-sized flex containers to be within min/max range. r=dbaron 2012-10-16 19:04:30 -07:00
Daniel Holbert
651180579f Bug 801098: Unprefix flexbox properties & keywords (still preffed off by default). r=dbaron 2012-10-15 12:42:43 -07:00
Daniel Holbert
4f4bdd344e Bug 799647 part 2: reftest. r=dbaron
--HG--
rename : layout/reftests/flexbox/flexbox-align-self-horiz-1.xhtml => layout/reftests/flexbox/flexbox-align-self-horiz-1-block.xhtml
rename : layout/reftests/flexbox/flexbox-align-self-horiz-1.xhtml => layout/reftests/flexbox/flexbox-align-self-horiz-1-table.xhtml
2012-10-11 18:41:32 -07:00
Daniel Holbert
c9e80c7e5c Bug 799647 part 1: Use style-context parent instead of frame parent when resolving "align-self:auto" on a flex item. r=dbaron 2012-10-11 18:41:05 -07:00
Daniel Holbert
7edeb4ff2a Bug 797953: Mark flexbox-widget-* reftests as having a some occasionally fuzzy pixels (at corners of buttons) 2012-10-05 11:50:29 -07:00
Daniel Holbert
38afcaf96b Bug 666041 / Bug 797022 followup: update "fails-if(Android)" annotations for android fuzziness in flexbox reftests, to address unexpected passes/fails. 2012-10-03 23:02:15 -07:00
Daniel Holbert
ed4640d0bc Bug 797601 part 3: Add a reftest to verify that the flexbox about:config pref works, and annotate the other flexbox reftests to turn on the pref for them. r=bz 2012-10-03 18:45:06 -07:00
Daniel Holbert
96708c6027 Bug 666041: Reftests for css3-flexbox. (tests-only)
--HG--
rename : layout/reftests/bugs/solidblue.png => layout/reftests/flexbox/solidblue.png
2012-09-29 23:42:29 -07:00
Daniel Holbert
a1197823fc Bug 725723: rename reftests/flexbox to reftests/box. r=dbaron
--HG--
rename : layout/reftests/flexbox/flexbox-attributes-no-box-horizontal-ref.xhtml => layout/reftests/box/flexbox-attributes-no-box-horizontal-ref.xhtml
rename : layout/reftests/flexbox/flexbox-attributes-no-box-horizontal.xhtml => layout/reftests/box/flexbox-attributes-no-box-horizontal.xhtml
rename : layout/reftests/flexbox/flexbox-attributes-no-box-vertical-ref.xhtml => layout/reftests/box/flexbox-attributes-no-box-vertical-ref.xhtml
rename : layout/reftests/flexbox/flexbox-attributes-no-box-vertical.xhtml => layout/reftests/box/flexbox-attributes-no-box-vertical.xhtml
rename : layout/reftests/flexbox/flexbox-attributes-no-input-horizontal-ref.xhtml => layout/reftests/box/flexbox-attributes-no-input-horizontal-ref.xhtml
rename : layout/reftests/flexbox/flexbox-attributes-no-input-horizontal.xhtml => layout/reftests/box/flexbox-attributes-no-input-horizontal.xhtml
rename : layout/reftests/flexbox/flexbox-attributes-no-input-vertical-ref.xhtml => layout/reftests/box/flexbox-attributes-no-input-vertical-ref.xhtml
rename : layout/reftests/flexbox/flexbox-attributes-no-input-vertical.xhtml => layout/reftests/box/flexbox-attributes-no-input-vertical.xhtml
rename : layout/reftests/flexbox/reftest.list => layout/reftests/box/reftest.list
2012-02-13 14:36:18 -08:00
Boris Zbarsky
3b791c55c9 Bug 598482 part 0. Change a few more tests to not depend on pointer positions, since we don't control those. 2012-01-14 22:57:03 -05:00
L. David Baron
bf6088c149 Make nsBox more careful about accepting XUL attributes only on XUL elements. (Bug 102440) r=bzbarsky 2011-04-22 18:36:24 -07:00