Scott Johnson
f6523a81b1
Bug 877160: Backout patch for bug 794693 due to regressions. [r=mats]
2013-06-04 10:43:08 -05:00
Scott Johnson
a6dbf382f4
Bug 794693: Fix font inflation crash by reordering logic in nsHTMLReflowState::InitResizeFlags(). [r=mats]
2013-05-23 11:14:12 +08:00
Daniel Holbert
a7b6cde3b1
Bug 864553 part 2: Minor cleanup to formerly-ifdef-MOZ_FLEXBOX code. r=dbaron
2013-05-22 11:44:52 +08:00
Daniel Holbert
9ed3dd5f4a
Bug 864553 part 1: Remove ifdefs for MOZ_FLEXBOX and configure.in MOZ_FLEXBOX chunk. r=dbaron
2013-05-22 11:44:25 +08:00
Scott Johnson
07468ced83
Bug 836565, Part 2: Perform a horizontal resize reflow instead of a full reflow when reflowing on zoom to get better performance. [r=dbaron]
2013-05-14 14:24:14 -05:00
Daniel Holbert
4d51f69415
Bug 862947: Use cb height instead of width for vertical margins & padding on flex items, even when they're a reflow root (e.g. for measuring reflow states). r=mats
2013-04-23 09:01:34 -07:00
Daniel Holbert
c67aa61e5f
Bug 864579: Drop unnecessary const-removing casts from CalcQuirkContainingBlockHeight. r=heycam
2013-04-22 19:41:19 -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
Daniel Holbert
60802c6412
Bug 851379 part 1: Rename ComputeWidthDependentValue to ComputeCBDependentValue. r=mats
2013-04-11 07:49:53 -07:00
Daniel Holbert
d2633f4f5e
Bug 848539 part 5: Back out 6bb37077d615, bug 763689 part 2 (style-system handling for min-width:auto). r=dbaron
2013-03-27 23:33:19 -07:00
Daniel Holbert
be2fe498c8
Bug 848539 part 4: Back out 82f73bdb2237, bug 763689 part 3 (style-system handling for min-height:auto). r=dbaron
2013-03-27 23:33:19 -07:00
Daniel Holbert
de3f64fa29
Bug 848539 part 2: Back out de6a5c46a8ff, bug 666041 part 8 (special-handling for min-width:auto as min-content, for flex items). r=dbaron
2013-03-27 23:33:19 -07:00
Robert Longson
113516bb2d
Bug 848252 - Replace NS_FRAME_IS_SVG_TEXT checks with IsSVGText(). r=dholbert
2013-03-07 09:01:52 +00:00
L. David Baron
c5b9eee040
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
L. David Baron
50d4e367af
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
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
Boris Zbarsky
27793548d6
Bug 776443 part 2. Support percent-less calc for internal table element widths. r=dbaron
2012-11-21 11:19:37 -05:00
Boris Zbarsky
c882c3bf6c
Bug 776443 part 1. Support percent-less calc for internal table element heights. r=dbaron
2012-11-21 11:19:30 -05:00
Ryan VanderMeulen
8dd0402085
Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
...
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
b7cc9710e0
Bug 776443 part 2. Support percent-less calc for internal table element widths. r=dbaron
2012-11-21 11:19:37 -05:00
Boris Zbarsky
bc4ecacb2b
Bug 776443 part 1. Support percent-less calc for internal table element heights. r=dbaron
2012-11-21 11:19:30 -05:00
Daniel Holbert
8d95ac617b
Bug 666041 patch 8: Add special handling for "min-width: auto" value on flex items. r=dbaron
2012-09-29 23:38:46 -07:00
Daniel Holbert
e71e5f4161
Bug 666041 patch 7: implementation of flex container class for CSS3 flexbox. r=dbaron
2012-09-29 23:38:46 -07: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
Daniel Holbert
c62fdc18d3
Bug 763689 patch 3: Support min-height:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron
2012-09-04 16:26:11 -07:00
Daniel Holbert
bb17bc6aff
Bug 763689 patch 2: Support min-width:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron
2012-09-04 16:26:10 -07:00
Cameron McCormack
cd0de10329
Bug 782591 - Ensure needPaddingProp is always initialized in nsHTMLReflowState::InitOffsets. r=roc
2012-08-23 11:24:19 +10: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
5e22f14219
Bug 655877 - Part 15: Don't treat SVG text frames as being positioned. r=roc
2012-08-02 21:38:50 +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
Cameron McCormack
81bb83b657
Bug 655877 - Part 12: Ignore margins, borders and padding on SVG text frames. r=roc
2012-08-02 21:38:48 +10:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Daniel Holbert
be4abd4ade
Bug 777519: Remove unnecessary checks for min-height/max-height:auto in nsHTMLReflowState::InitResizeFlags. r=dbaron
2012-07-27 15:52:40 -07: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
Scott Johnson
780e089606
Bug 758079: Inflate margin of numeric list elements to prevent cut-off text during font inflation. [r=dbaron]
2012-07-10 10:46:07 -05:00
Cameron McCormack
6f599d230a
Bug 771879 - Minor code formatting tweaks. r=roc
2012-07-09 11:09:50 +10:00
Jonathan Watt
970e60a384
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01: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
L. David Baron
c11c707fff
Properly dirty intrinsic widths when doing things that change inflation. (Bug 759755, patch 3) r=roc
2012-06-11 13:57:35 -07:00
L. David Baron
41b3a3b4ea
Do the necessary reflow when our font inflation data changes. (Bug 759755, patch 2) r=roc/bzbarsky
2012-06-11 13:57:35 -07:00
L. David Baron
357e191b3a
Back out patches 2 and 3 of bug 759755 for causing intermittent failures of layout/reftests/font-inflation/container-with-clamping.html .
2012-06-10 17:36:18 -07:00
Ryan VanderMeulen
5f2a19ee6e
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
L. David Baron
525082031d
Make svg:foreignObject be considered a constrained height (now that I'm thinking about them). (Bug 759755, patch 4) r=roc
2012-06-10 13:02:23 -07:00
L. David Baron
f51bd8994d
Properly dirty intrinsic widths when doing things that change inflation. (Bug 759755, patch 3) r=roc
2012-06-10 13:02:23 -07:00
L. David Baron
d3fd87344e
Do the necessary reflow when our font inflation data changes. (Bug 759755, patch 2) r=roc
2012-06-10 13:02:23 -07:00