Commit Graph

4305 Commits

Author SHA1 Message Date
Ryan VanderMeulen
eb66260ea3 Speculatively backout changeset e8d73b8ba1a1 (bug 825720) for Android armv6 reftest 2 timeouts. 2013-02-20 12:20:12 -05:00
Seth Fowler
2ad970af3d Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe 2013-01-10 19:38:34 -08:00
Karl Tomlinson
ee142b7297 b=842468 use scrollbar pref thickness instead of min for resizer size r=roc 2013-02-20 11:03:48 +13:00
Matt Brubeck
78780585a0 Back out dd103ec4c44b through fba3a342a530 because of B2G test failures on a CLOSED TREE
--HG--
rename : toolkit/system/gnome/nsSystemAlertsService.cpp => toolkit/system/gnome/nsAlertsService.cpp
rename : toolkit/system/gnome/nsSystemAlertsService.h => toolkit/system/gnome/nsAlertsService.h
2013-02-19 17:06:18 -08:00
Karl Tomlinson
e576081726 b=842468 use scrollbar pref thickness instead of min for resizer size r=roc
--HG--
extra : rebase_source : e635ec1870663f459b7e9215dc2b8bc009dec1c0
2013-02-20 11:03:48 +13:00
Jonathan Kew
4a6209493f bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc 2013-02-19 21:46:27 +00:00
Gregory Szorc
acc18b8c64 Merge mozilla-central into mozilla-inbound 2013-02-18 21:20:12 -08:00
Olli Pettay
dc2243899a Bug 842132 - Crash with contentEditable, selection.deleteFromDocument with overlapping selection ranges, r=tbsaunde 2013-02-18 18:32:32 +02:00
Ryan VanderMeulen
10bb153b4f Backed out changeset 645cb4fbf390 (bug 842132) for build bustage. 2013-02-18 11:12:16 -05:00
Olli Pettay
7da38b2a1a Bug 842132 - Crash with contentEditable, selection.deleteFromDocument with overlapping selection ranges, r=tbsaunde 2013-02-18 17:33:49 +02:00
Daniel Holbert
86594df5d1 (no bug) Remove stale documentation for a nsAbsoluteContainingBlock::Reflow() argument that was removed from the code in 2006. comment-only, DONTBUILD 2013-02-17 01:03:19 -08:00
L. David Baron
1162fa289b Bug 781360 patch 4: Remove the Get from nsStyleContext::GetStyleData and nsIFrame::GetStyleDataExternal, which never return null. r=dholbert 2013-02-16 13:51:03 -08:00
L. David Baron
822b2ca3bc 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
e1162bb557 Bug 781360 patch 2: Rename nsRuleNode::GetPresContext to PresContext, since it can never return null. r=dholbert 2013-02-16 13:04:54 -08:00
L. David Baron
f756f736e2 Bug 781360 patch 1: Rename nsStyleContext::GetRuleNode to RuleNode, 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".

