Commit Graph

806 Commits

Author SHA1 Message Date
Jonathan Watt
2977682c89 Bug 413960, part 2 - Stop sending out unnecessary COORD_CONTEXT_CHANGED/TRANSFORM_CHANGED notifications from nsSVGOuterSVGFrame. r=longsonr.
--HG--
extra : rebase_source : fa0e8a232559e19b9a151a34a8f235154327409b
2012-05-03 17:05:53 +01:00
Jonathan Watt
e5b7d2725a Bug 413960, part 1 - Clean up and document various parts of misleading viewBox code. r=longsonr.
--HG--
extra : rebase_source : f9dc173b36d4afbce3a8e256f7aa90d9d231615a
2012-05-03 17:05:40 +01:00
Jonathan Watt
b423e77002 Bug 407495 - Make SVG documents with percentage width/height respond to page zoom. r=roc.
--HG--
extra : rebase_source : c4c139693bb5d3b9086f7571dc3363c1c8b27ed5
2012-05-03 17:05:24 +01:00
John Daggett
69edaef745 Bug 718539. Trim out old featureSettings string code. r=jkew 2012-04-26 15:27:08 +09:00
John Daggett
f3be29b833 Bug 718539. Initialize font features in gfxFontStyle from nsFont data. r=dbaron 2012-04-26 15:25:29 +09:00
L. David Baron
8c67e2ae8b Add a font inflation data structure per block formatting context. (Bug 706193, patch 2) r=roc
This structure is per block formatting context because we have to make a
single inflation decision for things like consecutive runs of paragraphs
of text.  Inflating some paragraphs and not others (within the same
sequence of adjacent paragraphs) based on the amount of text in each one
would be disastrous.  Otherwise it's ideal for the units to be as small
as possible as long as they merge such sequences; therefore this uses a
definition corresponding to CSS's idea of elements that establish new
block formatting contexts.
2012-04-16 15:32:12 -07:00
Robert Longson
58735a46be Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt 2012-04-16 09:23:48 +01:00
Jonathan Watt
4b283cdb29 Bug 745066 - Add comments documenting the declaration of nsSVGFilterInstance, its methods and its members. r=longsonr. 2012-04-13 14:22:06 +01:00
Robert Longson
1146b3d799 Bug 740627 - Fix assert if width/height of pattern is negative. r=dholbert 2012-03-31 11:47:18 +01:00
Ms2ger
5184d0da93 Backed out changeset a329aa4bc026; r=bustage 2012-03-31 13:23:37 +02:00
Robert Longson
e268900f05 Bug 740627 - Fix assert if width/height of pattern is negative. r=dholbert 2012-03-31 11:47:18 +01:00
Daniel Holbert
8081439810 Bug 740945: Remove dead code nsSVGLeafFrame.cpp. r=longsonr 2012-03-30 13:36:40 -07:00
Robert Longson
a8d97a21b4 Bug 739972 - Stop using GetChildAt in svg layout code. r=dholbert 2012-03-29 09:41:37 +01:00
Robert Longson
358e65285c Bug 739591 - Implement filter xlink:href support. r=roc 2012-03-28 12:31:47 +01:00
Jonathan Watt
08dc5f2dcc Bug 738929 - Speed up building of layout/svg/base/src by cleaning up #include directives in its source files. r=dholbert. 2012-03-26 12:58:59 +01:00
Jonathan Watt
0ab7e18025 Bug 738975 - Speed up building of layout/svg/base/src by dropping content/html/content/src from the include path. r=bz. 2012-03-26 12:58:59 +01:00
Hessam Salehi
25b8143afe Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Jonathan Watt
bde9925a42 Bug 736890 follow-up - Forward declare gfxMatrix using |struct|, not |class|. r=me. 2012-03-20 19:44:24 +00:00
Jonathan Watt
ce86671d1b Bug 736890 - Speed up building of layout/svg/base/src by cleaning up #include directives in its header files. r=dholbert. 2012-03-20 12:15:55 +00:00
Jonathan Watt
cfd1f311f8 Bug 734079, part 2 - Use a mark and asynchronously sweep scheme (similar to HTML reflow) to invalidate and update SVG frame bounds. r=longsonr. 2012-03-20 12:15:53 +00:00
Jonathan Watt
4ef8b576ac Bug 734079, part 1 - Remove the SuspendRedraw code and make SVGSVGElement.suspendRedraw a no-op. r=longsonr. 2012-03-20 12:15:53 +00:00
Nicholas Nethercote
5524d35c04 Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt. 2012-03-15 19:40:00 -07:00
Jonathan Watt
51053d52ea Bug 379709 - Avoid reflowing SVG twice during page load due to initially assuming we'll need space for a vertical scrollbar when the nsSVGOuterSVGFrame can tell us we won't. r=bz. 2012-03-19 08:34:19 +00:00
Jonathan Watt
4c723d804d Bug 736753 - Fix the includes in layout/svg/base/src so that we can stop including nsSVGSVGElement.h in nsSVGContainerFrame.h. r=longsonr. 2012-03-18 10:32:02 +00:00
Daniel Holbert
7dcfb057c4 Bug 732610 - Make nsIFrame::ComputeSize take a bitfield 'aFlags' instead of a bool 'aShrinkWrap'. r=dbaron 2012-03-16 11:01:05 -07:00
Robert Longson
9c2b5601f7 Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt 2012-03-15 11:42:54 +00:00
Jonathan Watt
726cd3bb85 Bug 734732 - Rename nsISVGChildFrame::SUPPRESS_INVALIDATION so it's not misleading. r=longsonr.
--HG--
extra : rebase_source : e12bd28657acceec99b7dc723149a72be1b9b75f
2012-03-11 15:53:36 +00:00
Jonathan Watt
2370d31893 Bug 734656 - Add documenting comments to some SVG frame classes. r=longsonr.
--HG--
extra : rebase_source : 0663c60ccaa1a89041d47d3db109f1de2a2b9f92
2012-03-10 19:28:24 +00:00
Jonathan Watt
59b4bbc1cf Bug 734656 - Make the NS_STATE_SVG_NONDISPLAY_CHILD classes easier to find. r=longsonr.
--HG--
extra : rebase_source : a3f882a4b0f8df3347288dff25c3bbb7be72332b
2012-03-10 19:28:06 +00:00
Robert Longson
7a81195fe5 Bug 732836 - stop asserts when width or height attributes are removed from a use element. r=dholbert 2012-03-07 10:50:36 +00:00
Brian Birtles
3fcc17a22d Bug 608161 - Don't rely on HasAttr to detect whether gradient attributes have values; r=longsonr 2012-03-06 15:58:40 +09:00
Robert Longson
614603a7a2 Bug 730658 - use element does not display properly when animated with set. r=dholbert 2012-03-03 09:21:09 +00:00
Jonathan Watt
eaf5790abd Bug 732429 - Move some code from nsSVGOuterSVGFrame::Paint to nsDisplaySVG::Paint. r=longsonr. 2012-03-02 23:38:36 +00:00
Jonathan Watt
931f6fc216 Bug 729562 - Make the SVG paint methods take an nsRenderingContext, and kill nsSVGRenderState. r=Bas. 2012-03-02 08:28:59 +00:00
Robert Longson
51d8917573 Bug 729996 - trailing spaces in text not properly ignored. r=dholbert 2012-02-24 10:20:53 +00:00
Boris Zbarsky
6dca540e59 Bug 640917. Treat foreignObject as a fixed position containing block. r=jwatt
--HG--
rename : layout/reftests/svg/foreignObject-dynamic-abspos-01.html => layout/reftests/svg/foreignObject-dynamic-fixedpos-01.html
rename : layout/reftests/svg/foreignObject-dynamic-abspos-01-ref.html => layout/reftests/svg/foreignObject-fixedpos-01.html
2012-02-21 18:01:41 -05:00
Boris Zbarsky
519881edb7 Bug 728111. Fix the block inside foreignObject to really be the absolute containing block for its kids. r=roc 2012-02-21 18:01:40 -05:00
Ms2ger
610afb31c2 Bug 725918 - Part 4: Use forget(); r=dholbert 2012-02-21 10:34:02 +01:00
Daniel Holbert
624d78bbb4 Bug 725918 patch 3: Use getter_AddRefs instead of passing a pointer-to-nsRefPtr. r=jwatt 2012-02-17 16:33:24 -08:00
Edwin Flores
02658feb78 Bug 725918 patch 2: Fixed wrong assertion in nsSVGGlyphFrame. r=longsonr 2012-02-17 16:33:23 -08:00
Edwin Flores
b227f604c9 Bug 725918 patch 1: Fixed code style in nsSVGGlyphFrame::SetupCairoState. r=longsonr 2012-02-17 16:33:00 -08:00
Jonathan Watt
b63e9750b0 Bug 660216, part 3 - getBBox and getCTM on foreignObject should/should not include 'x'/'y' offsets respectively. r=heycam. 2012-02-17 08:12:47 +00:00
Jonathan Watt
5913361070 Bug 660216, part 1 - Rename PrependLocalTransformTo to PrependLocalTransformsTo. r=heycam. 2012-02-17 08:12:47 +00:00
Jonathan Watt
2421fe28eb Bug 726928 - UpdateCoveredRegion needs to convert 'extent' from CSS px now, not Dex px, otherwise painting invalidation is broken. r=dholbert. 2012-02-17 06:07:51 +00:00
Rafael Ávila de Espíndola
9d362123c0 Bug 727212 - Remove dead code. r=jwatt. 2012-02-15 07:29:20 -05:00
Rafael Ávila de Espíndola
5a56db2f05 Bug 727218 - mark nsSVGImageListener final. r=roc. 2012-02-15 06:29:31 -05:00
Jonathan Watt
3581b02664 Bug 614732 - Temporary patch to add an mCoveredRegion to SVG leaf frames to cache their covered regions, since we can't reliably compute their pre-change covered regions for invalidation from the user space bounds now in their mRects (see bug 614732 comment 32 solution #1). r=roc. 2012-02-10 12:33:49 +00:00
Jonathan Watt
56e4718d5d Bug 614732 - For SVG leaf frames, use mRect to store the frame's user space bounds, and stop using it to store its covered region (compute that on demand). r=roc. 2012-02-10 12:33:46 +00:00
Jonathan Watt
06ab5a6e5d Bug 725903 - PathExtentsToMaxStrokeExtents needs to take a transform argument. r=longsonr. 2012-02-10 12:33:39 +00:00
Jonathan Watt
45ad268897 Bug 725897 - Remove the inaccurate nsSVGUtils::ToAppPixelRect, and use nsLayoutUtils::RoundGfxRectToAppRect instead. r=longsonr. 2012-02-10 12:33:18 +00:00