Jonathan Kew
d44aaf1e5a
bug 735577 - followup 1 - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc
2013-12-29 22:04:02 +00: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
Cameron McCormack
f7f2c264fe
Bug 945517 - Make nsIFrame::GetPseudoElementContent return Element* instead of nsIContent*. r=bz
2013-12-03 15:49:03 +11:00
Cameron McCormack
7f26a46040
Bug 944246 - Make getComputedStyle pass in anonymous content when resolving pseudo-element style. r=bz
2013-12-03 10:57:50 +11:00
Cameron McCormack
608e0523a1
Bug 922669 - Part 4: Pass in anonymous content nodes when restyling any pseudo-elements that can match user action pseudo-classes. r=bz
2013-11-28 17:46:38 +11:00
Ehsan Akhgari
056bbb71e7
Bug 909927 - Minimize the #includes in layout/forms; r=mats
2013-08-28 10:30:02 -04:00
Ehsan Akhgari
45b9b9b617
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
David Zbarsky
b66cf65b5c
Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv
2013-08-01 15:24:22 -07:00
David Zbarsky
f49349041b
backout Bug 893117 for mochitest failure
2013-08-01 01:54:09 -07:00
David Zbarsky
930bad7d30
Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv
2013-07-31 23:12:38 -07:00
Nicholas Cameron
f1aa20fe03
Bug 895873 - backout bug 893117 for Win8 mc bustage
2013-07-30 23:32:35 -04:00
David Zbarsky
1a3337d7ba
Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv
2013-07-30 14:55:11 -07:00
Jonathan Watt
49d9e5c348
Bug 842128 - Don't call nsLayoutUtils::GetFontMetricsForFrame in nsProgressFrame::ComputeAutoSize. r=dbaron.
2013-02-19 12:48:46 +00: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
Jonathan Watt
69fde4614e
Bug 835883 - Give the -moz-orient property an 'auto' value, and make that its initial value. r=dholbert.
2013-02-02 19:13:22 +01: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
Nathan Froyd
fde4327000
Bug 796129 - remove prtypes #includes in layout/
2012-10-01 17:12:57 -04:00
Matt Woodrow
e813da3696
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Ed Morley
ed4fe023b5
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
24eaff95c9
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Peter Van der Beken
817be9d200
Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
2012-09-05 22:49:53 +02:00
Boris Zbarsky
d531f48c16
Bug 785754. Fix handling of max-height for frame classes that still seem to think that the mComputedMinHeight/mComputedMaxHeight of a reflow state are border-box heights, not content-box heights. r=mats
2012-08-27 15:46:23 -04:00
Ehsan Akhgari
243c878d26
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
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Ehsan Akhgari
d07e155f48
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
David Zbarsky
9050aef271
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Matt Woodrow
145d424c02
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Ed Morley
7212749e9b
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
2548b743d5
Remove width determination parameters from font inflation methods. (Bug 747720, patch 5) r=roc
...
These are no longer needed since we're getting the width from the
nsFontInflationData.
2012-05-20 22:18:28 -07:00
L. David Baron
c6e45feee7
Switch nsLayoutUtils inflation methods to the new setup with state on the pres context. (Bug 706609, patch 5) r=roc
...
This is the third of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:29 -08:00
Mats Palmgren
8fe75b1c1b
Bug 515530 - Remove nsHTMLContainerFrame. r=roc
2011-12-27 21:18:48 +01:00
L. David Baron
9c95c3d00a
Make other users of font metrics (other than MathML and XUL) honor font size inflation. (Bug 627842, patch 15) r=roc
...
This does not address users of font metrics in layout/mathml/ (for text
size and alignment issues) or in layout/xul (for text size and sizing of
listbox and tree widgets): see all the callers of GetFontMetricsFor*
in those directories.
2011-11-23 18:48:23 -08:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Mounir Lamouri
eba220555c
Bug 680747 - Set a min and pref width to nsProgressFrame. r=dbaron
2011-08-23 00:30:33 +02:00
Mounir Lamouri
62290d546e
Bug 680518 - Progress element should invalidate itself when the bar size changes. r=roc
2011-08-22 15:00:24 +02:00
Mounir Lamouri
c9e61d6f91
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-20 12:18:54 -07:00
Jonas Sicking
572a8d4beb
Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz
2011-06-14 00:56:49 -07:00
Mounir Lamouri
319b925d79
Bug 661113 - Progress bars with -moz-orient: vertical should have vertical dimensions by default. r=roc
2011-06-01 12:27:46 +02:00
Mounir Lamouri
d449deb3f1
Bug 638540 - Progress element should be shown vertically when -moz-orient value is 'vertical'. r=roc
2011-05-16 12:56:06 +02:00
Mounir Lamouri
bcb321d454
Bug 654990 - Don't use SetInitialChildList to specify the style context of the progress bar anonymous child. r=bz
2011-05-09 18:42:58 +02:00
Mounir Lamouri
8ad527bfb2
Bug 638176 - Make <progress> friendly with -moz-appearance:none and author styling. r=bz
2011-05-06 12:00:30 +02:00
Mounir Lamouri
30756a86bc
Bug 642667 - Let authors set the progress bar's width when in indeterminate state. r=dbaron
2011-05-06 11:56:47 +02:00
Mounir Lamouri
f6e1292c54
Bug 633209 - Add ::-moz-progress-bar to access the anonymous div inside the progress element. r=dbaron
2011-05-06 11:52:05 +02:00
Mounir Lamouri
175eb8578d
Bug 567872 - Layout part of the progress element. r=roc,dbaron
2011-05-10 14:59:07 +02:00