John Daggett
f3ca7be5df
Bug 833169 - fixup idents and trim out redundant initialization. r=karlt
2013-02-18 14:19:40 +09:00
Zack Weinberg
f03df97325
Bug 842134: fix serialization of unquoted url() in CSS. r=heycam
2013-02-17 22:03:55 -05:00
John Daggett
ab79904666
Bug 833169 - add font family name to font entries and use in user font cache key. r=jkew
2013-02-18 11:22:55 +09:00
David Zbarsky
fd6e8609f2
Bug 837044 - Convert SVGFilterElement to WebIDL r=bz
2013-02-17 21:14:02 -05:00
Christian Holler
56d0538771
Bug 838557 - Fix obvious problem with previous patch in nsPresShell.cpp, r=me
2013-02-18 02:48:41 +01:00
David Zbarsky
196dfc3a90
Bug 837044 Part 1: Move SVGFilterElement to mozilla::dom r=bz
...
--HG--
rename : content/svg/content/src/nsSVGFilterElement.cpp => content/svg/content/src/SVGFilterElement.cpp
rename : content/svg/content/src/nsSVGFilterElement.h => content/svg/content/src/SVGFilterElement.h
2013-02-17 18:28:47 -05:00
Jonathan Kew
c493fcc3da
bug 841470 followup - fix signed/unsigned warning causing build bustage. r=me
2013-02-17 21:55:32 +00:00
Jonathan Watt
c8102d922f
Bug 842158 - Fix comment in input-range-direction-1.html. r=dholbert. DONTBUILD.
2013-02-17 21:52:17 +00:00
Jonathan Watt
1eb81930c2
Bug 842158 - Make <input type=range> honor the 'direction' property. r=dholbert.
2013-02-17 21:40:26 +00:00
Jonathan Kew
29e979380a
bug 841470 - don't call AppUnitsPerDevPixelChanged unless the value has actually changed. r=roc
2013-02-17 21:27:24 +00:00
Jonathan Watt
97e73be205
Bug 838256 - Fix <input type=range> dynamic reftests to use the MozReftestInvalidate event instead of the load event. r=me.
2013-02-17 13:33:38 +00: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
Cameron McCormack
ecb671c48d
Bug 842016 - Make pointer-events not affect whether SVG text renders. r=longsonr
2013-02-17 19:28:29 +11:00
Cameron McCormack
db354f0639
Bug 842009 - Ignore <tref> elements when computing SVG text layout. r=longsonr
2013-02-17 19:28:09 +11:00
Cameron McCormack
42bb404e3f
Backed out changeset e4831a8b042c for lack of proper "r=".
2013-02-17 19:27:10 +11:00
Cameron McCormack
0d2d68f7dc
Backed out changeset cbf7a8294eae for lack of proper "r=".
2013-02-17 19:26:09 +11:00
Cameron McCormack
ed11774457
Bug 842016 - Make pointer-events not affect whether SVG text renders. r?
2013-02-17 19:22:44 +11:00
Cameron McCormack
2e04a13297
Bug 842009 - Ignore <tref> elements when computing SVG text layout. r?
2013-02-17 19:21:57 +11:00
L. David Baron
27140199ac
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
324e50ea81
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
59b9cbc048
Bug 543151, part A3: convert the scanner to use peek/advance. r=heycam
2013-02-16 18:27:53 -05:00
Zack Weinberg
781c8690dc
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
ad3efbd714
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
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
Jonathan Watt
ece4dae369
Bug 838256 - Reftests and crashtests for <input type=range>. r=dholbert.
2013-02-16 17:57:21 +00:00
Jonathan Watt
9a999c1cb4
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
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
567af6c177
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
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
Mounir Lamouri
dbbb67d3ea
Bug 841828 - Show the appropriate cursor on disabled text fields. r=bz
2013-02-16 10:58:28 +00:00
Cameron McCormack
a5d156f4b3
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
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
ba8841c136
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
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
Boris Zbarsky
824de2ea6e
Bug 840898. Flag our nullable return value as actually being nullable. r=tbsaunde
2013-02-15 22:36:15 -05:00
Jesse Ruderman
41735266e9
Bug 840402 - Add some more values to property_database.js. r=dbaron
2013-02-15 18:42:48 -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
Avi Halachmi
22359abefa
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
aaed452e23
Bug 841407 - Replace usage of enablePrivilege in inspector tests. r=bholley
2013-02-15 09:34:46 -05:00
Trevor Saunders
ef3a9cb704
bug 841430 - nuke nsIEditorDocShell r=bz
2013-02-13 17:39:30 -05:00
Trevor Saunders
afab70f054
bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz
2013-02-12 17:02:51 -05:00
Ed Morley
3288d5e24a
Backed out changeset 2c860c4bb820 (bug 840902) on a CLOSED TREE
2013-02-15 09:05:36 +00:00