Jonathan Kew
786ce25f0b
Bug 1152941 - Always use unconstrained block-size when reflowing an orthogonal child block, to avoid incomplete reflow across orthogonal boundary. r=dbaron
2015-05-04 19:51:56 +01:00
Jonathan Kew
5e4b54b22c
Bug 1156021 - Use containing block inline-size (as appropriate for writing mode) to compute text-indent when specified as percentage. r=dbaron
2015-04-19 19:03:27 +01:00
Jonathan Kew
e54c9bd678
Bug 1151993 - Apply shrink-wrapping to block frames that are orthogonal to their containing block. r=smontagu
2015-04-07 19:56:58 +01:00
Jonathan Kew
eda6f033e5
Bug 1138495 - pt 3 - Compute font inflation based on inline-axis dimensions rather than always using physical width. r=smontagu
2015-03-10 14:28:23 +00:00
Jonathan Kew
f5b4780e94
Bug 1138495 - pt 1 - Rename NS_FRAME_IN_CONSTRAINED_HEIGHT flag to NS_FRAME_IN_CONSTRAINED_BSIZE, and set it appropriately according to writing mode. r=smontagu
2015-03-10 14:28:23 +00:00
Andrea Marchesini
3a19be88f5
Bug 1134280 - Get rid of Tag() - patch 2.7 - layout/generic - Fix all the occurrences, m=smaug, r=surkov
2015-03-03 11:09:00 +00:00
Andrea Marchesini
2c4f63331f
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Xidorn Quan
7969797ad3
Bug 1055658 part 4 - Revert RubyReflowState. r=dbaron
...
--HG--
extra : source : 27e60ddbd077439dadd09641ab54fc7eef09c69f
2015-01-13 20:04:41 +11:00
Nigel Babu
053a7d3408
Backed out 4 changesets (bug 1055658) for M5 bustage on a CLOSED TREE
...
Backed out changeset 3cbd9323c896 (bug 1055658)
Backed out changeset 99e071295c42 (bug 1055658)
Backed out changeset 55119d19e4c5 (bug 1055658)
Backed out changeset e82f640cb53f (bug 1055658)
2015-01-12 10:43:11 +05:30
Xidorn Quan
6ba35e648b
Bug 1055658 part 4 - Revert RubyReflowState. r=dbaron
...
--HG--
extra : source : 27e60ddbd077439dadd09641ab54fc7eef09c69f
2015-01-12 14:31:55 +11:00
Xidorn Quan
3013e06e68
Bug 1116037 part 11 - Add RubyReflowState for sharing states between ruby level boxes. r=dbaron
...
--HG--
extra : source : c4f342ece9c1548053348dbc317d9857cbe790b6
2014-12-30 11:16:30 +11:00
Mats Palmgren
1a7b0cc935
Bug 1108104 part 3 - Deal with the placeholder being on a different page than the out-of-flow frame. r=roc
2014-12-14 17:22:06 +00:00
Jonathan Kew
9c6ddfa771
Bug 1108923 - Update comments to reflect the newly logicalized parameters. r=smontagu
2014-12-11 11:16:22 +00:00
Jonathan Kew
f067b8adaf
Bug 1108923 - Use the correct containing box dimension as the percent basis for margin/padding in vertical writing modes. r=smontagu
2014-12-11 11:16:22 +00:00
Simon Montagu
a4a112e2b6
Bug 1105828 patch 1: Avoid using UNCONSTRAINEDSIZE in CalculateBlockSideMargins, r=jfkthame
2014-11-28 06:53:57 -08:00
Jonathan Kew
e117c33e3d
Bug 1077528 - part 1 - Provide physical and logical accessors for the m{HV}Resize flags in nsHTMLReflowState, and convert all flag users to the accessor methods. r=smontagu
2014-11-28 09:44:02 +00:00
Jonathan Kew
6ce2710325
Bug 1096224 - part 1 - CalculateBlockSideMargins should be working in the containing block's writing mode. r=smontagu
2014-11-26 10:24:16 +00:00
Xidorn Quan
d25178b0db
Bug 1052924 - Resolve some warnings. r=dbaron
...
Important changes:
* Change base class of nsRuby{Base,Text}Frame to nsInlineFrame
* Make ComputeSize of nsRubyFrame and nsRubyBaseContainerFrame behavior like inline frames
2014-11-26 15:52:49 +11:00
Jonathan Kew
9a4427f454
Bug 1103613 - Use better inline-size for an orthogonal flow within a block of specified dimensions. r=smontagu
2014-11-24 21:44:06 +00:00
Jonathan Kew
8412cec73a
Bug 1096260 - Convert flags parameter of nsIFrame::ComputeSize from uint32_t to a typed enum, and update callers accordingly. r=dholbert
2014-11-11 11:02:41 +00:00
Xidorn Quan [:xidorn]
81efa1ff0f
Bug 1085311 - Vertical writing-mode support for single-line <input> fields. r=jfkthame
2014-11-04 15:45:00 +01:00
Jonathan Kew
059325187d
Bug 1088547 - Don't pass NS_UNCONSTRAINEDSIZE as inline-size constraint to ComputeSize. r=smontagu
2014-10-25 12:09:25 +01:00
Jonathan Kew
9d780407e0
Bug 1083892 - Make CalculateBlockSideMargins work with logical coordinates. r=smontagu
2014-10-24 12:24:39 +01:00
Simon Montagu
054cfcfbaa
Bug 1083748. Pass inline-size, not width, to ComputeSize. r=jfkthame
2014-10-22 06:34:44 -07:00
Jonathan Kew
636b4bc534
bug 1061170 - constrain the reflow-state's available inline size for an orthogonal flow. r=smontagu
2014-09-03 16:43:03 +01:00
Jonathan Kew
a5a5cf98e5
bug 1046950 pt 2 - convert ComputeSize to use logical-coordinate parameters. r=smontagu
2014-08-24 15:34:44 +01:00
Jonathan Kew
55170c430a
bug 1031241 pt 3 - Also rename Intrinsic{Width,Height} to Intrinsic{I,B}Size. r=smontagu
2014-07-24 18:03:26 +01:00
Simon Montagu
c3b44c4dad
Bug 789096 patch 9: use logical coordinates in nsHTMLReflowState available size. r=jfkthame
2014-07-24 01:28:46 -07:00
Daniel Holbert
5a5a3f91dc
Bug 1015474 part 1: Update behavior of "min-width:auto"/"min-height:auto" to match current spec text. r=mats
...
This updates min-width:auto / min-height:auto to now take several more things
into account, beyond just a flex item's min-content size. Now we'll also
consider its used 'flex-basis', its main max-size property ('max-width' or
'max-height'), and its intrinsic ratio & any constraints in the other
dimension.
2014-07-22 08:24:37 -07:00
Daniel Holbert
eaec3c09b3
Bug 984711 part 6: Add back special handling for min-width:auto in nsHTMLReflowState & getComputedStyle. (no review; just an unbitrotted backout)
...
This reverts changeset 1eae876d6c3a from bug 848539.
2014-07-22 08:24:35 -07:00
Daniel Holbert
5e5bbcdeba
Bug 984711 part 4: Add back handling for nsStylePosition::mMinHeight having "eStyleUnit_Auto" in style system & general layout code. (no review; just an unbitrotted backout)
...
This reverts changeset 5db313632268 from bug 848539.
2014-07-22 08:24:35 -07:00
Daniel Holbert
54db21c8c7
Bug 984711 part 3: Add back handling for nsStylePosition::mMinWidth having "eStyleUnit_Auto" in style system & general layout code. (no review; just an unbitrotted backout)
...
This reverts changeset f8b5090d02e5 from bug 848539.
2014-07-22 08:24:34 -07:00
Jonathan Kew
28b36e1b0b
bug 789096 patch X - avoid some unconstrained-width (should be -isize) warnings with mixed writing modes. r=smontagu
2014-07-10 10:11:33 +01:00
Mats Palmgren
bc57558dd7
Bug 1032450 - Flag the reflow state for a table frame as a "dummy" state if its parent state is. r=roc
...
InitCBReflowState() copies the mCBReflowState from the parent
reflow state for table frames, which is null for "dummy" states,
so it would lead to a crash in InitConstraints() which assumes
non-dummy states has a non-null mCBReflowState.
2014-07-04 11:48:15 +00:00
Xidorn Quan
603c17d06a
Bug 982355 - Support disclosure-{open,closed} counter styles. r=jfkthame
2014-06-13 17:34:00 +02:00
Xidorn Quan
c011970f03
Bug 966166 - Part 3: Link to other parts. r=dbaron
2014-06-11 21:12:00 -04:00
Mats Palmgren
ca7136dba2
Bug 1008969 - part 1, Initialize the nsHTMLReflowState "frame type" correctly for display:grid/inline-grid. Add nsIFrame::IsFlexOrGridItem(), and use it to share some flexbox code in nsHTMLReflowState. r=dholbert
2014-05-12 21:16:05 +00:00
Simon Montagu
f8a68ec80e
Make nsLineBox.mBounds a LogicalRect. Bug 789096, r=jfkthame
2014-04-16 01:03:28 -07:00
L. David Baron
5497920b1a
Bug 697451 - Stop overriding line-height (max-ing with 1.0) on inputs other than single-line text inputs. r=bzbarsky
...
This allows *native-themed* button-type inputs to shrink more than
Chromium allows them to, but it might still be Web-compatible.
2014-03-14 17:00:12 -07:00
L. David Baron
0af67c538b
Bug 349259 patch 2: Prevent html:input elements from having a line-height smaller than 1. r=bz
2014-03-12 20:33:21 -07:00
L. David Baron
3ad78c87f5
Bug 349259 patch 1: Add an nsIContent* parameter to nsHTMLReflowState::CalcLineHeight. r=bz
2014-03-12 20:33:21 -07:00
Simon Sapin
d75e3393a7
Bug 975501 part 1: Add a XUL prefix to existing internal GRID constants. r=dholbert
2014-02-26 23:43:18 -08:00
L. David Baron
c5c5881d3f
Bug 91419 patch 1: Rename NS_FRAME_IS_SPECIAL to NS_FRAME_PART_OF_IBSPLIT. r=mats
2014-02-06 17:45:28 -08:00
Alex Henrie
5b028ed455
Bug 968029 - Use unprefixed box-sizing in content/, dom/, layout/, and widget/. r=dbaron
2014-02-06 12:32:05 -07:00
Daniel Holbert
d0e81da0c7
Bug 965897: Assert that we have the right prescontext in nsHTMLReflowState constructor, and convert some existing NS_PRECONDITION null-checks into MOZ_ASSERTs. r=mats
2014-02-06 01:02:12 -08:00
Daniel Holbert
5752cf4397
Bug 961354 part 1: Move nsCSSOffsetState constructor definition to .cpp file. r=mats
2014-01-20 14:02:18 -08:00
Robert O'Callahan
9fee26b161
Bug 157846. Part 0.1: When reflowing a non-rootframe reflow root, preserve its used padding in case that differs from its CSS computed padding for some reason. r=mats
...
--HG--
extra : rebase_source : 15631dc5a5f40dc2d95b1eaa7698fba635763626
2014-01-15 22:47:36 +13:00
Jonathan Kew
a7837e1ffa
bug 735577 - pt 4.1 - use accessor functions for some physical-coordinate fields in nsHTMLReflowMetrics, in preparation for logicalization. r=smontagu
2013-12-27 17:59:52 +00:00
Jonathan Kew
954a119d07
bug 735577 - pt 3.2 - update the rest of layout code to use the new accessors on nsHTMLReflowState. r=smontagu
2013-12-27 17:59:21 +00:00
Jonathan Kew
478577ada4
bug 735577 - pt 3.1 - make width/height/offset/margin fields in nsHTMLReflowState private, and provide accessor functions. r=smontagu
2013-12-27 17:59:02 +00:00