Commit Graph

1240 Commits

Author SHA1 Message Date
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