Daniel Holbert
8fe3619909
Bug 885424 part 3: Rename flexContainerMainSize to contentBoxMainSize, for clarity, and mark that & 'frameMainSize' as const. r=dbaron
2013-07-09 14:38:59 -07:00
Daniel Holbert
53cc5bac00
Bug 885424 part 2: Perform flexbox main-axis alignment separately from cross-size determination, to more closely match the ordering of steps in flexbox spec. r=dbaron
2013-07-09 14:38:59 -07:00
Daniel Holbert
01c79df260
Bug 885424 part 1: Set aStatus at the very beginning of flexbox reflow, and call NS_FRAME_SET_TRUNCATION at the very end. r=dbaron
2013-07-09 14:38:59 -07:00
Daniel Holbert
4ee4f4c2a6
Bug 885424 part 0: Shift declarion of 'frameCrossSize' down to where it's actually used. r=dbaron
2013-07-09 14:38:59 -07:00
Justin Lebar
8cc88f21ce
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
de89040a2c
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Daniel Holbert
24d88eaa57
(no bug) Improve/correct some comments in nsFlexContainerFrame::Reflow. comment-only, DONTBUILD
2013-06-20 12:05:35 -07:00
Daniel Holbert
39c831c671
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
6e4f676e52
Bug 876074: Soften flexbox assertion about out-of-order children, since it's not dangerous and it can be triggered by unrelated-to-flexbox tree mutations. r=bz
2013-05-28 09:39:02 -07:00
Daniel Holbert
6cd9a76182
Bug 825810 part 2: When digging for a flex item's first non-anonymous descendant, check table caption list & column-group list. r=bz
2013-05-22 11:59:36 +08:00
Daniel Holbert
672afee4c6
Bug 825810 part 1: Make GetFirstNonAnonBoxDescendant() okay with receiving & returning null frame pointers. r=bz
2013-05-22 11:59:35 +08:00
Daniel Holbert
783fb79af6
Bug 873172: When checking whether a flex item is generated content, skip past any anonymous boxes around it. r=bz
2013-05-19 11:37:56 +08:00
Daniel Holbert
c9073df319
(no bug, comment-only) s/:before/::before/ in one comment, for consistency with rest of the comment. DONTBUILD
2013-05-16 15:02:16 -07:00
Daniel Holbert
663cbd631b
Bug 870555 part 2: Add nsFlexContainerFrame::GetSkipSides specialization. r=mats
2013-05-09 20:10:49 -07:00
Daniel Holbert
658c3b637b
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
9a52173441
Bug 858332: Make flex items pseudo-stacking contexts, per recent spec change. r=mats
2013-04-18 09:51:18 -07:00
Joshua Cranmer
697498ab75
Bug 856108 - Port static analyses to clang, part 2e: use MOZ_STACK_CLASS in layout. r=mats
2013-04-11 22:20:45 -05:00
Daniel Holbert
f830f8c991
Bug 785468: Compute flex container's baseline as-described in the spec. r=dbaron
2013-03-29 18:32:08 -07:00
Daniel Holbert
46fb411141
Bug 853946: Replace flex container's cached content-box cross-size and cached ascent with local variables in Reflow(). rs=Waldo
2013-03-29 18:32:03 -07:00
Daniel Holbert
3f1c120f49
Bug 854263: Add special-case for flex items that are instances of nsFrame, whose trivial reflow impl doesn't request enough space for its border/padding. r=dbaron
2013-03-28 01:50:21 -07:00
Daniel Holbert
3263b0600e
Bug 848539 part 3: Back out part of 076d87bf30d0, bug 666041 part 7 (flexbox frame class impl -- just removing the code that deals with min-height:auto). r=dbaron
2013-03-27 23:33:19 -07:00
Daniel Holbert
ecebc4f3df
(no bug) Fix indentation of multi-line std::max invocations in nsFlexContainerFrame. Whitespace-only, DONTBUILD
2013-03-22 12:13:51 -07:00
Daniel Holbert
d4cd33fda2
Bug 851607: Make nsFlexContainerFrame::Reflow reflow its children unconditionally. r=dbaron
2013-03-15 22:40:57 -07:00
Daniel Holbert
711fd9e3df
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
2013-03-14 01:18:53 -07:00
David Zbarsky
1c27c4d045
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
Daniel Holbert
6eb8679853
Bug 841847: Ensure that we reflow a flex container's children, if any of them received a "measuring" reflow. r=dbaron
2013-02-22 22:32:30 -08:00
L. David Baron
ca6c366dc6
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Robert O'Callahan
b18cd55753
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
2013-02-15 00:12:27 +13:00
Robert O'Callahan
3ac2cf9858
Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
2013-02-15 00:08:08 +13:00
L. David Baron
3c5d51984d
Bug 841789, patch 1: Rename nsIFrame::GetStyleContext() to nsIFrame::StyleContext() since it can never return null. r=dholbert
...
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
2013-02-15 21:38:33 -08:00
Daniel Holbert
0145ba3c1f
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
ef8212b721
(no bug) Fix comment in typo, and remove stale XXXdholbert comment. Comment-only, DONTBUILD
2013-01-17 21:32:31 -08:00
Mats Palmgren
7532b4e736
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Daniel Holbert
6ff5a0f433
Bug 826149 - Add IsFrameTreeTooDeep() early-return in flex container reflow. r=dbaron
2013-01-07 21:29:22 -05:00
Daniel Holbert
caf25a9b12
Bug 821449: Marked flex items whose height is stretched (via "align-items/align-self") as having a relative height. r=dbaron
2012-12-26 12:31:23 -08:00
Daniel Holbert
5b36f168ae
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
dc36f2e01b
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
ba961f9a3f
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
0ddf3d880b
Backed out changeset 9430676f5442 (bug 808767) for Android R3 failures.
2012-11-29 17:55:50 -05:00
Daniel Holbert
8f697faade
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
Boris Zbarsky
b6ab89a435
Bug 815671 part 7. Fixes to layout code to not copy arrays implicitly. r=roc
2012-11-29 11:14:14 -05:00
Daniel Holbert
87a04479ef
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
Ehsan Akhgari
ce141d03d3
Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert
2012-11-13 22:47:33 -08:00
Daniel Holbert
bef809d801
Bug 804089: Call DidReflow() after "measuring" reflow of flex item, to clear any intermediate state before our *real* ReflowChild() call. r=dbaron
2012-11-11 10:53:57 -08:00
Mats Palmgren
c91252498a
Bug 806056 - Make nsContainerFrame destroy abs/fixed pos. child frames unless a derived class already did so. Assert that there are no abs/fixed pos. child frames in nsFrame::DestroyFrom(). r=roc
2012-11-02 01:52:59 +01:00
Nathan Froyd
cb4c9c2a0d
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Daniel Holbert
5eade8bd70
Bug 799207: Reduce severity of assertion that checks baseline of flex item against sentinel value. r=dbaron
2012-10-16 19:04:33 -07:00
Daniel Holbert
8b89b5e96c
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
57efa452ff
Bug 798020: Reduce severity of fatal assert about unconstrained-width flexbox, since gigantic widths in web content can reach our "unconstrained" sentinel value, and it's not actually dangerous. r=dbaron
2012-10-16 19:04:23 -07:00
Daniel Holbert
3f2b0a6507
Bug 801098: Unprefix flexbox properties & keywords (still preffed off by default). r=dbaron
2012-10-15 12:42:43 -07:00