Commit Graph

1411 Commits

Author SHA1 Message Date
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Jonathan Watt
8aeef8e483 Bug 876175 - Fix O(n^2) behavior and other perf issues with nsSVGGradientFrame::GetPaintServerPattern. r=roc 2013-05-27 08:34:01 +01:00
Jonathan Watt
c5cdfe938b Bug 876157 - Avoid expensive nsSVGGradientFrame::GetGradientTransform calls when gradients paint only a single color. r=roc 2013-05-27 08:31:39 +01:00
Jonathan Watt
25717c7a0f Bug 854765 - Get rid of the DidSetStyleContext overrides in SVG frame code to avoid some major perf hits. r=roc 2013-05-24 18:32:33 +01:00
Ehsan Akhgari
67f4978f9d Backed out changeset e3e70237a47a (bug 854765) because of mochitest-1 assertions 2013-05-24 16:02:48 -04:00
Jonathan Watt
5373250846 Bug 854765 - Get rid of the DidSetStyleContext overrides in SVG frame code to avoid some major perf hits. r=roc 2013-05-24 18:32:33 +01:00
Jonathan Watt
dcc3e40184 Bug 378923 - Make non-root outer-<svg> respect |overflow:visible| (overflow="visible"). r=roc 2013-05-24 17:56:26 +01:00
Jonathan Watt
ea0d6e617c Bug 875175 - Stop continuous reflow and invalidation of entire SVG when an element that is partially/wholly outside the viewport is subject to a transform animation. r=dbaron 2013-05-24 14:51:50 +01:00
Jonathan Watt
b94995ea24 Bug 875069 - nsSVGPathGeometryFrame::NotifySVGChanged needs to take account of stroke-width and non-scaling-stroke. r=dholbert 2013-05-23 15:30:14 +01:00
Jonathan Watt
481319b784 Bug 874865 - Stop nsSVGOuterSVGFrame::AttributeChanged from calling ChildrenOnlyTransformChanged for transform attribute changes. r=longsonr 2013-05-23 08:04:21 +01:00
Jonathan Watt
b34211cc84 Bug 874846 - Stop calling NotifySVGChanged(TRANSFORM_CHANGED) in nsSVGTextFrame2::AttributeChanged. r=longsonr 2013-05-23 08:09:15 +01:00
Jonathan Watt
d1f5d8d8d3 Bug 874854 - Stop calling SchedulePaint for SVG transform attribute changes. r=longsonr 2013-05-23 08:04:21 +01:00
Bobby Holley
ba05c93769 Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Jonathan Watt
becef9b68a Bug 867596 - Stop calling nsSVGUtils::InvalidateBounds in nsSVGTextFrame2, and use DLBI instead. r=longsonr 2013-05-22 12:30:20 +01:00
Jonathan Watt
e8fb58c2d0 Bug 874487 - Have nsSVGUseFrame notify any rendering observers when the referenced element is re-cloned. r=roc 2013-05-21 18:24:05 +01:00
Cameron McCormack
20244c26c8 Bug 839958 - Prevent infinite invalidation loops when using SVG text inside a mask or pattern. r=jwatt 2013-05-19 11:11:16 +10:00
Cameron McCormack
0e56963ada Backout d00f9ead1848 (bug 839958) for Windows reftest failure on pattern-content.svg. 2013-05-19 12:50:30 +10:00
Cameron McCormack
e7c198552c Bug 839958 - Prevent infinite invalidation loops when using SVG text inside a mask or pattern. r=jwatt 2013-05-19 11:11:16 +10:00
Ehsan Akhgari
2f3ac0380a Bug 873038 - Remove the old MSVC PGO exclusions across the tree; r=glandium 2013-05-16 11:16:30 -04:00
Phil Ringnalda
5ad98aed12 Back out 4d755ea39a56:81d152795bea (bug 798843) for style mochitest failures 2013-05-15 20:53:30 -07:00
Edwin Flores
a4c230a033 Bug 798843 - Rename -moz-objectFill, -moz-objectStroke, -moz-objectValue to context-fill, context-stroke, context-value r=dbaron 2013-05-16 14:35:15 +12:00
Edwin Flores
fe4c1f5f33 Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc 2013-05-16 14:35:12 +12:00
Arnaud Sourioux
a57d318afa Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert 2013-05-14 09:33:23 -07:00
Andrea Marchesini
031eb2e92c Bug 866796 - Convert SVGAnimatedRect to WebIDL. r=Ms2ger 2013-05-09 13:42:12 -04:00
Jonathan Watt
5dac4df334 Bug 869611 - Stop reflowing in nsSVGPathGeometryFrame::NotifySVGChanged for ancestor transform changes. r=dholbert 2013-05-08 18:13:11 +01:00
Jonathan Watt
4202ed2982 Bug 869781 - Make nsSVGOuterSVGFrame::Reflow update the overflow rects of its children if it has a viewBox. r=dholbert 2013-05-08 18:11:42 +01:00
Robert Longson
4aadf03549 Bug 868904 - Fix infinite recursion with outer SVG transform animation r=dholbert 2013-05-06 07:33:20 +01:00
Robert Longson
fae04a65cb Bug 863994 - Support transform attribute on <svg> elements. r=dholbert
--HG--
rename : layout/reftests/svg/svg-transform-01.svg => layout/reftests/svg/svg-transform-02.svg
2013-05-05 08:20:25 +01:00
Robert Longson
9ac622e3aa Bug 865958 - Text in clipPath does not update correctly when changed. r=heycam,jwatt 2013-04-28 11:53:58 +01:00
Jonathan Watt
c1b5bf869b Bug 839865 - Stop calling nsSVGUtils::InvalidateBounds for SVG transform changes, and use DLBI instead. r=mattwoodrow. 2013-02-11 23:25:56 +00:00
Timothy Nikkel
f8cabae711 Bug 865945. Increment the visible count before calling FrameCreated so that the image for an SVGFEImage element is actually considered visible. r=mats 2013-04-26 14:58:15 -05:00
Aryeh Gregor
e78504c9a9 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Cameron McCormack
aaf136988e Bug 864000 - Document nsSVGTextFrame2::mPositioningDirty better. (DONTBUILD) rs=jwatt 2013-04-26 09:05:34 +10:00
Seth Fowler
fc1f2d175b Bug 859377 (Part 2) - Make SVGImageContext more flexible. r=dholbert
--HG--
extra : rebase_source : 79a4380691426c128f334ba066167a5c5b8ee801
2013-04-25 15:58:27 -07:00
Jonathan Watt
2527fad3e7 Bug 864832 - Get rid of the majority of the remaining nsSVGUtils::InvalidateBounds calls, except for those related to transforms and nsSVGTextFrame2. r=mattwoodrow 2013-04-25 10:18:42 +01:00
Jonathan Watt
847ab900be Bug 864772 - Stop calling nsSVGUtils::InvalidateBounds in nsSVGDisplayContainerFrame::RemoveFrame, and use DLBI instead. r=mattwoodrow 2013-04-24 10:13:28 +01:00
Jonathan Watt
59c7f200e6 Bug 864770 - Stop calling nsSVGUtils::InvalidateBounds in nsSVGEffects code, and use DLBI instead. r=mattwoodrow 2013-04-24 10:13:28 +01:00
Cameron McCormack
769bd44ad9 No bug - Minor comment tweak. (DONTBUILD) 2013-04-20 21:24:34 +10:00
Andrea Marchesini
3ccc4043ba Bug 855412 - Change the signature of NS_NewSVGRect to not use the outparam. r=Ms2ger 2013-04-18 07:40:09 -04:00
Matt Woodrow
6c8d4da7e9 Backout d6b34be6fb4c for causing reftest failures on a CLOSED TREE 2013-04-18 14:21:25 +12:00
Matt Woodrow
2d03d9dce6 Bug 837335 - Don't build an nsDisplayTransform for nsSVGPathGeometryFrame if the transform is only a translation. r=jwatt 2013-04-18 12:42:08 +12:00
Robert Longson
e1fbe2a9a9 Bug 862817 - Fix animateMotion on foreignObject elements. r=dholbert 2013-04-17 21:28:59 +01:00
Cameron McCormack
eb98cff2f3 Bug 862158 - Propagate implied SVG text rotate="" values over the top of inherited values. r=longsonr 2013-04-16 16:43:28 +10:00
Cameron McCormack
fb71ffd4ce Bug 842224 - Make getCharNumAtPosition (a) return addressable character indices, and (b) heed full page zoom. r=longsonr 2013-04-17 09:18:24 +10:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Cameron McCormack
c309f38e81 Backout 66c01cdf30d2 (bug 862158) for text-layout-08.svg failure. (CLOSED TREE) 2013-04-16 18:28:21 +10:00
Cameron McCormack
cd8836d173 Bug 862158 - Propagate implied SVG text rotate="" values over the top of inherited implied values. r=longsonr 2013-04-16 16:43:28 +10:00
Cameron McCormack
5a7bc3047e Bug 843917 - Test. 2013-04-15 19:50:57 +10:00
Cameron McCormack
1445eb2a89 Bug 843917 - Don't call InvalidateBounds() in nsSVGTextFrame2; leave invalidation to DLBI. r=jwatt 2013-04-15 17:16:07 +10:00
David Zbarsky
8aa282388a Bug 846995 Part 3: Rename DOMSVGAnimatedTransformList and kill nsISupports r=jwatt
--HG--
rename : content/svg/content/src/DOMSVGAnimatedTransformList.cpp => content/svg/content/src/SVGAnimatedTransformList.cpp
rename : content/svg/content/src/DOMSVGAnimatedTransformList.h => content/svg/content/src/SVGAnimatedTransformList.h
2013-04-14 18:56:34 -04:00
Robert Longson
a84db0dfe3 Bug 861188 - Fix empty transforms on svg elements. r=dholbert 2013-04-14 08:17:36 +01:00
Cameron McCormack
7b7c156b74 Bug 860653 - Make paint-order work on SVG text with layout.svg.css-frames.enabled. r=longsonr 2013-04-12 17:58:03 +10:00
Joshua Cranmer
c763b1352e Bug 856108 - Port static analyses to clang, part 2e: use MOZ_STACK_CLASS in layout. r=mats 2013-04-11 22:20:45 -05:00
Cameron McCormack
32a375aae4 Bug 860378 - Reconstruct SVG text frames sooner on DOM mutations. r=longsonr 2013-04-11 18:38:40 +10:00
Cameron McCormack
1235a3318a Bug 839957 - Followup for review comment. 2013-04-10 23:04:28 +10:00
Cameron McCormack
1362a0afcf Bug 839956 - Choose SVG text font size scale factor without regard to devPixelsPerPx. r=longsonr 2013-04-10 22:58:56 +10:00
Cameron McCormack
b493ede929 Bug 839957 - Avoid inaccuracies when computing SVG glyph positions. r=longsonr 2013-04-10 22:58:55 +10:00
Masatoshi Kimura
2ca51c4f79 Bug 858224 - Remove most MSVC exemptions for FAIL_ON_WARNINGS. r=ted feedback=dholbert 2013-04-07 13:45:34 +09:00
Robert O'Callahan
04e9887192 Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
This patch does several things. Sorry.

