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
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
Simon Montagu
3a8d6ee30c
Bug 1079154 patch 3: logical versions of ApplyRelativePositioning, r=jfkthame
2015-01-06 23:10:07 -08: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
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
Jonathan Kew
a93db66c49
Bug 1079157 - part 3 - Make nsColumnSetFrame support vertical writing mode. r=smontagu
2014-12-04 00:57:17 -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 [: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
9d780407e0
Bug 1083892 - Make CalculateBlockSideMargins work with logical coordinates. r=smontagu
2014-10-24 12:24:39 +01: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
Simon Montagu
c3b44c4dad
Bug 789096 patch 9: use logical coordinates in nsHTMLReflowState available size. r=jfkthame
2014-07-24 01:28:46 -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
Daniel Holbert
5752cf4397
Bug 961354 part 1: Move nsCSSOffsetState constructor definition to .cpp file. r=mats
2014-01-20 14:02:18 -08:00
Jonathan Kew
ed012895e7
bug 735577 - followup 2 - additional comments describing ISize/BSize in nsHTMLReflow{Metrics,State}.h. r=roc
2013-12-29 22:04:28 +00:00
Jonathan Kew
f79588b6f3
bug 735577 - pt 3.3 - provide logical-coordinate APIs in nsHTMLReflowState, parallel to the existing physical APIs. r=smontagu
2013-12-27 17:59:38 +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
Birunthan Mohanathas
e3709383ec
Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan
...
--HG--
extra : rebase_source : 0d0d9e11be9d39e4457bddd0bac7e19a50b91b0b
2013-10-08 14:47:21 -04:00
Ehsan Akhgari
44cb2c6702
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
Scott Johnson
de54adfdb5
Bug 794693, part 1: Refactor nsHTMLReflowState constructor to allow initialization to be done by caller. [r=dbaron]
2013-09-09 15:29:05 -05:00
Ehsan Akhgari
3b51534dbb
Bug 908746 - Move some macros from nsHTMLReflowState.h to nsIFrame.h so that we can stop #including nsHTMLReflowState.h in nsLayoutUtils.h; r=mats
2013-08-23 18:20:19 -04:00
Ehsan Akhgari
baf3a129ad
Bug 907883 - Minimize #includes in layout/generic; r=roc
...
--HG--
extra : rebase_source : 5e87b764a12b05aff477c71547e2131be67ca93b
2013-08-22 14:32:52 -04:00
Daniel Holbert
f6eaf0b859
(no bug) fix typo in comment in nsHTMLReflowState: s/frames/frame's/ DONTBUILD
2013-08-19 18:10:06 -07:00
Corey Ford
9adda71475
Bug 898794 - Store normal frame position before applying relative positioning. r=dbaron
2013-08-08 17:20:17 -07:00
Scott Johnson
997046b750
Bug 743402, Part 1: Add a GetConsumedHeight() function to nsSplittableFrame in order to retrieve the portion of the computed height that was consumed by previous-in-flows. [r=roc]
2013-07-25 10:34:12 -05:00
Ryan VanderMeulen
6e81109389
Backed out 6 changesets (bug 743402) for reftest failures on a CLOSED TREE.
...
Backed out changeset 19848fff857e (bug 743402)
Backed out changeset 049168537ae0 (bug 743402)
Backed out changeset 3098fea37f2d (bug 743402)
Backed out changeset ada93e976dca (bug 743402)
Backed out changeset c7907c54187f (bug 743402)
Backed out changeset 2edbbf6440c4 (bug 743402)
2013-07-24 15:14:04 -04:00
Scott Johnson
528cb9f1bf
Bug 743402, Part 1: Add a GetConsumedHeight() function to nsSplittableFrame in order to retrieve the portion of the computed height that was consumed by previous-in-flows. [r=roc]
2013-07-24 12:47:01 -05:00
Corey Ford
703e3044b9
Bug 893962 - Refactor the application of relative positioning. r=dbaron
2013-07-15 17:28:09 -07:00
Masayuki Nakano
65e843edc3
Bug 857820 part.1 Drop blink effect implementation r=dbaron
2013-04-14 19:11:07 +09:00
Daniel Holbert
87d29cc40e
Bug 851379, part 4: Fix InitOffsets logging code to display horizontal and vertical percent basis, instead of just a containing block width. r=mats
2013-04-11 07:51:58 -07:00
Daniel Holbert
4a0f769991
Bug 851379 part 2: Make ComputeMargin, ComputePadding, and InitOffsets take a horizontal *and* vertical percent basis, so that we can resolve vertical margins and padding against containing block *height* in flex items. r=mats
2013-04-11 07:51:52 -07:00
Scott Johnson
8c1c3e2ad7
Bug 600100, Part 2: Force a vertical resize even if our available height hasn't changed in anonymous blocks of a column set so we don't crash. [r=mats]
2013-04-08 13:38:33 -05:00
Daniel Holbert
cc665d3856
Bug 856199: Remove nsHTMLReflowState's no-longer-needed AutoRestore #include. r=dbaron
2013-03-29 18:34:17 -07:00
Ms2ger
753eea44c2
Bug 763399: Add a comment describing NS_CSS_MINMAX. r=dbaron
2013-01-21 14:14:49 +00:00
Mats Palmgren
b7ae90666d
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
8f5c5c9f3f
Bug 666041 patch 6.5: Add flag to nsHTMLReflowState & ComputeSize for measuring auto height. r=dbaron
2012-09-29 23:38:46 -07:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Charly Molter
0ca4358d6c
Bug 776265 - changing the way ComputeHeightValue works to make it work just
...
like ComputeWidthValue already does. this fixes {min,max}-height + adding
reftests for {min,max}-{height,width} r=mats
2012-08-08 17:58:26 +02:00
Cameron McCormack
7670328c6c
Bug 655877 - Part 16: Treat all values of display other than 'none' as 'inline' in SVG text frames. r=roc
2012-08-02 21:38:51 +10:00
Cameron McCormack
d7e9a93257
Bug 655877 - Part 14: Ignore float in SVG text frames. r=roc
2012-08-02 21:38:49 +10:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Elika Etemad
5186834e80
Bug 774835: Refactor nsHTMLReflowState::ApplyMinMaxConstraints to separate behavior of width and height. [r=roc]
...
--HG--
extra : rebase_source : c6a25e9c19c65d86013ddf8afc15026ca02321c4
2012-07-18 10:26:05 -04:00
L. David Baron
b71ce918a0
Don't mark intrinsic widths dirty for font inflation width changes at box/block boundaries. (Bug 764354) r=bzbarsky
2012-06-13 12:49:41 -07:00
Ehsan Akhgari
bdd1cdb13d
Bug 157681 - Part 2: Optimize positioned frame offset changes by moving the frame as opposed to reflowing it in case we know that the size of the frame will not change; r=dbaron
...
This patch adds a change hint to signal that one of the offsets on a
frame has been changed. When processing the hint, we do one of the
following things based on the position property of the frame.
* For static frames, we ignore the offset changes completely, as they
will not change the layout.
* For relative positioned frames, this patch refactors the
nsHTMLReflowState::ComputeRelativeOffsets function so that it can be
used from other callers, and it uses that to compute the new relative
offsets, and uses the offsets computed previously to compute the new
position of the frame.
* For absolute positioned frames, we set up a fake parent reflow state
object, and then we create a new reflow state object for the frame in
question. This setup is similar to what nsFrame::BoxReflow does.
Once we have the new reflow state object, we use it to compute the
absolute offsets, and then we use the computed offsets to set the new
position of the frame. The offset computation is similar to what
nsAbsoluteContainingBlock::ReflowAbsoluteFrame does. In some cases
where it is possible for the dimensions of the frame to change based
on the offset changes, we fall back to a full reflow.
2012-06-06 00:53:48 -04:00
Ed Morley
83427f0fe0
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00