layout/generic/nsFlexContainerFrame.cpp
63a4ad62401ab5b08174e86b80d22b7bdffdc0c9
created 2013-12-31 13:50 +0000
pushed 2014-04-28 18:51 +0000
Jonathan Kew Jonathan Kew - bug 735577 - followup 1 (v2) - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc
e055130f049794f883f120488ec0fb90a1254d38
created 2014-03-04 11:08 -0800
pushed 2014-04-28 18:51 +0000
Daniel Holbert Daniel Holbert - Bug 973701: Check NS_FRAME_OUT_OF_FLOW state bit instead of IsAbsolutelyPositioned(), when excluding out-of-flow frames from being considered as flex items. r=mats
e2db34bc8bc233dfeb2efd6c8e788d2b595b0d7d
created 2014-02-26 23:28 -0800
pushed 2014-04-28 18:51 +0000
Daniel Holbert Daniel Holbert - (no bug) fix a few whitespace issues in nsFlexContainerFrame.cpp. whitespace-only, DONTBUILD
f6d37fdcc976b9f649fa39ce065f298731b1d935
created 2014-02-17 23:47 -0800
pushed 2014-04-28 18:51 +0000
Arnaud Sourioux Arnaud Sourioux - Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert
dba50848b8f90da647397026cf2fce63b993e136
created 2014-02-12 23:47 -0800
pushed 2014-04-28 18:51 +0000
Daniel Holbert Daniel Holbert - Bug 971913: Use DISPLAY_MIN_WIDTH / DISPLAY_PREF_WIDTH logging macros in nsFlexContainerFrame. r=jwatt
43437cbeca1a78b37d4884831dc1019788a10870
created 2014-02-06 17:04 -0800
pushed 2014-04-28 18:51 +0000
Daniel Holbert Daniel Holbert - Bug 969147: Compute (and sum) the cross sizes of flex lines as we go, to make pagination easier. r=mats
a4bd676baee67836da0b198021927f6c9cf3531e
created 2014-01-31 14:54 -0800
pushed 2014-03-17 21:55 +0000
Daniel Holbert Daniel Holbert - (no bug) Tweak a comment in nsFlexContainerFrame.cpp to make it accurate in the post-bug-939901 multi-line flexbox world. (no review, comment-only; DONTBUILD)
abc4eb237e163e5dc06b9fb5ccef8c4ac85a6fdb
created 2014-01-30 13:02 -0800
pushed 2014-03-17 21:55 +0000
Daniel Holbert Daniel Holbert - (no bug) whitespace fix in nsFlexContainerFrame.cpp (reindent some function-parameters). no review, whitespace-only, DONTBUILD
81c6d8fc5702a58cd0cabbb90d7b4bb1817a4cc5
created 2014-01-21 17:05 -0800
pushed 2014-03-17 21:55 +0000
Daniel Holbert Daniel Holbert - Bug 962267: Move nsFlexContainerFrame.h's forward-decls into the class's scope. r=mats
da32dcdc4121dd09218de7557456896ab5bb1f71
created 2014-01-21 14:52 -0800
pushed 2014-03-17 21:55 +0000
Daniel Holbert Daniel Holbert - Bug 783470 part 5: Add assertion to ensure we don't create FlexItems for abspos children. rs=mats
31e897da75da1f99825c6405f56f9a26bbdd4ac3
created 2014-01-21 14:52 -0800
pushed 2014-03-17 21:55 +0000
Daniel Holbert Daniel Holbert - Bug 783470 part 3: Use the strut metadata we've saved to actually build special "strut" FlexItems on our second pass through reflow. r=mats
2a1794e78469edddaf89aa11784da3b4ff827050
created 2014-01-21 14:51 -0800
pushed 2014-03-17 21:55 +0000
Daniel Holbert Daniel Holbert - Bug 783470 part 2: Create an array with information about each visibility:collapse "strut" that we need to build. r=mats
137e02fe6f55b47f892205df124bae4f918394cc
created 2014-01-21 14:51 -0800
pushed 2014-03-17 21:55 +0000
Daniel Holbert Daniel Holbert - Bug 783470 part 1: Split most of flex reflow into a helper-function, so that we can easily restart it by reinvoking that helper. r=mats
15afc631509c545c5b16cdc489b6569023378d0c
created 2014-01-20 14:02 -0800
pushed 2014-03-17 21:55 +0000
Daniel Holbert Daniel Holbert - Bug 961354 part 2: Don't consider absolutely-positioned elements to be flex items, since they don't participate in normal flex layout. r=mats
0f0b3d2a7af543b3091ba307f0065e98b9026ff1
created 2014-01-16 17:34 -0800
pushed 2014-03-17 21:55 +0000
Peiyong Lin Peiyong Lin - Bug 959874 - Reorder two parameters in nsContainerFrame::FinishReflowChild(), for consistency with nsContainerFrame::ReflowChild(). r=dholbert
8342bfb3ef5296de6a11e37299aefa4447a4e70b
created 2014-01-08 14:37 -0800
pushed 2014-03-17 21:55 +0000
Daniel Holbert Daniel Holbert - Bug 956046: Allow adjacent anonymous flex items if we've reordered items with the "order" property. r=dbaron
029a56c4ad4c7a331e6379b44af3611ce50b9d9e
created 2014-01-06 19:17 -0800
pushed 2014-03-17 21:55 +0000
Daniel Holbert Daniel Holbert - Bug 807565: Don't let border/padding push minimum content-box size for themed flex items below 0. r=mats
d1cf3709a1f06b92def61b81f062ed2df5869520
created 2014-01-05 20:18 -0800
pushed 2014-03-17 21:55 +0000
Daniel Holbert Daniel Holbert - Bug 893496: Avoid doing bogus infinity*0 multiplication when producing a flex weight from huge flex-shrink and 0 flex-basis. r=mats
794680b9599d01635c6734a00192d9ca099f4793
created 2014-01-05 23:31 +0000
pushed 2014-03-17 21:55 +0000
Mats Palmgren Mats Palmgren - Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc
77dc30ebae1ed4e5cbeaec356a23b1840eaf8674
created 2013-12-31 08:47 -0800
pushed 2014-03-17 21:55 +0000
Daniel Holbert Daniel Holbert - Bug 944909 part 2: add comment noting that assertion can be upgraded later. (comment-only)
3d95b4c617caf17807ffd8629a00c2aeb36c5e5f
created 2013-12-31 08:47 -0800
pushed 2014-03-17 21:55 +0000
Mats Palmgren Mats Palmgren - Bug 944909 part 1: On the final call to FreezeOrRestoreEachFlexibleSize, assert (and enforce) that each flex item ends up frozen. r=dholbert
f71a7dafeefe40da30c6f760a4958dc7d9d28bae
created 2013-12-29 22:48 +0000
pushed 2014-03-17 21:55 +0000
Jonathan Kew Jonathan Kew - backout changeset 8b6f20bda157 (bug 735577 followup 1) for build failure
8b6f20bda157534bd01e73c1caa5179e95c9df9c
created 2013-12-29 22:04 +0000
pushed 2014-03-17 21:55 +0000
Jonathan Kew Jonathan Kew - bug 735577 - followup 1 - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc
72591e9d49a8432c45b304c7ccb86a8e09947bb1
created 2013-12-27 17:59 +0000
pushed 2014-03-17 21:55 +0000
Jonathan Kew Jonathan Kew - bug 735577 - pt 4.1 - use accessor functions for some physical-coordinate fields in nsHTMLReflowMetrics, in preparation for logicalization. r=smontagu
c73264fcffc344dbede024b64667dc31a9ac9043
created 2013-12-27 17:59 +0000
pushed 2014-03-17 21:55 +0000
Jonathan Kew Jonathan Kew - bug 735577 - pt 3.2 - update the rest of layout code to use the new accessors on nsHTMLReflowState. r=smontagu
de950d66a584e68f998af5648f5a3591ca63cba6
created 2013-12-18 10:34 -0800
pushed 2014-03-17 21:55 +0000
Daniel Holbert Daniel Holbert - Bug 934123: When measuring flex items, pass the same flags into ReflowChild and FinishReflowChild. r=mats
6cc28fece8bfb6595c022ba995f92fc543b8d924
created 2013-12-06 13:38 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 946269: Rename nsFlexContainerFrame::ComputeFlexContainerCrossSize to ComputeCrossSize. implicit-rs=mats
1e621918f8bfcb2a4e844fa3c92bafbef6eb1248
created 2013-12-05 10:57 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939901 part 7: Improve flex container baseline calculation from first FlexLine, in multi-line flex containers. r=mats
c9afb8ec2269591da65b1a7defff87e18fcc58b4
created 2013-12-05 10:57 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939901 part 6: Calculate the intrinsic min-width of a multi-line flex container by assuming a wrap between each flex item. r=mats
47901ad6d20b5183a62ee9d7df2dce4b4b69df78
created 2013-12-05 10:57 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939901 part 5: Honor 'align-content' in flexbox layout, for multi-line flex containers. r=mats
79a76a1dce4ec13dcd45f6b63dfcb08f4ec74140
created 2013-12-05 10:57 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939901 part 4: Make the flexbox reflow code loop over the FlexLines, rather than just working with one FlexLine. r=mats
7ffb0aa5121f477c712b18387c9daeaefc096b69
created 2013-12-05 10:57 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939901 part 3.5: Honor "page-break-before" and "page-break-after" as flex line breaking requests. r=mats
54a3dd704f9ae304638f92f6215ff5e6a23de9f0
created 2013-12-05 10:57 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939901 part 3: When generating FlexLines, wrap at page-breaks and at max-main-size. r=mats
e4bebee995b471e2525298bf2d7ec32a0dc09d2e
created 2013-12-05 10:57 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939901 part 2: Convert GenerateFlexItems into GenerateFlexLines, wrapping new FlexItems to new FlexLines when we run out of space in container's main axis. r=mats
80fc9290af345e9c29e39e3bdf408f7610f63dd3
created 2013-12-05 10:57 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939901 part 1: Make FlexboxAxisTracker aware that flex-wrap:wrap-reverse flips cross axis, and clean up related assertions/comments. r=mats
23103305dbed3ac0d7250031f6d75ee5da8e67da
created 2013-12-03 14:48 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - (no bug) clarify a comment about baselines in nsFlexContainerFrame::Reflow. (comment-only, DONTBUILD)
006af69ddb287ccc7fe3ed0bf1e15d115ef7206b
created 2013-11-26 17:14 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 943509: Explicitly check for unconstrained availableHeight, when checking whether bottom padding fits, at end of flex container reflow. r=mats
fb5ae868b923ed5c20a17db82a5f851f565d517f
created 2013-11-26 10:27 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939896 part 9: Use cached sums of flexbox inner/outer main sizes in ResolveFlexibleLengths, and rename a variable. r=mats
b1fe321bbaf677bb318f3b836e7a0a8ec59d9697
created 2013-11-26 10:27 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939896 part 8: Make FlexLine store the sums of its items' hypothetical inner & outer main sizes. r=mats
1cee108813e05299781c45cf0b53cc24fbc6ea5a
created 2013-11-26 10:27 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939896 part 7: Move ResolveFlexibleLengths() to live on FlexLine. r=mats
b1ec0673d85f1fc92014ece06d69d73e053bf950
created 2013-11-26 10:27 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939896 part 6: Make ComputeFlexContainerMainSize take a FlexLine. r=mats
eca724f5965c92fc5eea22227a97c02e5dbe05c2
created 2013-11-26 10:27 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939896 part 5: Move PositionItemInMainAxis to live on FlexLine, and make it position all the line's items. r=mats
81fd6d2165f67b83373b818aa0cbe0c0cd8ec77f
created 2013-11-26 10:27 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939896 part 4: Move PositionItemInCrossAxis to live on FlexLine, and make it position all the line's items. r=mats
7dbfe7e62668080d3982701c230d205265d8ad9a
created 2013-11-26 10:27 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939896 part 3b: Keep track of line cross-size and baseline-alignment offset in FlexLine instead of in (more ephemeral) SingleLineCrossAxisPositionTracker. r=mats
79dda4faf05238400ec19a19dec24fc7bfacffd9
created 2013-11-26 10:27 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939896 part 3a: Make FlexItem compute its own baseline offset from cross-start edge (and support bottom-to-top cross axis). r=mats
2a3ea2d02b179ab6c59b172b32a5e95306a1f45b
created 2013-11-26 10:27 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939896 part 2: Make ComputeLineCrossSize take a FlexLine. r=mats
535daeab5febddff080f88ea01aed55f8ec541d7
created 2013-11-26 10:27 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 939896 part 1: Introduce a FlexLine object, which manages a nsTArray of FlexItems on a single line in a flex container. r=mats
f34b638255165649c49dbc1675976000e09b7cef
created 2013-11-25 00:22 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - (no bug) Update names for 'justify-content' property values in 2 comments within nsFlexContainerFrame.cpp. (comment-only, DONTBUILD)
6876446129979f4508cc783c09e7a8d8f17e1e4d
created 2013-11-23 23:55 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - (no bug) clarify a code comment about flexbox layout. (comment-only, DONTBUILD)
5dd26577d0935184f84bc15cfccffd6174f3e5c7
created 2013-11-23 11:07 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 941916 followup: Drop another unused param "aFlexContainerFrame" from SingleLineCrossAxisPositionTracker constructor. r=trivial (essentially the same as previous patch)
9a179f9b33ca9fc2c3820405483573c1dcf1a72f
created 2013-11-21 22:50 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 941916: Drop unused constructor param "aItems" from SingleLineCrossAxisPositionTracker constructor. r=mats
ae68d174249d42e9e875f3118c23b55c56f0c725
created 2013-11-21 10:20 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 811024 part 4: Don't ask for bottom border/padding space on a flex container if it's going to get a continuation. r=mats
6b2cb514c76e0f0b92c3b83724511c82a5e1a8fe
created 2013-11-21 10:20 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 811024 part 3: Split horizontal flex containers whose cross size (height) is larger than available height (and refactor cross-size computation). r=mats
3c6c0ced7e9b1cbc20ab6377e867998e52814646
created 2013-11-21 10:20 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 811024 part 2: Split vertical flex containers whose main size (height) is larger than available height. r=mats
5e1ebc80c9173a7acfba2ed50f6b8f55bce9d894
created 2013-11-15 20:41 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - (no bug) Remove some obsolete/incorrect comments from nsFlexContainerFrame.cpp. comment-only, DONTBUILD
bb548580be557753230864d8d210a2a27c9c6e2b
created 2013-11-12 18:50 -0800
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - (no bug) Fix a few whitespace issues in nsFlexContainerFrame.*
12161d958d0c178789ec2ebc9a6f3826f8d07146
created 2013-10-31 19:39 -0700
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 903880 part 4: Resolve stretched cross-size early, if we know the container's cross size, and use the result when establishing main size. r=dbaron
3b1150c824f9ef2757226be9acd85f390fa12952
created 2013-10-31 19:39 -0700
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 903880 part 3: Convert "ResolveStretchedSize" into a member-function on FlexItem. r=dbaron
fba3076a72172e4270ff12533acad47187d1173b
created 2013-10-31 19:39 -0700
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 903880 part 2: Resolve the flex base size produced by "height:auto" *after* we create a FlexItem object. r=dbaron
1da39672c24378182e72912987e33eabd0edc5be
created 2013-10-31 19:39 -0700
pushed 2014-02-04 01:06 +0000
Daniel Holbert Daniel Holbert - Bug 903880 part 1: Create a helper-function to set a flex item's base size (and update its hypothetical main size). r=dbaron
less more (0) -100 -60 tip