Commit Graph

1337 Commits

Author SHA1 Message Date
Ed Morley
de6da097d6 Backed out changeset d7c237784ce9 (bug 886230) for B2G mochitest-9 failures in test_bug582181-1.html 2013-06-25 13:45:09 +01:00
Daniel Holbert
6bb8d57c98 Bug 886611 part 2: Rename the nsSVGUtils function SetupCairoStrokeHitGeometry() to SetupCairoStrokeGeometry() . r=longsonr 2013-06-24 23:05:32 -07:00
Daniel Holbert
db757534db Bug 886611 part 1: Rename the nsSVGUtils function SetupCairoStrokeGeometry() to SetupCairoStrokeBBoxGeometry() . r=longsonr 2013-06-24 23:05:31 -07:00
Cameron McCormack
abf1179f39 Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc 2013-06-25 16:01:38 +10:00
Robert Longson
c3ff7dd93d Bug 865901 - make nsSVGTextFrame2::mPositioningDirty and mPositioningUsesPercentages SVG frame state bits. r=cam 2013-06-24 12:20:38 +01:00
Cameron McCormack
dac7d27984 Bug 885642 - Avoid iterating SVG text frames when they are dirty. r=longsonr 2013-06-22 20:57:13 +10:00
Cameron McCormack
0f567c9832 Bug 885608 - Call ScheduleReflowSVGNonDisplayText on character data mutations in a non-display <text>. r=longsonr
--HG--
extra : rebase_source : c6332ac1146dc71812c802a1160ee79ad266467e
2013-06-22 12:38:57 +10:00
Robert Longson
3832625164 Bug 876450 - non-scaling-stroke doesn't work with svg.text.css-frames.enabled. r=heycam
--HG--
rename : layout/reftests/svg/non-scaling-stroke-03-ref.svg => layout/reftests/svg/text/dynamic-non-scaling-stroke-ref.svg
rename : layout/reftests/svg/non-scaling-stroke-03.svg => layout/reftests/svg/text/dynamic-non-scaling-stroke.svg
2013-06-16 12:05:39 +01:00
Seth Fowler
35dc379fd8 Bug 600207 (Part 1) - Avoid fuzzy SVGs on the tiling path by matrix twiddling. r=dholbert 2013-06-13 00:47:26 -07:00
Ed Morley
5b8c1b2eec Merge mozilla-central and inbound 2013-06-12 08:41:06 +01:00
Ms2ger
5c6989f531 Bug 880340 - Remove the security checks on nsImageLoadingContent methods; r=bz 2013-06-12 09:00:09 +02:00
Cameron McCormack
9da62b7959 Bug 880925 - Flush layout when caretPositionFromPoint is called. r=bz 2013-06-12 13:20:19 +10:00
Cameron McCormack
d3677774f8 Bug 877429 - Remove GlyphMetricsUpdater. r=longsonr 2013-06-12 13:19:52 +10:00
Matt Woodrow
5f6ad27c2e Bug 871917 - Schedule a paint when an nsSVGImageFrame gets an image changed notification. r=roc 2013-06-10 12:14:01 +12:00
Cameron McCormack
062da840ea Bug 872353 - Remove nsSVGTextFrame2::Reflow(), which is currently unused. r=longsonr 2013-06-05 17:15:31 +10:00
Cameron McCormack
a32f35f9b3 Bug 876186 - Don't do anything with fill-rule on SVG text. r=longsonr 2013-06-04 10:18:21 +10:00
Cameron McCormack
b63bd9c849 Bug 876831 - Only reflow nsSVGTextFrame2's anonymous block frame under ReflowSVG. r=bzbarsky,longsonr f=jwatt 2013-06-04 00:15:29 +10:00
Cameron McCormack
ba14fda171 Bug 873806 - Part 2: Make descendants of non-display nsSVGForeignObjectFrame also non-display. r=longsonr 2013-06-04 00:15:29 +10:00
Cameron McCormack
202592f20d Bug 873806 - Part 1: Ensure non-display SVG text frames get reflowed. r=longsonr f=jwatt
--HG--
rename : layout/reftests/svg/text/clipPath-content.svg => layout/reftests/svg/text/clipPath-content-2.svg
rename : layout/reftests/svg/text/mask-content.svg => layout/reftests/svg/text/mask-content-2.svg
2013-06-04 00:15:29 +10:00
Cameron McCormack
2926cba94f Comment tweak for clarity; no bug. (DONTBUILD) 2013-06-02 21:47:48 +10:00
Cameron McCormack
2326c16589 Bug 877575 - Don't force mPositions to be recomputed inside nsSVGTextFrame2::ReflowSVG. r=jwatt 2013-05-30 18:34:59 +10:00
Jonathan Watt
56c99c99f4 Bug 827915 - Get rid of SVG's own invalidation mechanisms and rely on DLBI instead. r=dholbert 2013-05-30 09:28:13 +01:00
Cameron McCormack
c18b9f7a1a Bug 877035 - Remove nsSVGTextFrame2::UpdateGlyphPositioning's aForceGlobalTransform argument and look at mGetCanvasTMForFlag instead. r=longsonr 2013-05-30 17:53:07 +10:00
Cameron McCormack
fcf5c02af5 Bug 877029 - Add a crashtest for calling nsSVGMarkerFrame::GetCanvasTM() inappropriately. r=longsonr 2013-05-30 17:48:15 +10:00
Cameron McCormack
a46f56dda8 Bug 876323 - Avoid recomputing mPositions when COORD_CONTEXT_CHANGED unless percentages were used. r=jwatt 2013-05-30 10:44:55 +10:00
Arnaud Sourioux
043b0fd84c Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert 2013-05-29 12:37:49 -07:00
Mike Shal
994cfe0b6b 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
81db085aa4 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
ddccab29b8 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
3050badbd4 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
71e2532022 Backed out changeset e3e70237a47a (bug 854765) because of mochitest-1 assertions 2013-05-24 16:02:48 -04:00
Jonathan Watt
f2b5376b3d 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
490fd95cb0 Bug 378923 - Make non-root outer-<svg> respect |overflow:visible| (overflow="visible"). r=roc 2013-05-24 17:56:26 +01:00
Jonathan Watt
5d25e02c2e 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
885a05fe89 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
464f6f4589 Bug 874865 - Stop nsSVGOuterSVGFrame::AttributeChanged from calling ChildrenOnlyTransformChanged for transform attribute changes. r=longsonr 2013-05-23 08:04:21 +01:00
Jonathan Watt
3f361decd5 Bug 874846 - Stop calling NotifySVGChanged(TRANSFORM_CHANGED) in nsSVGTextFrame2::AttributeChanged. r=longsonr 2013-05-23 08:09:15 +01:00
Jonathan Watt
bc912d5fdf Bug 874854 - Stop calling SchedulePaint for SVG transform attribute changes. r=longsonr 2013-05-23 08:04:21 +01:00
Bobby Holley
54ef3d2952 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
dc09b7d7d4 Bug 867596 - Stop calling nsSVGUtils::InvalidateBounds in nsSVGTextFrame2, and use DLBI instead. r=longsonr 2013-05-22 12:30:20 +01:00
Jonathan Watt
96a7c29a7e 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
96ecabeb76 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
3bbf4c8611 Backout d00f9ead1848 (bug 839958) for Windows reftest failure on pattern-content.svg. 2013-05-19 12:50:30 +10:00
Cameron McCormack
5372f4a586 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
aa114592bd Bug 873038 - Remove the old MSVC PGO exclusions across the tree; r=glandium 2013-05-16 11:16:30 -04:00
Phil Ringnalda
2cef52d052 Back out 4d755ea39a56:81d152795bea (bug 798843) for style mochitest failures 2013-05-15 20:53:30 -07:00
Edwin Flores
2107f8d1f5 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
6dd45bbf3d 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
9a8c47ea32 Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert 2013-05-14 09:33:23 -07:00
Andrea Marchesini
37066de808 Bug 866796 - Convert SVGAnimatedRect to WebIDL. r=Ms2ger 2013-05-09 13:42:12 -04:00
Jonathan Watt
04bcfd3d06 Bug 869611 - Stop reflowing in nsSVGPathGeometryFrame::NotifySVGChanged for ancestor transform changes. r=dholbert 2013-05-08 18:13:11 +01:00
Jonathan Watt
34e481716b 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
ce0e00b979 Bug 868904 - Fix infinite recursion with outer SVG transform animation r=dholbert 2013-05-06 07:33:20 +01:00
Robert Longson
e7e6116890 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
3509a5c9f2 Bug 865958 - Text in clipPath does not update correctly when changed. r=heycam,jwatt 2013-04-28 11:53:58 +01:00
Jonathan Watt
30d5a5caf4 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
2ad5a24e7a 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
659b807986 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Cameron McCormack
c8264eae8d Bug 864000 - Document nsSVGTextFrame2::mPositioningDirty better. (DONTBUILD) rs=jwatt 2013-04-26 09:05:34 +10:00
Seth Fowler
0a7a4dd52b 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
ca0209b32f 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
89e048c628 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
4ad5da01bf 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
5d957a2865 No bug - Minor comment tweak. (DONTBUILD) 2013-04-20 21:24:34 +10:00
Andrea Marchesini
a604ddad5a 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
6bd5bd45b4 Backout d6b34be6fb4c for causing reftest failures on a CLOSED TREE 2013-04-18 14:21:25 +12:00
Matt Woodrow
728734aeac 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
85ce7f9eb6 Bug 862817 - Fix animateMotion on foreignObject elements. r=dholbert 2013-04-17 21:28:59 +01:00
Cameron McCormack
75e242ea02 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
abbee53c68 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
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Cameron McCormack
f0a0ced56a Backout 66c01cdf30d2 (bug 862158) for text-layout-08.svg failure. (CLOSED TREE) 2013-04-16 18:28:21 +10:00
Cameron McCormack
56cea3b198 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
3a8c4b22d8 Bug 843917 - Test. 2013-04-15 19:50:57 +10:00
Cameron McCormack
7fab8d9acb Bug 843917 - Don't call InvalidateBounds() in nsSVGTextFrame2; leave invalidation to DLBI. r=jwatt 2013-04-15 17:16:07 +10:00
David Zbarsky
b888bf773b 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
7407e43576 Bug 861188 - Fix empty transforms on svg elements. r=dholbert 2013-04-14 08:17:36 +01:00
Cameron McCormack
cbe40a9555 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
c7aade5e1f 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
e4cabe5221 Bug 860378 - Reconstruct SVG text frames sooner on DOM mutations. r=longsonr 2013-04-11 18:38:40 +10:00
Cameron McCormack
27d493b48f Bug 839957 - Followup for review comment. 2013-04-10 23:04:28 +10:00
Cameron McCormack
8b0e01af2c 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
78fd3572f3 Bug 839957 - Avoid inaccuracies when computing SVG glyph positions. r=longsonr 2013-04-10 22:58:55 +10:00
Masatoshi Kimura
7c989863ee 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
7cbe6380ff 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
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Robert Longson
f15ed2651e 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
c79ccc0693 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
a59d40f143 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
fd32567688 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
3c59b61d13 Bug 840417 Part 1: Move nsIDOMSVGElement up to nsSVGElement r=Ms2ger 2013-03-27 21:23:09 -04:00
Cameron McCormack
82fc7099f6 Bug 855183 - Reflow SVG text sooner on full page zoom. r=longsonr 2013-03-28 10:55:55 +11:00
Robert Longson
f56fa2f4a7 Bug 842630 - Fix out of bounds in nsSVGTextFrame2::ResolvePositions. r=heycam 2013-03-27 10:19:02 +00:00
Andrea Marchesini
03840bb72d Bug 852620 - Convert SVGRect to WebIDL, r=Ms2ger 2013-03-26 16:53:13 +01:00
Andrea Marchesini
322af91a46 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
c6597c02f3 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
aedb473c07 Bug 847139 - Crash with caretPositionFromPoint. r=heycam 2013-03-25 19:03:44 +00:00
Robert Longson
bd2829f816 Bug 849606 r=jwatt 2013-03-22 10:25:58 +00:00
Robert Longson
b9ed798f8c Bug 852270 - use transform rather than -moz-transform in svg.css r=dbaron 2013-03-20 18:59:11 +00:00
Daniel Holbert
72d26c093a 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
5cb9ec3f11 Back out 26f0d590a021, d92e88a18263, 5a2d12a34466 (bug 846995) for not building
CLOSED TREE
2013-03-19 20:20:38 -07:00
David Zbarsky
d46f71c5a4 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
f1589419f5 Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert 2013-03-19 21:47:48 -04:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Daniel Holbert
d5682ae73a Bug 850539 - Make nsSVGTextFrame2.cpp include its own header first. r=jwatt 2013-03-13 10:49:40 -07:00
Robert Longson
85906637ee Bug 849688 - Crash with getStartPositionOfChar when argument is out of range. r=dholbert 2013-03-13 14:22:46 +00:00
David Zbarsky
1cb8b82496 Bug 847120: Convert SVGFEImageElement to WebIDL r=Ms2ger 2013-03-07 04:15:23 -05:00
David Zbarsky
82569fcba5 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
8a4008b7df Backed out changeset 3710f0b135b8 for wrong commit message 2013-03-07 02:16:30 -05:00
David Zbarsky
5bc4b05831 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
93d6530216 Bug 847120: Stop QIing to nsIDOMSVGFilterPrimitiveStandardAttributes r=bz 2013-03-07 02:12:32 -05:00
Robert Longson
547ae83ea0 Bug 848465 - Remove obsolete, non-functional selection code from nsSVGGlyphFrame. r=dholbert 2013-03-06 20:43:11 +00:00
Robert Longson
24a5aeed56 Bug 847139 - Crash with caretPositionFromPoint. r=dholbert 2013-03-06 12:11:34 +00:00
Robert Longson
4ed0f42e95 Bug 842909 - Fix GetNumberOfChars so that it always creates a TextNodeCorrespondenceProperty. r=dholbert 2013-03-04 12:04:23 +00:00
Flavio Martins
c9f6d7f392 Bug 846547 - Remove unused arg "aElement" from SVGContentUtils::GetViewboxTransform() r=dholbert 2013-03-03 00:11:03 -08:00
David Zbarsky
2c3499b66c [Bug 847110] Fix up includes in layout/style r=dbaron 2013-03-02 19:31:48 -05:00
Robert Longson
e4d879d59a Bug 843072 - Crash with getExtentOfChar(0) if there is no text. r=dholbert 2013-03-02 13:28:04 +00:00
David Zbarsky
4b238ed8af 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
66d7e369f0 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
3813557cac Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
O S K Chaitanya
2d21bf3f80 Bug 594019 - Make the calculation in nsSVGMaskFrame::ComputeMaskAlpha one-pass. r=longsonr 2013-02-28 09:50:38 +00:00
Gregory Szorc
f0b7e3972c 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
2f35b94a0e Bug 784841 - Part 18t: Convert /layout; f=Ms2ger rs=ted 2013-02-25 12:47:22 -08:00
Timothy Nikkel
21a6c4970d 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
7191580b25 Bug 844511 - Only luminance masks need unpremultiplying and conversion to linear RGB. r=longsonr 2013-02-24 09:05:09 +00:00
Robert Longson
1216de8a05 Bug 785606 - Support viewBox=none from SVG 1.2 Tiny r=jwatt 2013-02-26 16:58:06 +00:00
Jonathan Kew
4a6209493f bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc 2013-02-19 21:46:27 +00:00
Cameron McCormack
40c0aaf1f5 Bug 842119. r=longsonr 2013-02-19 13:50:05 +11:00
Cameron McCormack
eaf0d544da 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
c826cb691e Bug 833446: Remove nsIDOMSVGMarkerElement r=peterv 2013-02-18 17:48:54 -05:00
David Zbarsky
fd6e8609f2 Bug 837044 - Convert SVGFilterElement to WebIDL r=bz 2013-02-17 21:14:02 -05:00
David Zbarsky
196dfc3a90 Bug 837044 Part 1: Move SVGFilterElement to mozilla::dom r=bz
--HG--
rename : content/svg/content/src/nsSVGFilterElement.cpp => content/svg/content/src/SVGFilterElement.cpp
rename : content/svg/content/src/nsSVGFilterElement.h => content/svg/content/src/SVGFilterElement.h
2013-02-17 18:28:47 -05:00
Cameron McCormack
ecb671c48d Bug 842016 - Make pointer-events not affect whether SVG text renders. r=longsonr 2013-02-17 19:28:29 +11:00
Cameron McCormack
db354f0639 Bug 842009 - Ignore <tref> elements when computing SVG text layout. r=longsonr 2013-02-17 19:28:09 +11:00
Cameron McCormack
42bb404e3f Backed out changeset e4831a8b042c for lack of proper "r=". 2013-02-17 19:27:10 +11:00
Cameron McCormack
0d2d68f7dc Backed out changeset cbf7a8294eae for lack of proper "r=". 2013-02-17 19:26:09 +11:00
Cameron McCormack
ed11774457 Bug 842016 - Make pointer-events not affect whether SVG text renders. r? 2013-02-17 19:22:44 +11:00
Cameron McCormack
2e04a13297 Bug 842009 - Ignore <tref> elements when computing SVG text layout. r? 2013-02-17 19:21:57 +11:00
L. David Baron
822b2ca3bc Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Cameron McCormack
a5d156f4b3 Bug 841812 - Avoid crashing when changing attributes on an invalidly parented <textPath>. r=roc 2013-02-16 20:16:11 +11:00
Robert O'Callahan
d9665619b9 Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
--HG--
extra : rebase_source : de498510bf8d85d9b0b2fab0137ef3be01c9adfa
2013-02-15 00:12:27 +13:00
Robert O'Callahan
59dfd955a1 Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
--HG--
extra : rebase_source : 50a3d6809ef76a25a3d02d91f2873d9ba11fdc56
2013-02-15 00:08:08 +13:00
L. David Baron
5464b49cb0 Bug 841789, patch 2: Fix callers that are going through the style context to get style structs rather than using the nsIFrame shortcuts. r=dholbert
This is just a code simplification that I noticed while reading through
patch 1.
2013-02-15 21:38:34 -08:00
L. David Baron
63fdfec174 Bug 841789, patch 1: Rename nsIFrame::GetStyleContext() to nsIFrame::StyleContext() since it can never return null. r=dholbert
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
2013-02-15 21:38:33 -08:00
Ed Morley
3288d5e24a Backed out changeset 2c860c4bb820 (bug 840902) on a CLOSED TREE 2013-02-15 09:05:36 +00:00
Ed Morley
7054010458 Backed out changeset 6c21598704ac (bug 840902) 2013-02-15 09:05:07 +00:00
Robert O'Callahan
34c090a860 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
e5e7f8c6aa 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
f46a9972bd 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
ea6cb39072 Backed out changeset b1905f6653d4 (bug 840902) on a CLOSED TREE 2013-02-14 11:47:08 +00:00