nsStyleContext's rule node is never null because we require a rule node
in order to construct a style context.
2013-02-16 13:04:53 -08:00
Daniel Holbert
5601dc5fa0 Bug 834107: Replace helper-function GetContainingBlockFor() with direct calls to nsIFrame::GetContainingBlock(), in nsComputedDOMStyle.cpp. r=dbaron 2013-02-16 10:34:34 -08:00
Wes Johnston
e38c741da9 Bug 838256, part 1 - Initial work on the layout pieces for <input type=range>. DONTBUILD separately from jwatt's changeset (the next one) to finish this work. r=dholbert for the combined diff. 2013-02-16 17:57:21 +00:00
Daniel Holbert
8743c2db79 Bug 841988: Declare loop iterator variables inside the "for" statement in nsTextFrameThebes.cpp, for better scoping. r=roc 2013-02-16 09:27:31 -08:00
Mats Palmgren
17d5ff653f Bug 822910. r=roc 2013-02-19 02:44:14 +01:00
Robert O'Callahan
d9665619b9 Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
--HG--
extra : rebase_source : de498510bf8d85d9b0b2fab0137ef3be01c9adfa
2013-02-15 00:12:27 +13:00
Robert O'Callahan
59dfd955a1 Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
--HG--
extra : rebase_source : 50a3d6809ef76a25a3d02d91f2873d9ba11fdc56
2013-02-15 00:08:08 +13:00
L. David Baron
01a5b0481c Bug 841789, patch 3: Some removal of unneeded style context null-checks and comment cleanup. r=dholbert 2013-02-15 21:38:34 -08:00
L. David Baron
5464b49cb0 Bug 841789, patch 2: Fix callers that are going through the style context to get style structs rather than using the nsIFrame shortcuts. r=dholbert
This is just a code simplification that I noticed while reading through
patch 1.
2013-02-15 21:38:34 -08:00
L. David Baron
63fdfec174 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
Daniel Holbert
db5d7928b8 Bug 821775: Set mHResize & mVResize flags when doing the actual reflow of a flex item, if we did an earlier "measuring" reflow and we're now stretching the item in either or both dimensions. r=dbaron 2013-02-15 14:01:48 -08:00
Trevor Saunders
4bc29b1b63 bug 841706 - remove nsSelectionIterator r=smaug 2013-02-15 05:52:57 -05:00
Trevor Saunders
ef3a9cb704 bug 841430 - nuke nsIEditorDocShell r=bz 2013-02-13 17:39:30 -05:00
Ed Morley
3288d5e24a Backed out changeset 2c860c4bb820 (bug 840902) on a CLOSED TREE 2013-02-15 09:05:36 +00:00
Ed Morley
7054010458 Backed out changeset 6c21598704ac (bug 840902) 2013-02-15 09:05:07 +00:00
Robert O'Callahan
34c090a860 Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
--HG--
extra : rebase_source : ce01b066f803e048c0e38e5316ce96a75e689418
2013-02-15 00:12:27 +13:00
Robert O'Callahan
e5e7f8c6aa Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
--HG--
extra : rebase_source : b7db21120cdd96342502db64916b0b2e75c0a9c3
2013-02-15 00:08:08 +13:00
Timothy Nikkel
b4d7b6c076 Bug 830479. Fix fatal build warning about unsigned/signed comparison on CLOSED TREE. r=me 2013-02-14 11:57:50 -06:00
Timothy Nikkel
9c34c4933d Bug 830479. Account for multiple fixed elements acting as headers and footers when doing full page scrolling. r=roc 2013-02-13 22:36:02 -06:00
Ed Morley
ea6cb39072 Backed out changeset b1905f6653d4 (bug 840902) on a CLOSED TREE 2013-02-14 11:47:08 +00:00
Ed Morley
965aa7fea1 Backed out changeset 1bd3acba4c01 (bug 840902) 2013-02-14 11:46:42 +00:00
Robert O'Callahan
63c9bc56bf Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
--HG--
extra : rebase_source : 2236b75807639d54a39950d06cd18cfc952659f3
2013-02-15 00:12:27 +13:00
Robert O'Callahan
0b8b76fcca Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
--HG--
extra : rebase_source : f90be285148c68fae306d09714f0fe642b490c45
2013-02-15 00:08:08 +13:00
Ryan VanderMeulen
4eb7a2418e Backed out changeset a0db951f9f08 (bug 810726) for reftest asserts. 2013-02-13 17:37:18 -05:00
Scott Johnson
595d08e915 Bug 810726: Rework logic in nsColumnSetFrame for handling overflow to prevent infinite loop problems. [r=roc] 2013-02-13 14:39:40 -06:00
Daniel Holbert
2a2cc2f06b Bug 837000: Remove nsBlockReflowState.h's essentially-unnecessary #include of nsBlockFrame.h (and related cleanup). r=dbaron 2013-02-11 17:52:55 -08:00
Daniel Holbert
5a5743bb35 Bug 836954: Mark nsIFrame::GetBaseline() impls as MOZ_OVERRIDE. r=dbaron 2013-02-11 17:52:55 -08:00
Cameron McCormack
56456cb814 Bug 840041 - Handle all possible dominant-baseline values when mapping internally to a vertical-align value for SVG text. r=roc
--HG--
extra : rebase_source : e5cc5996297e85a544a37b7a17e3be80e87d2489
2013-02-12 10:32:48 +11:00
Cameron McCormack
f78e8bacaa Bug 655877 - Part 46: Paint SVG glyphs with new SVG text frame. r=roc,jwatt 2013-02-11 17:22:20 +11:00
Cameron McCormack
afc9fe4f91 Bug 655877 - Part 45: Fixes for DLBI. r=roc,jwatt 2013-02-11 17:22:20 +11:00
Cameron McCormack
8e315018d4 Bug 655877 - Part 41b: Make SVG text selectable with the mouse. r=roc,jwatt 2013-02-11 17:22:18 +11:00
Cameron McCormack
8e28ffb003 Bug 655877 - Part 31b: New frame class nsSVGTextFrame2 for SVG text using CSS block/inline/text frames for layout. r=jwatt 2013-02-11 17:22:16 +11:00
Mats Palmgren
8e3386eea7 Bug 839839 - Minor nsPlaceholderFrame code cleanup. r=dholbert 2013-02-11 03:28:50 +01:00
Mats Palmgren
e6c32ddc29 Bug 606642 - Do not remove the [Excess]OverflowContainers properties before destroying its frames. Carefully check after destroying each frame that the property is still alive. r=roc 2013-02-11 03:28:50 +01:00
Daniel Holbert
1847f48af3 Bug 839302: Simplify logic in nsBlockFrame::DrainSelfOverflowList, and replace delete w/ nsAutoPtr. r=mats 2013-02-07 17:19:57 -08:00
Trevor Saunders
d2d2b696cc bug 838570 - selection code can sometimes leak a range r=smaug 2013-02-07 06:05:24 -05:00