L. David Baron
9f0532a6a2
Bug 841983: Require whitespace around 'not', 'and', and 'or' keywords in @supports rules. r=heycam
...
Matches spec change in https://dvcs.w3.org/hg/csswg/rev/34b185ae3bac .
2013-02-16 21:29:38 -08:00
Zack Weinberg
3f37059b40
Bug 543151, part A4: unify the inner text-scanning loops used by GatherIdent, ScanString, NextURL. r=heycam
2013-02-16 18:27:53 -05:00
Zack Weinberg
4ad41ccb2d
Bug 543151, part A3: convert the scanner to use peek/advance. r=heycam
2013-02-16 18:27:53 -05:00
Zack Weinberg
dd23fa075d
Bug 543151, part A2: Introduce the new peek/advance API and reimplement the old read/pushback API on top of it. r=heycam
2013-02-16 18:27:53 -05:00
Zack Weinberg
7dc7416d1e
Bug 543151, part A1: Preliminary cleanups to the scanner/parser interface and the organization of nsCSSScanner.cpp. r=heycam
2013-02-16 18:27:53 -05:00
L. David Baron
309d5f8f42
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
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
59101dc21e
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
0836abe85d
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
e208d238e9
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
Jonathan Watt
7848bc34a7
Bug 838256 - Reftests and crashtests for <input type=range>. r=dholbert.
2013-02-16 17:57:21 +00:00
Jonathan Watt
fd7314abae
Bug 838256, part 2 - Overhaul and complete the layout pieces for <input type=range>. r=dholbert for the combined diff with the previous changeset.
2013-02-16 17:57:21 +00:00
Wes Johnston
54936aa0ff
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
0a60b3798a
Bug 841873 test changes: Tweak reftests/mochitests/crashtests to remove assumptions about the flexbox pref's default setting. (test-only)
2013-02-15 17:17:21 -08:00
Daniel Holbert
da77498252
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
Mounir Lamouri
db93a9a4ed
Bug 841828 - Show the appropriate cursor on disabled text fields. r=bz
2013-02-16 10:58:28 +00:00
Cameron McCormack
a3ae42ea56
Bug 841812 - Avoid crashing when changing attributes on an invalidly parented <textPath>. r=roc
2013-02-16 20:16:11 +11:00
Robert O'Callahan
42e294f8cb
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
5c77da3630
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
e70474e604
Bug 841896: Rename CSSKeyframesRule.insertRule to appendRule to match spec change.
...
Note that this does not change the IID of nsIDOMMozCSSKeyframesRule
since neither the method signature nor semantics have changed; only the
name is different.
2013-02-15 21:38:34 -08:00
L. David Baron
067fe7cbfb
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
d282c8380c
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
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
Boris Zbarsky
0236f0c5b6
Bug 840898. Flag our nullable return value as actually being nullable. r=tbsaunde
2013-02-15 22:36:15 -05:00
Jesse Ruderman
22acf5597b
Bug 840402 - Add some more values to property_database.js. r=dbaron
2013-02-15 18:42:48 -08:00
Daniel Holbert
6f6422e21c
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
7722fdab93
bug 841706 - remove nsSelectionIterator r=smaug
2013-02-15 05:52:57 -05:00
Avi Halachmi
8ba2f637aa
Bug 838758: Cache GradientStops instead of gfxPattern. r=jrmuizel
...
Our gfxPattern cache is currently way too specific, which causes lots of
unnecessary cache misses. The only thing that we actually need to key on is the
color stops.
This switches the cache to hold GradientStops instead of gfxPatterns. This
improves our cache hit rate and is simpler. It also avoids doing caching when
not using Azure, which currently has no benefit.
Average paint times results (in ms)
(on windows 7 x64, i7-3630qm, HD4000)
-------------------------------------
m-c
open: 3.5 close: 3.3
m-c cache-key
open: 2.6 close: 2.4
ux
open: 7.3 close: 5.2
ux cache-key
open: 6.9 close: 5.3
2013-02-15 20:54:49 +02:00
Benjamin Peterson
2a5f1d1dde
Bug 841407 - Replace usage of enablePrivilege in inspector tests. r=bholley
2013-02-15 09:34:46 -05:00
Trevor Saunders
fda9efaa98
bug 841430 - nuke nsIEditorDocShell r=bz
2013-02-13 17:39:30 -05:00
Trevor Saunders
c4d231052a
bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz
2013-02-12 17:02:51 -05:00
Ed Morley
b6da0774a7
Backed out changeset 2c860c4bb820 (bug 840902) on a CLOSED TREE
2013-02-15 09:05:36 +00:00
Ed Morley
be1dc96126
Backed out changeset 6c21598704ac (bug 840902)
2013-02-15 09:05:07 +00:00
Robert O'Callahan
7fe4314432
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
a48fd8140a
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
Cameron McCormack
a66ae9bf1b
Bug 841163 - Ensure that we recompute SVG text glyph positions only once frames have been reconstructed. r=roc
2013-02-15 15:29:28 +11:00
Christian Holler
8080e238c0
Bug 838557 - Create a common interface for ASan/Valgrind functions. r=mats,bhackett
2013-02-15 00:50:11 +01:00
Ryan VanderMeulen
25195103db
Backed out changesets 45f20f94da76 and 47c4a7768ed9 (bug 841436) for Windows bustage on a CLOSED TREE.
2013-02-14 16:52:54 -05:00
William Chen
c273fcd7cc
Bug 827227 - Fixed int overflow when scaling border-image-width. r=dbaron
2013-02-14 11:57:20 -08:00
Trevor Saunders
a02716ba7a
bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz
2013-02-12 17:02:51 -05:00
Trevor Saunders
3e028f8788
bug 840906 - densISupportsify nsDOMRGBCSSColor r=mccr8
2013-02-13 16:39:23 -05:00
Timothy Nikkel
ab470235f5
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
1e74974554
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
3b0ac60607
Backed out changeset b1905f6653d4 (bug 840902) on a CLOSED TREE
2013-02-14 11:47:08 +00:00
Ed Morley
c9c59a5ad4
Backed out changeset 1bd3acba4c01 (bug 840902)
2013-02-14 11:46:42 +00:00
Robert O'Callahan
305514fa61
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
40d4209ce7
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
Ed Morley
9468e105e3
Merge mozilla-central to mozilla-inbound
2013-02-14 11:09:15 +00:00
Ed Morley
601b6ce42a
Merge latest green inbound changeset to mozilla-central
2013-02-14 10:44:41 +00:00
Karl Tomlinson
c6439a29cf
Bug 834724 - Make reference non-native resizer scale to scroll bar width r=enn.
2013-02-14 05:24:34 -05:00