Commit Graph

35540 Commits

Author SHA1 Message Date
Seth Fowler
1a987773c6 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
95d3eb93f7 b=842468 use scrollbar pref thickness instead of min for resizer size r=roc 2013-02-20 11:03:48 +13:00
Matt Brubeck
9c635d6d0f 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
Cameron McCormack
437779e7fe Bug 842772 - Followup to address review comments. 2013-02-20 11:58:25 +11:00
Cameron McCormack
2fe77c9684 Bug 842772 - Don't test for mask-type when the pref is disabled. r=dbaron 2013-02-20 11:24:42 +11:00
Cameron McCormack
291fa1d9d5 Bug 842829 - Fix test_condition_text.html to parse the style sheet after the pref is set. r=dbaron 2013-02-20 11:25:10 +11:00
Matt Woodrow
b6d1579a17 Bug 840480 r=roc 2013-02-20 13:13:01 +13:00
Karl Tomlinson
093a42eb8a 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
9cd7d9f8bb bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc 2013-02-19 21:46:27 +00:00
Seth Fowler
139ae58c04 Bug 704059 - Part 3: Reenable tests that were orange due to SVG loading issues. r=me 2013-02-13 18:54:47 -08:00
Paul Adenot
2386db5500 Bug 835381 - Add the new symbol to the symbol list for libnestegg. 2013-02-19 14:45:41 +01:00
Jonathan Watt
7b2e2416d3 Bug 842128 - Don't call nsLayoutUtils::GetFontMetricsForFrame in nsProgressFrame::ComputeAutoSize. r=dbaron. 2013-02-19 12:48:46 +00:00
Gregory Szorc
cd90bbf837 Merge mozilla-central into mozilla-inbound 2013-02-18 21:20:12 -08:00
Gregory Szorc
fe449e3cdc Merge the last PGO-green inbound changeset to mozilla-central 2013-02-18 21:18:15 -08:00
David Zbarsky
dcb508719c Bug 833446: Remove nsIDOMSVGMarkerElement r=peterv 2013-02-18 17:48:54 -05:00
Olli Pettay
086231e1f3 Bug 842132 - Crash with contentEditable, selection.deleteFromDocument with overlapping selection ranges, r=tbsaunde 2013-02-18 18:32:32 +02:00
Ryan VanderMeulen
110b93a86b Backed out changeset 645cb4fbf390 (bug 842132) for build bustage. 2013-02-18 11:12:16 -05:00
Olli Pettay
1c590f24a4 Bug 842132 - Crash with contentEditable, selection.deleteFromDocument with overlapping selection ranges, r=tbsaunde 2013-02-18 17:33:49 +02:00
L. David Baron
748494d39e Bug 563195: Add -Wshadow to CFLAGS/CXXFLAGS for layout/style. r=ted
Since this directory has FAIL_ON_WARNINGS set, this will cause any
shadowing warnings triggered by headers included in layout/style to
cause errors.

Once this patch is reviewed, I'll write and attach patches to fix the
warnings needed to land this.
2013-02-17 22:56:32 -08:00
L. David Baron
51da44efd5 Bug 563195: Fix -Wshadow warnings in layout/style. r=bzbarsky 2013-02-17 22:56:32 -08:00
John Daggett
c1594c20c3 Bug 833169 - fixup idents and trim out redundant initialization. r=karlt 2013-02-18 14:19:40 +09:00
Zack Weinberg
dd8331da7a Bug 842134: fix serialization of unquoted url() in CSS. r=heycam 2013-02-17 22:03:55 -05:00
Daniel Holbert
77bedd32f8 Bug 841261: Use init list instead of assignment in nsFrameIterator constructor. r=mats 2013-02-18 08:59:55 -08:00
John Daggett
74c397a0f6 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
af06207909 Bug 837044 - Convert SVGFilterElement to WebIDL r=bz 2013-02-17 21:14:02 -05:00
Christian Holler
256a511da6 Bug 838557 - Fix obvious problem with previous patch in nsPresShell.cpp, r=me 2013-02-18 02:48:41 +01:00
David Zbarsky
5f09a1541e 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
fe46dc117d bug 841470 followup - fix signed/unsigned warning causing build bustage. r=me 2013-02-17 21:55:32 +00:00
Jonathan Watt
4ff76f45e5 Bug 842158 - Fix comment in input-range-direction-1.html. r=dholbert. DONTBUILD. 2013-02-17 21:52:17 +00:00
Jonathan Watt
f068b8c906 Bug 842158 - Make <input type=range> honor the 'direction' property. r=dholbert. 2013-02-17 21:40:26 +00:00
Jonathan Kew
b7232abf33 bug 841470 - don't call AppUnitsPerDevPixelChanged unless the value has actually changed. r=roc 2013-02-17 21:27:24 +00:00
Jonathan Watt
b2b58ab3d4 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
162db95ea5 (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
3a3b30fbbe Bug 842016 - Make pointer-events not affect whether SVG text renders. r=longsonr 2013-02-17 19:28:29 +11:00
Cameron McCormack
204d7f3da9 Bug 842009 - Ignore <tref> elements when computing SVG text layout. r=longsonr 2013-02-17 19:28:09 +11:00
Cameron McCormack
f964672f41 Backed out changeset e4831a8b042c for lack of proper "r=". 2013-02-17 19:27:10 +11:00
Cameron McCormack
8b46c41d31 Backed out changeset cbf7a8294eae for lack of proper "r=". 2013-02-17 19:26:09 +11:00
Cameron McCormack
25312d3e68 Bug 842016 - Make pointer-events not affect whether SVG text renders. r? 2013-02-17 19:22:44 +11:00
Cameron McCormack
b92849c067 Bug 842009 - Ignore <tref> elements when computing SVG text layout. r? 2013-02-17 19:21:57 +11:00
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