Arnaud Sourioux
c6d0c9ac5d
Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert
2013-05-29 12:37:49 -07:00
Mike Shal
5169c0a913
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
812121dca8
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
fc4e140ee3
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
527254d968
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
a9e782559f
Backed out changeset e3e70237a47a (bug 854765) because of mochitest-1 assertions
2013-05-24 16:02:48 -04:00
Jonathan Watt
cc76ea785a
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
c616fe5064
Bug 378923 - Make non-root outer-<svg> respect |overflow:visible| (overflow="visible"). r=roc
2013-05-24 17:56:26 +01:00
Jonathan Watt
95b5af7754
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
b1e4b6c4c4
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
9899276072
Bug 874865 - Stop nsSVGOuterSVGFrame::AttributeChanged from calling ChildrenOnlyTransformChanged for transform attribute changes. r=longsonr
2013-05-23 08:04:21 +01:00
Jonathan Watt
a0753e99f6
Bug 874846 - Stop calling NotifySVGChanged(TRANSFORM_CHANGED) in nsSVGTextFrame2::AttributeChanged. r=longsonr
2013-05-23 08:09:15 +01:00
Jonathan Watt
c41c964383
Bug 874854 - Stop calling SchedulePaint for SVG transform attribute changes. r=longsonr
2013-05-23 08:04:21 +01:00
Bobby Holley
cdde50556c
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
0f54c786a4
Bug 867596 - Stop calling nsSVGUtils::InvalidateBounds in nsSVGTextFrame2, and use DLBI instead. r=longsonr
2013-05-22 12:30:20 +01:00
Jonathan Watt
405906cf2b
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
a70fc32507
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
952be382d1
Backout d00f9ead1848 (bug 839958) for Windows reftest failure on pattern-content.svg.
2013-05-19 12:50:30 +10:00
Cameron McCormack
94f41d9b27
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
0b00dc2f2d
Bug 873038 - Remove the old MSVC PGO exclusions across the tree; r=glandium
2013-05-16 11:16:30 -04:00
Phil Ringnalda
95ddec5edc
Back out 4d755ea39a56:81d152795bea (bug 798843) for style mochitest failures
2013-05-15 20:53:30 -07:00
Edwin Flores
8a4ca2262b
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
9e3a28f874
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
623d2ed378
Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert
2013-05-14 09:33:23 -07:00
Andrea Marchesini
da5e259b0e
Bug 866796 - Convert SVGAnimatedRect to WebIDL. r=Ms2ger
2013-05-09 13:42:12 -04:00
Jonathan Watt
27d86f8e64
Bug 869611 - Stop reflowing in nsSVGPathGeometryFrame::NotifySVGChanged for ancestor transform changes. r=dholbert
2013-05-08 18:13:11 +01:00
Jonathan Watt
612f292926
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
056b56c939
Bug 868904 - Fix infinite recursion with outer SVG transform animation r=dholbert
2013-05-06 07:33:20 +01:00
Robert Longson
cbd86d7158
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
804040c9b5
Bug 865958 - Text in clipPath does not update correctly when changed. r=heycam,jwatt
2013-04-28 11:53:58 +01:00
Jonathan Watt
c3e9fc6d26
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
6542a83d06
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
f0404a303a
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Cameron McCormack
e9cf626ba5
Bug 864000 - Document nsSVGTextFrame2::mPositioningDirty better. (DONTBUILD) rs=jwatt
2013-04-26 09:05:34 +10:00
Seth Fowler
fa19988b4c
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
bf434b13f3
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
1f0ee6eacb
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
0455b0f597
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
069bc62622
No bug - Minor comment tweak. (DONTBUILD)
2013-04-20 21:24:34 +10:00
Andrea Marchesini
1b1855494c
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
4b9c22e2f6
Backout d6b34be6fb4c for causing reftest failures on a CLOSED TREE
2013-04-18 14:21:25 +12:00
Matt Woodrow
ec2f166ceb
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
df55253a6e
Bug 862817 - Fix animateMotion on foreignObject elements. r=dholbert
2013-04-17 21:28:59 +01:00
Cameron McCormack
5f2b7f2d84
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
8a180291b2
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
df7deac25b
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Cameron McCormack
15a1a5b1e0
Backout 66c01cdf30d2 (bug 862158) for text-layout-08.svg failure. (CLOSED TREE)
2013-04-16 18:28:21 +10:00
Cameron McCormack
e60f7ec363
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
d602676c91
Bug 843917 - Test.
2013-04-15 19:50:57 +10:00
Cameron McCormack
a16a8c0d77
Bug 843917 - Don't call InvalidateBounds() in nsSVGTextFrame2; leave invalidation to DLBI. r=jwatt
2013-04-15 17:16:07 +10:00
David Zbarsky
eeb5fc7207
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
20c65bf5c1
Bug 861188 - Fix empty transforms on svg elements. r=dholbert
2013-04-14 08:17:36 +01:00
Cameron McCormack
86a6c2bb6c
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
1f24ef2b5e
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
942cf09a9d
Bug 860378 - Reconstruct SVG text frames sooner on DOM mutations. r=longsonr
2013-04-11 18:38:40 +10:00
Cameron McCormack
ab44f481ad
Bug 839957 - Followup for review comment.
2013-04-10 23:04:28 +10:00
Cameron McCormack
e87c79516e
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
9bede9c397
Bug 839957 - Avoid inaccuracies when computing SVG glyph positions. r=longsonr
2013-04-10 22:58:55 +10:00
Masatoshi Kimura
2550eb2430
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
613ea8adbd
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
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Robert Longson
37e5af5fac
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
43628a7867
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
334c0800cf
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
9e9a56db86
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
9ac66bb66f
Bug 840417 Part 1: Move nsIDOMSVGElement up to nsSVGElement r=Ms2ger
2013-03-27 21:23:09 -04:00
Cameron McCormack
0631178d96
Bug 855183 - Reflow SVG text sooner on full page zoom. r=longsonr
2013-03-28 10:55:55 +11:00
Robert Longson
dfd5800223
Bug 842630 - Fix out of bounds in nsSVGTextFrame2::ResolvePositions. r=heycam
2013-03-27 10:19:02 +00:00
Andrea Marchesini
64e6da38ab
Bug 852620 - Convert SVGRect to WebIDL, r=Ms2ger
2013-03-26 16:53:13 +01:00
Andrea Marchesini
b611899f62
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
32511651c4
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
f486ff53a0
Bug 847139 - Crash with caretPositionFromPoint. r=heycam
2013-03-25 19:03:44 +00:00
Robert Longson
b7021f1391
Bug 849606 r=jwatt
2013-03-22 10:25:58 +00:00
Robert Longson
4eac70e2f5
Bug 852270 - use transform rather than -moz-transform in svg.css r=dbaron
2013-03-20 18:59:11 +00:00
Daniel Holbert
5e4d2ed81a
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
3b7e0c1622
Back out 26f0d590a021, d92e88a18263, 5a2d12a34466 (bug 846995) for not building
...
CLOSED TREE
2013-03-19 20:20:38 -07:00
David Zbarsky
557f87694f
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
7f102d7f2d
Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert
2013-03-19 21:47:48 -04:00
Mike Shal
7ecea60097
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Daniel Holbert
4baaea9821
Bug 850539 - Make nsSVGTextFrame2.cpp include its own header first. r=jwatt
2013-03-13 10:49:40 -07:00
Robert Longson
63e1a3e1f6
Bug 849688 - Crash with getStartPositionOfChar when argument is out of range. r=dholbert
2013-03-13 14:22:46 +00:00
David Zbarsky
bc34e2ce7d
Bug 847120: Convert SVGFEImageElement to WebIDL r=Ms2ger
2013-03-07 04:15:23 -05:00
David Zbarsky
d6b766e205
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
63f9fd9256
Backed out changeset 3710f0b135b8 for wrong commit message
2013-03-07 02:16:30 -05:00
David Zbarsky
df4d6472a9
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
df6170cf1a
Bug 847120: Stop QIing to nsIDOMSVGFilterPrimitiveStandardAttributes r=bz
2013-03-07 02:12:32 -05:00
Robert Longson
dd6e3bf9ed
Bug 848465 - Remove obsolete, non-functional selection code from nsSVGGlyphFrame. r=dholbert
2013-03-06 20:43:11 +00:00
Robert Longson
f476b2bd6e
Bug 847139 - Crash with caretPositionFromPoint. r=dholbert
2013-03-06 12:11:34 +00:00
Robert Longson
83c705a616
Bug 842909 - Fix GetNumberOfChars so that it always creates a TextNodeCorrespondenceProperty. r=dholbert
2013-03-04 12:04:23 +00:00
Flavio Martins
092affd5c4
Bug 846547 - Remove unused arg "aElement" from SVGContentUtils::GetViewboxTransform() r=dholbert
2013-03-03 00:11:03 -08:00
David Zbarsky
3250bd906e
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
Robert Longson
4259f06332
Bug 843072 - Crash with getExtentOfChar(0) if there is no text. r=dholbert
2013-03-02 13:28:04 +00:00
David Zbarsky
1afb5e9f82
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
c9f0633db1
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
8fedd090cc
Merge m-i to b-s.
2013-02-28 14:46:10 +01:00
O S K Chaitanya
c0064f3c8e
Bug 594019 - Make the calculation in nsSVGMaskFrame::ComputeMaskAlpha one-pass. r=longsonr
2013-02-28 09:50:38 +00:00
Gregory Szorc
0c8ee65118
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
266db717ab
Bug 784841 - Part 18t: Convert /layout; f=Ms2ger rs=ted
2013-02-25 12:47:22 -08:00
Timothy Nikkel
088889359a
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
493bd5a2ab
Bug 844511 - Only luminance masks need unpremultiplying and conversion to linear RGB. r=longsonr
2013-02-24 09:05:09 +00:00
Robert Longson
f5c4f10b18
Bug 785606 - Support viewBox=none from SVG 1.2 Tiny r=jwatt
2013-02-26 16:58:06 +00:00
Jonathan Kew
9cd7d9f8bb
bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc
2013-02-19 21:46:27 +00:00
Cameron McCormack
32b9560efc
Bug 842119. r=longsonr
2013-02-19 13:50:05 +11:00
Cameron McCormack
61de4d83f3
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
dcb508719c
Bug 833446: Remove nsIDOMSVGMarkerElement r=peterv
2013-02-18 17:48:54 -05:00
David Zbarsky
af06207909
Bug 837044 - Convert SVGFilterElement to WebIDL r=bz
2013-02-17 21:14:02 -05: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
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
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
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
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
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
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
Cameron McCormack
02273bad6d
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
aa30282f1e
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
09c6634a12
Bug 841207 - Handle all dominant-baseline values in SVG text layout. r=roc
2013-02-14 12:52:48 +11:00
Cameron McCormack
6689e321e5
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
50f4b40153
backout 69277e48526c (Bug 839865) due to reftest orange on a CLOSED TREE
2013-02-11 17:29:48 -08:00
Jonathan Watt
aae9003b88
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
9aa8bf1721
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
2885f1362f
Bug 655877 - Part 45: Fixes for DLBI. r=roc,jwatt
2013-02-11 17:22:20 +11:00
Cameron McCormack
e7ff8972aa
Bug 655877 - Part 42a: Handle SVG text frame pref changes gracefully. r=bz,longsonr
2013-02-11 17:22:18 +11:00
Cameron McCormack
56be0350f9
Bug 655877 - Part 41b: Make SVG text selectable with the mouse. r=roc,jwatt
2013-02-11 17:22:18 +11:00
Cameron McCormack
e8ca525d3a
Bug 655877 - Part 41a: Move ToCanvasBounds to nsSVGUtils. r=longsonr
2013-02-11 17:22:18 +11:00
Cameron McCormack
9d4cb3bfde
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
badeae6f3b
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
8c4b915009
Bug 655877 - Part 33: Allow new SVG text frames in clip paths. r=longsonr
2013-02-11 17:22:17 +11:00
Cameron McCormack
269a4bb934
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
25743624b2
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
a9a7aac680
Bug 833446: Remove nsIDOMSVGStopElement r=peterv
2013-02-02 15:23:18 -05:00
David Zbarsky
e46ee1bca2
Bug 833446: Remove nsIDOMSVGGradientElement and subclasses r=peterv
2013-02-02 15:23:16 -05:00
Daniel Holbert
f6e98b344d
Bug 837004: Annotate some overridden methods in nsSVGContainerFrame as MOZ_OVERRIDE. r=jwatt
2013-02-01 08:01:49 -08:00
Mounir Lamouri
a96b05d0c8
Bug 833012 - Remove "nsContentUtils.h" inclusion from Element.h. r=Ms2ger
2013-01-31 23:11:49 +00:00
Johnny Stenback
3cc20b154a
Fixing bug 836173. Stop leaking gfxPattern objects when using SVG with cairo. r=jwatt
2013-01-30 01:40:34 -08:00
David Zbarsky
4811eac7ed
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
4b6c8d2400
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
1085318980
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
2caf7e05de
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
99cb944718
Bug 835030 - Remove svg.smil.enabled pref. r=dholbert
2013-01-27 19:30:21 +00:00
Robert Longson
e65213beb1
Bug 378716 - crash test
2013-01-26 21:28:56 +01:00
Cameron McCormack
2c37312dc2
Bug 828962 - Don't let xml:space="preserve" affect <foreignObject>. r=longsonr
2013-01-26 21:28:15 +11:00
Mats Palmgren
70c96c5bef
Bug 344557 - Add crashtests.
2013-01-25 18:34:30 +01:00
David Zbarsky
e2d4944491
Bug 832153 - Convert SVGMaskElement to WebIDL r=bz
2013-01-23 15:59:46 -05:00
David Zbarsky
8bad5d1a74
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
7ee12cf191
Bug 833190 - Disable PGO on svg; a=me
2013-01-21 23:00:29 -05:00
David Zbarsky
2f19359c49
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
57e9b33a4b
Bug 830230 - Convert SVGPatternElement to WebIDL r=bz
2013-01-16 15:51:00 -05:00
David Zbarsky
8826c06ce1
Bug 827174 - Remove nsIDOMSVGLocatable and nsIDOMSVGTransformable r=bz
2013-01-16 15:51:00 -05:00
David Zbarsky
f10e03cdcf
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
48f5bae1bb
Bug 827182: Convert SVGUseElement to WebIDL
2013-01-16 15:50:59 -05:00
David Zbarsky
a69015e81b
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
b7ae90666d
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
bc2d799592
Bug 828805 - Implement SVG paint-order property. r=bz,roc
2013-01-13 10:27:53 +11:00
David Zbarsky
27fefcce81
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
2cff5d6731
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
005d4fea5c
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
7227513a94
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
c3bac23c38
Bug 827119: Convert SVGSVGElement to WebIDL r=bz
2013-01-09 18:02:47 -05:00
David Zbarsky
e7ce03e722
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
bc8a83065f
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
f568f12d29
Bug 827197 - Remove some uses of nsIDOMSVGElement subclasses r=longsonr
2013-01-07 22:22:41 -05:00
David Zbarsky
a3aaae810c
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
904e957b56
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
af6c0fe225
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
ca38d12d8d
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
35604d01d3
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
4494fc67d8
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
49bb7ff199
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
1cad2b6a5a
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
d4f193b7c9
Bug 822983 - Map SVG graphic elements to accessibility API, r=tbsaunde, longsonr
2013-01-04 13:26:00 +09:00
Masatoshi Kimura
9a4812e054
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
f88a3e128d
Bug 817442 Part 10: Remove nsIDOMSVGPoint r=bz
2012-12-22 23:54:25 -05:00
Jonathan Kew
a76332437f
Bug 823964 - Wrong bounds for scaled images. r=longsonr
2012-12-22 10:07:00 +00:00
Jonathan Watt
0900576d4c
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
827b117cbe
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
935330a0a2
Bug 767535 - "ASSERTION: How did we getting here, then?"
2012-12-21 19:13:48 +00:00
Jonathan Watt
5b2cfc1dea
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
7b63518845
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
154f38b92a
Bug 793617 - Implement mask-type property. r=dbaron,longsonr
2012-12-21 11:15:22 +11:00
Robert Longson
ad7569cc5f
Bug 791675 - Scaled shapes fail to draw sometimes r=jwatt.
2012-12-20 13:49:54 +00:00
Jonathan Watt
12fdf8dc38
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
e4722f2e70
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
2a75ea0fc8
Bug 802628 - Part 2, Fix broken invalidation in ReflowSVG implementations. r=mattwoodrow.
2012-11-28 10:34:58 +00:00
Jonathan Watt
57e52e7f84
Bug 802628 - Part 1, Kill nsSVGUtils::InvalidateAndScheduleReflowSVG. r=mattwoodrow.
2012-11-28 09:42:13 +00:00
Mats Palmgren
4a453b2f3b
Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc
2012-12-12 00:15:07 +01:00