In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.

In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.

We remove nsDisplayClip and everything that depends on it.

We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.

nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.

I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.

--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Robert Longson
424a479691 Bug 398825 - Implement selectSubString. r=heycam
--HG--
rename : content/svg/content/test/test_getSubStringLength.xhtml => content/svg/content/test/test_selectSubString.xhtml
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-2-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-2.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-3-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-3.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString-ref.svg
rename : layout/reftests/svg/text/simple-selection.svg => layout/reftests/svg/text/selectSubString.svg
2013-04-01 10:43:38 +01:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Cameron McCormack
fb1017f0e1 Bug 850655 - Make CharIterator::Next() not crash when at the end of text. r=longsonr
--HG--
extra : rebase_source : 830fa0fda257401a77c1aae8686aa5ab6db18d86
2013-03-28 14:31:31 +11:00
David Zbarsky
9131356053 Bug 840417 Part 1: Move nsIDOMSVGElement up to nsSVGElement r=Ms2ger 2013-03-27 21:23:09 -04:00
Cameron McCormack
feacf22d88 Bug 855183 - Reflow SVG text sooner on full page zoom. r=longsonr 2013-03-28 10:55:55 +11:00
Robert Longson
fae75333c3 Bug 842630 - Fix out of bounds in nsSVGTextFrame2::ResolvePositions. r=heycam 2013-03-27 10:19:02 +00:00
Andrea Marchesini
1735bce39d Bug 852620 - Convert SVGRect to WebIDL, r=Ms2ger 2013-03-26 16:53:13 +01:00
Andrea Marchesini
d6addabaac Bug 852620 - Rename nsSVGRect to SVGRect, r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGRect.cpp => content/svg/content/src/SVGRect.cpp
rename : content/svg/content/src/nsSVGRect.h => content/svg/content/src/SVGRect.h
2013-03-26 16:52:41 +01:00
Daniel Holbert
cdb46fbf89 Bug 473236, 2013 edition: Remove executable bit from files that clearly don't need it (html, xhtml, xul, svg, png, jpg, ttf files in test dirs within /layout). DONTBUILD 2013-03-25 17:01:35 -07:00
Robert Longson
0c124abc25 Bug 847139 - Crash with caretPositionFromPoint. r=heycam 2013-03-25 19:03:44 +00:00
Robert Longson
936327c61a Bug 849606 r=jwatt 2013-03-22 10:25:58 +00:00
Robert Longson
c2d454bc21 Bug 852270 - use transform rather than -moz-transform in svg.css r=dbaron 2013-03-20 18:59:11 +00:00
Daniel Holbert
d20ddcbe96 Bug 852769: Remove unnecessary \n characters from NS_ASSERTION messages in layout/svg. r=longsonr 2013-03-20 09:50:36 -07:00
Phil Ringnalda
7e9529716f Back out 26f0d590a021, d92e88a18263, 5a2d12a34466 (bug 846995) for not building
CLOSED TREE
2013-03-19 20:20:38 -07:00
David Zbarsky
c8cee2f373 Bug 846995 Part 3: Rename DOMSVGAnimatedTransformList and kill nsISupports r=jwatt
--HG--
rename : content/svg/content/src/DOMSVGAnimatedTransformList.cpp => content/svg/content/src/SVGAnimatedTransformList.cpp
rename : content/svg/content/src/DOMSVGAnimatedTransformList.h => content/svg/content/src/SVGAnimatedTransformList.h
2013-03-19 22:31:44 -04:00
Boris Zbarsky
462f47d89e Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert 2013-03-19 21:47:48 -04:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Daniel Holbert
097a7c3a22 Bug 850539 - Make nsSVGTextFrame2.cpp include its own header first. r=jwatt 2013-03-13 10:49:40 -07:00
Robert Longson
2ede2c9888 Bug 849688 - Crash with getStartPositionOfChar when argument is out of range. r=dholbert 2013-03-13 14:22:46 +00:00
David Zbarsky
84557c998c Bug 847120: Convert SVGFEImageElement to WebIDL r=Ms2ger 2013-03-07 04:15:23 -05:00
David Zbarsky
f55aef104a Bug 847116: WebIDL bindings for SVGFEBlendElement r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEBlendElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEBlendElement.h
2013-03-07 02:17:00 -05:00
David Zbarsky
3a2c3de3db Backed out changeset 3710f0b135b8 for wrong commit message 2013-03-07 02:16:30 -05:00
David Zbarsky
c9412d785b Bug 847120: WebIDL bindings for SVGFEBlendElement r=Ms2ger
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEBlendElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEBlendElement.h
2013-03-07 02:12:33 -05:00
David Zbarsky
f057c989f0 Bug 847120: Stop QIing to nsIDOMSVGFilterPrimitiveStandardAttributes r=bz 2013-03-07 02:12:32 -05:00
Robert Longson
53741e9a51 Bug 848465 - Remove obsolete, non-functional selection code from nsSVGGlyphFrame. r=dholbert 2013-03-06 20:43:11 +00:00
Robert Longson
c2ad59fff7 Bug 847139 - Crash with caretPositionFromPoint. r=dholbert 2013-03-06 12:11:34 +00:00
Robert Longson
4d594cd99a Bug 842909 - Fix GetNumberOfChars so that it always creates a TextNodeCorrespondenceProperty. r=dholbert 2013-03-04 12:04:23 +00:00
Flavio Martins
cb72b3d0c3 Bug 846547 - Remove unused arg "aElement" from SVGContentUtils::GetViewboxTransform() r=dholbert 2013-03-03 00:11:03 -08:00
David Zbarsky
c596ef885a [Bug 847110] Fix up includes in layout/style r=dbaron 2013-03-02 19:31:48 -05:00
Robert Longson
2bb307775e Bug 843072 - Crash with getExtentOfChar(0) if there is no text. r=dholbert 2013-03-02 13:28:04 +00:00
David Zbarsky
26c2ece3bf Bug 846662 - Rename DOMSVGTests to SVGTests r=jwatt
--HG--
rename : content/svg/content/src/DOMSVGTests.cpp => content/svg/content/src/SVGTests.cpp
rename : content/svg/content/src/DOMSVGTests.h => content/svg/content/src/SVGTests.h
2013-03-02 01:08:42 -05:00
Seth Fowler
a7ffe81d52 Bug 842850 (Part 1) - Use an SVGImageContext class for overridden SVG properties. r=dholbert,joe sr=bz 2013-02-28 12:22:43 -08:00
Ms2ger
c6832bb745 Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
O S K Chaitanya
11409d7c18 Bug 594019 - Make the calculation in nsSVGMaskFrame::ComputeMaskAlpha one-pass. r=longsonr 2013-02-28 09:50:38 +00:00
Gregory Szorc
803629b9c6 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
4f23f29382 Bug 784841 - Part 18t: Convert /layout; f=Ms2ger rs=ted 2013-02-25 12:47:22 -08:00
Timothy Nikkel
5c04ec316a Bug 689623. Part 11. Mark SVG feImage elements as visible because they don't create display items. r=mats 2013-02-24 18:59:23 -06:00
O S K Chaitanya
052a9ff309 Bug 844511 - Only luminance masks need unpremultiplying and conversion to linear RGB. r=longsonr 2013-02-24 09:05:09 +00:00
Robert Longson
85dc58ac04 Bug 785606 - Support viewBox=none from SVG 1.2 Tiny r=jwatt 2013-02-26 16:58:06 +00:00
Jonathan Kew
2ec999237c bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc 2013-02-19 21:46:27 +00:00
Cameron McCormack
bde6208078 Bug 842119. r=longsonr 2013-02-19 13:50:05 +11:00
Cameron McCormack
2fcf43cd73 Bug 842138 - Propagate rotate="" values even if rotations were specified on a parent element. r=roc 2013-02-19 10:44:26 +11:00
David Zbarsky
4f8bacde59 Bug 833446: Remove nsIDOMSVGMarkerElement r=peterv 2013-02-18 17:48:54 -05:00
David Zbarsky
47a4dd7c72 Bug 837044 - Convert SVGFilterElement to WebIDL r=bz 2013-02-17 21:14:02 -05:00
David Zbarsky
34006d8ea9 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
Cameron McCormack
dec7573139 Bug 842016 - Make pointer-events not affect whether SVG text renders. r=longsonr 2013-02-17 19:28:29 +11:00
Cameron McCormack
5b745dcbdb Bug 842009 - Ignore <tref> elements when computing SVG text layout. r=longsonr 2013-02-17 19:28:09 +11:00
Cameron McCormack
0e87380e32 Backed out changeset e4831a8b042c for lack of proper "r=". 2013-02-17 19:27:10 +11:00
Cameron McCormack
ee663f3053 Backed out changeset cbf7a8294eae for lack of proper "r=". 2013-02-17 19:26:09 +11:00
Cameron McCormack
d4d856c1a5 Bug 842016 - Make pointer-events not affect whether SVG text renders. r? 2013-02-17 19:22:44 +11:00
Cameron McCormack
d70ed6026e Bug 842009 - Ignore <tref> elements when computing SVG text layout. r? 2013-02-17 19:21:57 +11:00
L. David Baron
5ef4421fa5 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
Cameron McCormack
14b0c65a60 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
013943dc4f 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
a2485753ff 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
35da9c845d 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
b387f0fbea 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
Ed Morley
cda32cedb6 Backed out changeset 2c860c4bb820 (bug 840902) on a CLOSED TREE 2013-02-15 09:05:36 +00:00
Ed Morley
57e0dd68c3 Backed out changeset 6c21598704ac (bug 840902) 2013-02-15 09:05:07 +00:00
Robert O'Callahan
e1fb5e883e 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
00c4fde2d7 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
e54da9bc88 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
Ed Morley
ff7f810e15 Backed out changeset b1905f6653d4 (bug 840902) on a CLOSED TREE 2013-02-14 11:47:08 +00:00
Ed Morley
4a6a363175 Backed out changeset 1bd3acba4c01 (bug 840902) 2013-02-14 11:46:42 +00:00
Robert O'Callahan
78a5f60762 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
79e1c070da 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
Cameron McCormack
06dde95e5f Bug 841174 - Handle ::first-letter on a combining mark in SVG text without crashing. r=jwatt
--HG--
extra : rebase_source : 9b0b38eccfe1f355996d8e4b4be5dcfc4e00b3be
2013-02-14 21:31:32 +11:00
Cameron McCormack
948afd737b Bug 841180 - Avoid assertion when <text> consists only of undisplayed characters. r=jwatt
--HG--
extra : rebase_source : 9751925fdae80ad15168668633d26a72747f7442
2013-02-14 21:30:46 +11:00
Cameron McCormack
fdf1a702ad Bug 841207 - Handle all dominant-baseline values in SVG text layout. r=roc 2013-02-14 12:52:48 +11:00
Cameron McCormack
bacc985edc Bug 840272 - Avoid asserting and crashing if SVG text frames are painted before they are reflowed. r=roc 2013-02-12 15:21:58 +11:00
Daniel Holbert
3cb4ef301a backout 69277e48526c (Bug 839865) due to reftest orange on a CLOSED TREE 2013-02-11 17:29:48 -08:00
Jonathan Watt
4f76f9f6da Bug 839865 - Stop calling nsSVGUtils::InvalidateBounds for SVG transform changes, and use DLBI instead. r=mattwoodrow. 2013-02-11 23:25:56 +00:00
Cameron McCormack
0335ceedb4 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
c09bbacdbf Bug 655877 - Part 45: Fixes for DLBI. r=roc,jwatt 2013-02-11 17:22:20 +11:00
Cameron McCormack
6af0afcd5a Bug 655877 - Part 42a: Handle SVG text frame pref changes gracefully. r=bz,longsonr 2013-02-11 17:22:18 +11:00
Cameron McCormack
644d6627b1 Bug 655877 - Part 41b: Make SVG text selectable with the mouse. r=roc,jwatt 2013-02-11 17:22:18 +11:00
Cameron McCormack
3a25be829d Bug 655877 - Part 41a: Move ToCanvasBounds to nsSVGUtils. r=longsonr 2013-02-11 17:22:18 +11:00
Cameron McCormack
233ef5726d Bug 655877 - Part 36: Make referenced text path updates cause SVG text relayout. r=longsonr,jwatt 2013-02-11 17:22:17 +11:00
Cameron McCormack
085b8e6d1d Bug 655877 - Part 35: Ensure SVG text is updated when attributes on text content children change. r=jwatt 2013-02-11 17:22:17 +11:00
Cameron McCormack
95104c706a Bug 655877 - Part 33: Allow new SVG text frames in clip paths. r=longsonr 2013-02-11 17:22:17 +11:00
Cameron McCormack
59a1399eef Bug 655877 - Part 31c: Ensure SVG text with effects applied to them are in the right position. r=jwatt 2013-02-11 17:22:17 +11:00
Cameron McCormack
af038561fc 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
David Zbarsky
f5e930688a Bug 833446: Remove nsIDOMSVGStopElement r=peterv 2013-02-02 15:23:18 -05:00
David Zbarsky
6a81cc23cf Bug 833446: Remove nsIDOMSVGGradientElement and subclasses r=peterv 2013-02-02 15:23:16 -05:00
Daniel Holbert
443bf6d70e Bug 837004: Annotate some overridden methods in nsSVGContainerFrame as MOZ_OVERRIDE. r=jwatt 2013-02-01 08:01:49 -08:00
Mounir Lamouri
9ad0959156 Bug 833012 - Remove "nsContentUtils.h" inclusion from Element.h. r=Ms2ger 2013-01-31 23:11:49 +00:00
Johnny Stenback
c25acd78d6 Fixing bug 836173. Stop leaking gfxPattern objects when using SVG with cairo. r=jwatt 2013-01-30 01:40:34 -08:00
David Zbarsky
eef6edd635 Bug 832154: Move SVGMarkerElement to mozilla::dom r=bz,longsonr
--HG--
rename : content/svg/content/src/nsSVGMarkerElement.cpp => content/svg/content/src/SVGMarkerElement.cpp
rename : content/svg/content/src/nsSVGMarkerElement.h => content/svg/content/src/SVGMarkerElement.h
2013-01-29 17:11:44 -05:00
Robert O'Callahan
5794556cad Backing out 306003528e10, 335160d7855a, dfc9d5651175, 0559d630dd89, 03c3ae8323bd: bug 835195, bug 832154, bug 831561 ... in a CLOSED TREE
--HG--
rename : content/svg/content/src/SVGMarkerElement.cpp => content/svg/content/src/nsSVGMarkerElement.cpp
rename : content/svg/content/src/SVGMarkerElement.h => content/svg/content/src/nsSVGMarkerElement.h
2013-01-29 22:45:50 +13:00
David Zbarsky
f081aae232 Bug 832154: Move SVGMarkerElement to mozilla::dom r=bz,longsonr
--HG--
rename : content/svg/content/src/nsSVGMarkerElement.cpp => content/svg/content/src/SVGMarkerElement.cpp
rename : content/svg/content/src/nsSVGMarkerElement.h => content/svg/content/src/SVGMarkerElement.h
2013-01-29 03:50:56 -05:00
Daniel Holbert
d41b08e0f2 Bug 832440: Fix inconsistency on appUnitsPerDevPixels's signedness in gfxFont and its clients by converting all instances to be signed. r=jfkthame 2013-01-28 11:01:59 -08:00
Robert Longson
944e4b9991 Bug 835030 - Remove svg.smil.enabled pref. r=dholbert 2013-01-27 19:30:21 +00:00
Robert Longson
454707eef6 Bug 378716 - crash test 2013-01-26 21:28:56 +01:00
Cameron McCormack
5da0af97c5 Bug 828962 - Don't let xml:space="preserve" affect <foreignObject>. r=longsonr 2013-01-26 21:28:15 +11:00
Mats Palmgren
3a4e06255f Bug 344557 - Add crashtests. 2013-01-25 18:34:30 +01:00
David Zbarsky
2e5c05803f Bug 832153 - Convert SVGMaskElement to WebIDL r=bz 2013-01-23 15:59:46 -05:00
David Zbarsky
df0b117275 Bug 832153: Move SVGMaskElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGMaskElement.cpp => content/svg/content/src/SVGMaskElement.cpp
rename : content/svg/content/src/nsSVGMaskElement.h => content/svg/content/src/SVGMaskElement.h
2013-01-23 15:59:06 -05:00
Ehsan Akhgari
741a6001ba Bug 833190 - Disable PGO on svg; a=me 2013-01-21 23:00:29 -05:00
David Zbarsky
4c34daebae Bug 831669: Move SVGClipPathElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGClipPathElement.cpp => content/svg/content/src/SVGClipPathElement.cpp
rename : content/svg/content/src/nsSVGClipPathElement.h => content/svg/content/src/SVGClipPathElement.h
2013-01-18 14:52:40 -05:00
David Zbarsky
1fd6f576ea Bug 830230 - Convert SVGPatternElement to WebIDL r=bz 2013-01-16 15:51:00 -05:00
David Zbarsky
a9dc213100 Bug 827174 - Remove nsIDOMSVGLocatable and nsIDOMSVGTransformable r=bz 2013-01-16 15:51:00 -05:00
David Zbarsky
736be515c3 Bug 830230: Move SVGPatternElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGPatternElement.cpp => content/svg/content/src/SVGPatternElement.cpp
rename : content/svg/content/src/nsSVGPatternElement.h => content/svg/content/src/SVGPatternElement.h
2013-01-16 15:51:00 -05:00
David Zbarsky
173b3e4951 Bug 827182: Convert SVGUseElement to WebIDL 2013-01-16 15:50:59 -05:00
David Zbarsky
fa84ffe89e Bug 827182: Move SVGUseElement to mozilla::dom
--HG--
rename : content/svg/content/src/nsSVGUseElement.cpp => content/svg/content/src/SVGUseElement.cpp
rename : content/svg/content/src/nsSVGUseElement.h => content/svg/content/src/SVGUseElement.h
2013-01-16 15:50:58 -05:00
Mats Palmgren
d5826be6d7 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
Cameron McCormack
b8c8bf6c2c Bug 828805 - Implement SVG paint-order property. r=bz,roc 2013-01-13 10:27:53 +11:00
David Zbarsky
1b34aa1a8e Bug 827172: Move SVGPathElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGPathElement.cpp => content/svg/content/src/SVGPathElement.cpp
rename : content/svg/content/src/nsSVGPathElement.h => content/svg/content/src/SVGPathElement.h
2013-01-12 17:22:31 -05:00
Robert Longson
6d76cd33e9 Bug 828246 - Prevent stroke from drawing, on SVG text with a stroke-width of 0. r=dholbert 2013-01-11 22:08:37 +00:00
Ms2ger
023389df36 Bug 825749 - Convert SVG gradient elements to WebIDL; r=bz
--HG--
rename : content/svg/content/src/nsSVGGradientElement.cpp => content/svg/content/src/SVGGradientElement.cpp
rename : content/svg/content/src/nsSVGGradientElement.h => content/svg/content/src/SVGGradientElement.h
2013-01-11 09:43:01 +01:00
David Zbarsky
9893a04134 Bug 825147: Convert SVGAElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGAElement.cpp => content/svg/content/src/SVGAElement.cpp
rename : content/svg/content/src/nsSVGAElement.h => content/svg/content/src/SVGAElement.h
2013-01-10 00:30:13 -05:00
David Zbarsky
94935ac489 Bug 827119: Convert SVGSVGElement to WebIDL r=bz 2013-01-09 18:02:47 -05:00
David Zbarsky
f95b0f0bde Bug 827119: Move SVGSVGElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGSVGElement.cpp => content/svg/content/src/SVGSVGElement.cpp
rename : content/svg/content/src/nsSVGSVGElement.h => content/svg/content/src/SVGSVGElement.h
2013-01-09 18:02:45 -05:00
Jonathan Watt
e2220cf6e6 Bug 820506 - Problem selecting image node in SVG when used with clip-path in certain condition. r=roc.
--HG--
extra : rebase_source : 874ed2a13f51dc5381909502f030cb4ca6c2a41e
2013-01-04 11:48:12 +00:00
David Zbarsky
5f2db29ba0 Bug 827197 - Remove some uses of nsIDOMSVGElement subclasses r=longsonr 2013-01-07 22:22:41 -05:00
David Zbarsky
6ce48d9fe8 Bug 825834 - Move SVGViewElement to mozilla:::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGViewElement.cpp => content/svg/content/src/SVGViewElement.cpp
rename : content/svg/content/src/nsSVGViewElement.h => content/svg/content/src/SVGViewElement.h
2013-01-07 22:22:41 -05:00
Edwin Flores
dd8f473d13 Bug 798839 - Fix scaling of SVG glyphs inheriting outer object pattern under zooming r=roc 2013-01-08 11:03:44 +13:00
David Zbarsky
98c08afb8a Bug 825732: Convert SVGTextPathElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTextPathElement.cpp => content/svg/content/src/SVGTextPathElement.cpp
rename : content/svg/content/src/nsSVGTextPathElement.h => content/svg/content/src/SVGTextPathElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
d5bbec5a00 Bug 825732: Convert SVGTextContentElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGTextContentElement.cpp => content/svg/content/src/SVGTextContentElement.cpp
rename : content/svg/content/src/nsSVGTextContentElement.h => content/svg/content/src/SVGTextContentElement.h
2013-01-06 09:14:43 -05:00
David Zbarsky
a4d42791f2 Bug 825147: Convert SVGImageElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGImageElement.cpp => content/svg/content/src/SVGImageElement.cpp
rename : content/svg/content/src/nsSVGImageElement.h => content/svg/content/src/SVGImageElement.h
2013-01-06 04:32:01 -05:00
David Zbarsky
b76525e46c Bug 825147: Convert SVGForeignObjectElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGForeignObjectElement.cpp => content/svg/content/src/SVGForeignObjectElement.cpp
2013-01-06 01:25:55 -05:00
David Zbarsky
084eb12886 Bug 825147: Convert SVGSwitchElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGSwitchElement.cpp => content/svg/content/src/SVGSwitchElement.cpp
rename : content/svg/content/src/nsSVGSwitchElement.h => content/svg/content/src/SVGSwitchElement.h
2013-01-06 01:25:54 -05:00
David Zbarsky
937861a33d Bug 824229 Part 6: Move SVGGraphicsElement to mozilla::dom r=bz,longsonr
--HG--
rename : content/svg/content/src/nsSVGGraphicElement.cpp => content/svg/content/src/SVGGraphicsElement.cpp
rename : content/svg/content/src/nsSVGGraphicElement.h => content/svg/content/src/SVGGraphicsElement.h
2013-01-03 01:17:03 -05:00
Alexander Surkov
dd1fd2be91 Bug 822983 - Map SVG graphic elements to accessibility API, r=tbsaunde, longsonr 2013-01-04 13:26:00 +09:00
Masatoshi Kimura
ecc812a3c0 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
David Zbarsky
e6f03c243d Bug 817442 Part 10: Remove nsIDOMSVGPoint r=bz 2012-12-22 23:54:25 -05:00
Jonathan Kew
d2a0241a52 Bug 823964 - Wrong bounds for scaled images. r=longsonr 2012-12-22 10:07:00 +00:00
Jonathan Watt
1816c977f0 Bug 806432 - When creating the offscreen surface into which group opacity, mask or non-trivial-clipPath are painted, use the non-transformed visual overflow rect. r=roc. 2012-12-21 21:40:06 +00:00
Jonathan Watt
8be15ef58a Crashtest for bug 813420 - "ASSERTION: Must not call under nsISVGChildFrame::ReflowSVG" with nested <svg> and dynamic marker. (Now WORKSFORME.) 2012-12-21 19:43:05 +00:00
Jonathan Watt
005f8ca51f Bug 767535 - "ASSERTION: How did we getting here, then?" 2012-12-21 19:13:48 +00:00
Jonathan Watt
925331c5f9 Bug 808318 - "ASSERTION: Children must have same reference frame" with SVG display lists disabled for painting. 2012-12-21 18:23:32 +00:00
Jonathan Watt
f003635ccc Bug 788831 - "ASSERTION: If display lists are enabled, only painting of non-display SVG should take this code path". r=longsonr.
--HG--
extra : rebase_source : 3625a395a7ef74fc566cb3ee58914be0e3da81d7
2012-12-21 10:00:39 +00:00
Cameron McCormack
3a091090a1 Bug 793617 - Implement mask-type property. r=dbaron,longsonr 2012-12-21 11:15:22 +11:00
Robert Longson
52f85e577b Bug 791675 - Scaled shapes fail to draw sometimes r=jwatt. 2012-12-20 13:49:54 +00:00
Jonathan Watt
eb582bd91e Bug 813531 - Part 2: Stop reconstructing the entire SVG frame tree after the initial reflow of nsSVGOuterSVGFrame frames that have a viewBox. r=roc. 2012-12-18 02:25:16 +00:00
Jonathan Watt
44d8c1ad82 Bug 813531 - Part 1: Fix pre-existing bugs by making sure we update the overflow areas of nsSVGOuterSVGFrame children when reflowing after a previous reflow that occurred when the viewport was zero-sized. r=roc. 2012-12-18 02:21:09 +00:00
Jonathan Watt
799b453bd2 Bug 802628 - Part 2, Fix broken invalidation in ReflowSVG implementations. r=mattwoodrow. 2012-11-28 10:34:58 +00:00
Jonathan Watt
1e1e657295 Bug 802628 - Part 1, Kill nsSVGUtils::InvalidateAndScheduleReflowSVG. r=mattwoodrow. 2012-11-28 09:42:13 +00:00
Mats Palmgren
bd00f261fb Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc 2012-12-12 00:15:07 +01:00
Ed Morley
5bd5750ce0 Backout 2044222a3f1d (bug 820230) for build failures on a CLOSED TREE 2012-12-11 16:24:11 +00:00
Mats Palmgren
8fdbfba792 Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc 2012-12-11 16:45:51 +01:00
Robert Longson
42ca8cfcb3 Bug 817439 r=dholbert 2012-12-05 10:59:26 +00:00
Edwin Flores
3309351061 Bug 789390 - Fix crash when using -moz-objectStroke paint value with transitions r=dbaron 2012-09-24 00:10:00 +12:00
Mats Palmgren
11281fb75a Bug 814677 - Replace XP_IS_SPACE with dom::IsSpaceCharacter and add form-feed to match DOM spec. r=bz 2012-11-30 17:04:11 +01:00
Jonathan Watt
bcdf5dedde Add warning comments to SVG frame container classes. No bug. DONTBUILD.
--HG--
extra : rebase_source : 7bca01b0786f2ef262f774f570ab37492c29ca47
2012-11-22 16:23:57 +00:00
Matt Woodrow
c583d29257 Bug 796847 - Make AdjustInvalidAreaForSVGEffects correctly adjust for the coordinate space of the input rect. r=dholbert 2012-11-28 17:06:07 +13:00
Robert Longson
777b085c92 Bug 812161 r=jwatt 2012-11-16 18:03:45 +00:00
Robert Longson
2334142d4e Bug 805024 r=dholbert 2012-11-16 17:59:52 +00:00
Jonathan Watt
a4ad87faa4 Testcase for Bug 780764 - "ASSERTION: null nsSVGPathGeometry frame" and crash.
--HG--
extra : rebase_source : 5b9b5224ded867b622613a41c535f8e335cfa549
2012-11-15 11:25:13 -08:00
Jonathan Watt
65ef515bc9 Testcase for Bug 780764 - "ASSERTION: null nsSVGPathGeometry frame" and crash. 2012-11-15 10:04:27 -08:00
Jonathan Watt
6666317575 Testcase for Bug 778492 - SVG element too far outside viewBox crashes Firefox. 2012-11-15 10:04:00 -08:00
Jonathan Watt
acdd0373a9 Testcase for Bug 768087 - "ASSERTION: aFrame should be first continuation" in nsSVGEffects::GetFilterProperty. 2012-11-15 10:04:00 -08:00
Boris Zbarsky
fa61227956 Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Ehsan Akhgari
b2e16c1b41 Merge mozilla-central into mozilla-inbound 2012-11-07 17:24:27 -05:00
Ryan VanderMeulen
7838a03d31 Merge the last PGO-green inbound changeset to m-c. 2012-11-06 21:02:09 -05:00
Daniel Holbert
7f7d8bfbc4 Bug 784061: add crashtest for this WORKSFORME bug. r=longsonr 2012-11-02 15:23:18 -07:00
Daniel Holbert
ecaf5041ae Bug 612736: add crashtests for this WORKSFORME bug. r=longsonr 2012-11-02 15:23:16 -07:00
Robert Longson
38f68f7923 Fix comment. r=jwatt. no bug. DONTBUILD.
--HG--
extra : rebase_source : 3dbbe95341f3acecf433dd7571b87a6296bbe37a
2012-11-06 19:13:25 +00:00
Robert Longson
86081c14cb Fix comment. r=jwatt. no bug. DONTBUILD.
--HG--
extra : rebase_source : 780ad16e8432347096d81290140d91411a726cc1
2012-11-06 19:02:04 +00:00
Robert Longson
ac4df452d8 Bug 807919 - stop invalidating text bounds twice on updates. r=jwatt 2012-11-06 17:00:11 +00:00
Jonathan Watt
9fd3639064 Crashtest for bug 782141 - (CVE-2012-3969) Heap-buffer-overflow in nsSVGFEMorphologyElement::Filter. r=me. 2012-11-06 14:06:06 +00:00
Robert Longson
393d0a45f9 Bug 807355 - Only create marker effects if the content is markable. r=jwatt 2012-11-01 09:41:51 +00:00
Jonathan Watt
11a86f1d87 Bug 807213 - Stop creating nsSVGMarkerProperty objects for non-nsSVGPathGeometryFrame frames. r=roc. 2012-10-31 04:11:00 +00:00
Robert Longson
9dc31645d1 Bug 779971 - Make nsSVGTextPathProperty::DoUpdate trigger nsSVGTextFrame::NotifyGlyphMetricsChange() off an asynchronous change hint (to avoid calling nsLayoutUtils::FrameNeedsReflow synchronously under nsISVGChildFrame::ReflowSVG or during frame teardown, and avoid infinite loops caused by using an event queue event). r=jwatt.
--HG--
extra : rebase_source : 4dc4e59cf423f6ffb02826fb2f357edda85c048c
2012-11-07 09:53:44 +00:00
Jonathan Watt
5cb2d37360 Bug 809328 - Stop using nsChangeHint_UpdateEffects in nsSVGRenderingObserver::DoUpdate overrides. r=roc.
--HG--
extra : rebase_source : 79d032ea6ad6275882ab675004d2e02b932d56d5
2012-11-07 13:54:55 +00:00
Ed Morley
49fa790390 Backout 99a2125bd365 (bug 779971) for reftest failures 2012-11-07 12:31:00 +00:00
Robert Longson
699d16a0e0 Bug 779971 - Make nsSVGTextPathProperty::DoUpdate trigger nsSVGTextFrame::NotifyGlyphMetricsChange() off an asynchronous change hint (to avoid calling nsLayoutUtils::FrameNeedsReflow synchronously under nsISVGChildFrame::ReflowSVG or during frame teardown, and avoid infinite loops caused by using an event queue event). r=jwatt. 2012-11-07 09:53:44 +00:00
Robert Longson
f0e3d9926e Bug 791826 - Fix crash with SVG preserveAspectRatio, position:fixed. r=jwatt 2012-10-20 11:03:35 +01:00
Josh Matthews
e5b76c73ef Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-12 12:11:23 -04:00
Josh Matthews
e9be8ac74c Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe 2012-10-12 12:11:22 -04:00
Josh Matthews
31e9ef66cd Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-12 12:11:22 -04:00
Josh Matthews
e82f309179 Back out bug 585385 for build bustage. 2012-10-11 21:58:24 -04:00
Josh Matthews
d64a2c9b5a Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews
db4200e616 Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe 2012-10-11 21:34:23 -04:00
Josh Matthews
d09d8af2a1 Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-11 21:34:23 -04:00
Robert Longson
0f3e0f4a86 Bug 793484 - Optimise simple gradients. r=jwatt 2012-10-06 13:52:32 +01:00
Cameron McCormack
a35ac63f8f Bug 655877 - Part 23b: Add UA style sheet rules to map xml:space='preserve' to white-space:-moz-pre-discard-newlines on SVG text elements. r=jwatt 2012-10-04 07:32:35 +10:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Matt Woodrow
82f400d981 Bug 539356 - Correctly invalidate SVG observers. r=roc 2012-08-29 17:49:16 +12:00
Matt Woodrow
967a15e46e Bug 539356 - Add an option for frames to invalid just a rect instead of the frame bounds. r=roc 2012-08-29 17:48:45 +12:00
Matt Woodrow
ea3f06c6f0 Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt 2012-08-29 17:39:33 +12:00
Matt Woodrow
1d675c61d6 Bug 539356 - Part 9c - Remove old invalidation code. r=bz 2012-08-29 17:39:31 +12:00
Ed Morley
5a3b322459 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
11dba48580 Bug 539356 - Correctly invalidate SVG observers. r=roc 2012-08-29 17:49:16 +12:00
Matt Woodrow
5eaaebce0e Bug 539356 - Add an option for frames to invalid just a rect instead of the frame bounds. r=roc 2012-08-29 17:48:45 +12:00
Matt Woodrow
49d4c24594 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Alexandre Dumont
01f3a22f41 Bug 596753: Flatten layout/svg/base/src into layout/svg. r=dholbert
--HG--
rename : layout/svg/base/src/Makefile.in => layout/svg/Makefile.in
rename : layout/svg/base/src/SVGFEContainerFrame.cpp => layout/svg/SVGFEContainerFrame.cpp
rename : layout/svg/base/src/SVGFEImageFrame.cpp => layout/svg/SVGFEImageFrame.cpp
rename : layout/svg/base/src/SVGFELeafFrame.cpp => layout/svg/SVGFELeafFrame.cpp
rename : layout/svg/base/src/SVGFEUnstyledLeafFrame.cpp => layout/svg/SVGFEUnstyledLeafFrame.cpp
rename : layout/svg/base/src/SVGViewFrame.cpp => layout/svg/SVGViewFrame.cpp
rename : layout/svg/base/src/nsISVGChildFrame.h => layout/svg/nsISVGChildFrame.h
rename : layout/svg/base/src/nsISVGGlyphFragmentNode.h => layout/svg/nsISVGGlyphFragmentNode.h
rename : layout/svg/base/src/nsISVGSVGFrame.h => layout/svg/nsISVGSVGFrame.h
rename : layout/svg/base/src/nsSVGAFrame.cpp => layout/svg/nsSVGAFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.cpp => layout/svg/nsSVGClipPathFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.h => layout/svg/nsSVGClipPathFrame.h
rename : layout/svg/base/src/nsSVGContainerFrame.cpp => layout/svg/nsSVGContainerFrame.cpp
rename : layout/svg/base/src/nsSVGContainerFrame.h => layout/svg/nsSVGContainerFrame.h
rename : layout/svg/base/src/nsSVGEffects.cpp => layout/svg/nsSVGEffects.cpp
rename : layout/svg/base/src/nsSVGEffects.h => layout/svg/nsSVGEffects.h
rename : layout/svg/base/src/nsSVGFilterFrame.cpp => layout/svg/nsSVGFilterFrame.cpp
rename : layout/svg/base/src/nsSVGFilterFrame.h => layout/svg/nsSVGFilterFrame.h
rename : layout/svg/base/src/nsSVGFilterInstance.cpp => layout/svg/nsSVGFilterInstance.cpp
rename : layout/svg/base/src/nsSVGFilterInstance.h => layout/svg/nsSVGFilterInstance.h
rename : layout/svg/base/src/nsSVGFilterPaintCallback.h => layout/svg/nsSVGFilterPaintCallback.h
rename : layout/svg/base/src/nsSVGForeignObjectFrame.cpp => layout/svg/nsSVGForeignObjectFrame.cpp
rename : layout/svg/base/src/nsSVGForeignObjectFrame.h => layout/svg/nsSVGForeignObjectFrame.h
rename : layout/svg/base/src/nsSVGGFrame.cpp => layout/svg/nsSVGGFrame.cpp
rename : layout/svg/base/src/nsSVGGFrame.h => layout/svg/nsSVGGFrame.h
rename : layout/svg/base/src/nsSVGGenericContainerFrame.cpp => layout/svg/nsSVGGenericContainerFrame.cpp
rename : layout/svg/base/src/nsSVGGenericContainerFrame.h => layout/svg/nsSVGGenericContainerFrame.h
rename : layout/svg/base/src/nsSVGGeometryFrame.cpp => layout/svg/nsSVGGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGGeometryFrame.h => layout/svg/nsSVGGeometryFrame.h
rename : layout/svg/base/src/nsSVGGlyphFrame.cpp => layout/svg/nsSVGGlyphFrame.cpp
rename : layout/svg/base/src/nsSVGGlyphFrame.h => layout/svg/nsSVGGlyphFrame.h
rename : layout/svg/base/src/nsSVGGradientFrame.cpp => layout/svg/nsSVGGradientFrame.cpp
rename : layout/svg/base/src/nsSVGGradientFrame.h => layout/svg/nsSVGGradientFrame.h
rename : layout/svg/base/src/nsSVGImageFrame.cpp => layout/svg/nsSVGImageFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.cpp => layout/svg/nsSVGInnerSVGFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.h => layout/svg/nsSVGInnerSVGFrame.h
rename : layout/svg/base/src/nsSVGIntegrationUtils.cpp => layout/svg/nsSVGIntegrationUtils.cpp
rename : layout/svg/base/src/nsSVGIntegrationUtils.h => layout/svg/nsSVGIntegrationUtils.h
rename : layout/svg/base/src/nsSVGMarkerFrame.cpp => layout/svg/nsSVGMarkerFrame.cpp
rename : layout/svg/base/src/nsSVGMarkerFrame.h => layout/svg/nsSVGMarkerFrame.h
rename : layout/svg/base/src/nsSVGMaskFrame.cpp => layout/svg/nsSVGMaskFrame.cpp
rename : layout/svg/base/src/nsSVGMaskFrame.h => layout/svg/nsSVGMaskFrame.h
rename : layout/svg/base/src/nsSVGOuterSVGFrame.cpp => layout/svg/nsSVGOuterSVGFrame.cpp
rename : layout/svg/base/src/nsSVGOuterSVGFrame.h => layout/svg/nsSVGOuterSVGFrame.h
rename : layout/svg/base/src/nsSVGPaintServerFrame.cpp => layout/svg/nsSVGPaintServerFrame.cpp
rename : layout/svg/base/src/nsSVGPaintServerFrame.h => layout/svg/nsSVGPaintServerFrame.h
rename : layout/svg/base/src/nsSVGPathGeometryFrame.cpp => layout/svg/nsSVGPathGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGPathGeometryFrame.h => layout/svg/nsSVGPathGeometryFrame.h
rename : layout/svg/base/src/nsSVGPatternFrame.cpp => layout/svg/nsSVGPatternFrame.cpp
rename : layout/svg/base/src/nsSVGPatternFrame.h => layout/svg/nsSVGPatternFrame.h
rename : layout/svg/base/src/nsSVGStopFrame.cpp => layout/svg/nsSVGStopFrame.cpp
rename : layout/svg/base/src/nsSVGSwitchFrame.cpp => layout/svg/nsSVGSwitchFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.cpp => layout/svg/nsSVGTSpanFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.h => layout/svg/nsSVGTSpanFrame.h
rename : layout/svg/base/src/nsSVGTextContainerFrame.cpp => layout/svg/nsSVGTextContainerFrame.cpp
rename : layout/svg/base/src/nsSVGTextContainerFrame.h => layout/svg/nsSVGTextContainerFrame.h
rename : layout/svg/base/src/nsSVGTextFrame.cpp => layout/svg/nsSVGTextFrame.cpp
rename : layout/svg/base/src/nsSVGTextFrame.h => layout/svg/nsSVGTextFrame.h
rename : layout/svg/base/src/nsSVGTextPathFrame.cpp => layout/svg/nsSVGTextPathFrame.cpp
rename : layout/svg/base/src/nsSVGTextPathFrame.h => layout/svg/nsSVGTextPathFrame.h
rename : layout/svg/base/src/nsSVGUseFrame.cpp => layout/svg/nsSVGUseFrame.cpp
rename : layout/svg/base/src/nsSVGUtils.cpp => layout/svg/nsSVGUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => layout/svg/nsSVGUtils.h
rename : layout/svg/base/src/resources/content/svgBindings.xml => layout/svg/resources/content/svgBindings.xml
rename : layout/svg/base/src/svg.css => layout/svg/svg.css
2012-09-24 23:01:21 +02:00
Robert Longson
3e3a71ce0c Bug 567848 - Split content methods from nsSVGUtils into SVGContentUtils. r=dholbert
--HG--
rename : layout/svg/base/src/nsSVGUtils.cpp => content/svg/content/src/SVGContentUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => content/svg/content/src/SVGContentUtils.h
2012-09-22 20:26:05 +01:00
Robert O'Callahan
fc3689264b Bug 772726. Part 13: Fix handling of transforms in gfxTextObjectPaint. r=eflores,jwatt
gfxTextObjectPaint::GetFillPattern/GetStrokePattern should take the destination's CTM
as a parameter in order to set up the pattern matrix correctly, since the pattern matrix
is combined with the CTM by cairo/Thebes --- but we want the pattern rendering to be
independendt of the CTM, instead depending only on the TM set up when we initialized
the gfxTextObjectPaint.
We make SVGTextObjectPaint store matrices that map device space to pattern space.
2012-09-12 17:13:12 +12:00
Robert O'Callahan
08124fb0da Bug 772726. Part 6: Add NudgeToIntegers operation to Azure Matrix, add MultiplyAndNudgeToIntegers to gfxContext, and call it from SVG when we render path geometry, to ensure that small internal rounding errors in transforms don't cause unnecessary differences in rasterization of paths. r=bas 2012-09-05 12:15:52 +12:00