Commit Graph

792 Commits

Author SHA1 Message Date
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
Cameron McCormack
24da2edac5 Bug 724711 - Remove unused variable from nsSVGForeignObjectFrame::DoReflow. (Really this time.) r=dholbert 2012-02-07 10:52:01 +11:00
Cameron McCormack
312ae769fe Bug 542424 - Don't treat <svg:image> as a viewport establishing element. r=jwatt 2012-02-07 07:30:48 +11:00
Robert Longson
9400255ff4 Bug 724281 - suspend-02.svg fails randomly. r=roc 2012-02-06 12:57:12 +00:00
Robert Longson
dc84569d62 Bug 616892 - Make more updates honour suspendRedraw. r=roc 2012-02-04 13:58:46 +00:00
Edwin Flores
e20fcb14ba Bug 719288 - Fill and stroke SVG text with one Draw call r=roc 2012-02-04 13:11:09 +00:00
Jonathan Watt
c6cd8831b0 Bug 119061 - Make SVG elements respond to :hover when script/animation moves them under the mouse pointer. r=roc. 2012-02-01 19:15:49 +00:00
Robert Longson
bfd5860dd7 Bug 722882 - use or foreignObject with a percentage x or y attribute does not update properly when enclosed in an svg element which changes width or height. r=jwatt 2012-02-01 16:25:44 +00:00
Robert Longson
6d028c1044 Bug 722003 - Fix crash calling getClientRects on non-rendered foreignObject. r=roc 2012-01-29 08:56:20 +00:00
Robert Longson
8e2da6f3bf Bug 649114 - Text-anchor middle is not computed correctly for element scaled to 0. r=jwatt 2012-01-28 13:58:17 +00:00
Jonathan Watt
e194684af6 Bug 716527 - Prevent nsSVGForeignObjectFrame::PaintSVG from dereference null aDirtyRect. r=roc 2012-01-28 10:42:59 +00:00
Edwin Flores
0855766ec9 Bug 710521 - Refactor gfxFont to separate out drawing stroke and drawing to path. r=roc 2012-01-26 13:11:18 +01:00
Jon Buckley
d7b16744b1 Bug 682299 - Move CORS attributes and enumerations to nsGenericHTMLElement. r=bz 2012-01-25 17:31:29 -05:00
Jonathan Watt
cb807222d1 Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron. 2012-01-24 13:09:55 +00:00
Robert Longson
e7a77cf4c1 Backout Bug 649114 - Reftest failures 2012-01-23 20:40:09 +00:00