Jonathan Kew
4ca45386c7
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
e8b0aaddab
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
40ecc85b89
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
6b10d5e43e
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
0549a155fe
Bug 1055658 part 4 - Revert RubyReflowState. r=dbaron
2015-01-13 20:04:41 +11:00
Nigel Babu
2492f633d1
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
cdb8162daf
Bug 1055658 part 4 - Revert RubyReflowState. r=dbaron
2015-01-12 14:31:55 +11:00
Xidorn Quan
6e53ba9ae1
Bug 1116037 part 11 - Add RubyReflowState for sharing states between ruby level boxes. r=dbaron
2014-12-30 11:16:30 +11:00
Mats Palmgren
10850c6b88
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
45d9237594
Bug 1108923 - Update comments to reflect the newly logicalized parameters. r=smontagu
2014-12-11 11:16:22 +00:00
Jonathan Kew
badbe7b416
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
409cfbb56a
Bug 1105828 patch 1: Avoid using UNCONSTRAINEDSIZE in CalculateBlockSideMargins, r=jfkthame
2014-11-28 06:53:57 -08:00
Jonathan Kew
cdf9a3916d
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
06e875cd35
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
4cfdc5a174
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
e9043802fd
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
b15e11bc92
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]
1ced7f8fb8
Bug 1085311 - Vertical writing-mode support for single-line <input> fields. r=jfkthame
2014-11-04 15:45:00 +01:00
Jonathan Kew
15f143790a
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
ae6c33c760
Bug 1083892 - Make CalculateBlockSideMargins work with logical coordinates. r=smontagu
2014-10-24 12:24:39 +01:00
Simon Montagu
0510b50391
Bug 1083748. Pass inline-size, not width, to ComputeSize. r=jfkthame
2014-10-22 06:34:44 -07:00
Jonathan Kew
48560f7840
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
670778f5d9
bug 1046950 pt 2 - convert ComputeSize to use logical-coordinate parameters. r=smontagu
2014-08-24 15:34:44 +01:00
Jonathan Kew
fe8090d7de
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
0132cc9646
Bug 789096 patch 9: use logical coordinates in nsHTMLReflowState available size. r=jfkthame
2014-07-24 01:28:46 -07:00
Daniel Holbert
c491e60cd0
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
bd6ee508c0
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
edd7b79036
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
92f07f8df2
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
ce2922a6ab
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
a964d05cbd
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
d13c1e6380
Bug 982355 - Support disclosure-{open,closed} counter styles. r=jfkthame
2014-06-13 17:34:00 +02:00
Xidorn Quan
b214cee292
Bug 966166 - Part 3: Link to other parts. r=dbaron
2014-06-11 21:12:00 -04:00
Mats Palmgren
3e840742f8
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
bb6dd743b8
Make nsLineBox.mBounds a LogicalRect. Bug 789096, r=jfkthame
2014-04-16 01:03:28 -07:00
L. David Baron
480a432653
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
62eebe314c
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
68a6d16355
Bug 349259 patch 1: Add an nsIContent* parameter to nsHTMLReflowState::CalcLineHeight. r=bz
2014-03-12 20:33:21 -07:00
Simon Sapin
16288d5b87
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
e39235572d
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
96a2e3fb55
Bug 968029 - Use unprefixed box-sizing in content/, dom/, layout/, and widget/. r=dbaron
2014-02-06 12:32:05 -07:00
Daniel Holbert
3c72a7d88f
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
76ac60125a
Bug 961354 part 1: Move nsCSSOffsetState constructor definition to .cpp file. r=mats
2014-01-20 14:02:18 -08:00
Robert O'Callahan
6bd92d872f
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
2014-01-15 22:47:36 +13:00
Jonathan Kew
279981cdc3
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
4796e463bc
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
d22cec351a
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
Ehsan Akhgari
54c16622f8
Bug 921753 - Part 3: Avoid #including nsStyleStructInlines.h in nsHTMLReflowState.h; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1362 to 1268.
2013-10-01 17:01:49 -04:00
Ehsan Akhgari
7c63dd132d
Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1782 to 1582.
2013-10-01 17:00:38 -04:00
L. David Baron
6f4539fad6
Bug 828312 patch 9a: Make sticky positioning handle block-in-inline splits correctly. r=dholbert
...
This assumes that the specification for how position:sticky behaves for
block-in-inline splits matches the specification for position:relative,
in other words, matches
http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level .
It's also necessary for patch 9b since the new rule for handling of
style change hints is that a style change hint applies to all
continuations and all block-in-inline siblings ("special siblings").
The change in StickyScrollContainer::GetScrollRanges is really the fix
for bug 918994, but adjusted for the change here to use block-in-inline
siblings ("special siblings") in addition to continuations.
2013-09-25 12:28:08 -07:00