Commit Graph

1011 Commits

Author SHA1 Message Date
Jonathan Watt
a44ff6a481 Bug 769238 - Rename aEffectsFrame to just aFrame in nsSVGIntegrationUtils. r=dholbert. 2012-06-28 20:51:09 +01:00
Ed Morley
251c0f2812 Merge mozilla-central to mozilla-inbound 2012-06-26 12:12:52 +01:00
Jonathan Watt
c763f88ab3 Bug 767823 - Make nsAutoFilterInstance take frame rects and stop using GetCoveredRegion. r=longsonr. 2012-06-26 11:49:23 +01:00
Jonathan Watt
ec3416999b Bug 767996 - Prevent DoApplyRenderingChangeToTree calling nsSVGUtils::InvalidateBounds() and passing in an nsSVGOuterSVGFrame. r=me. 2012-06-25 18:55:30 +01:00
Jonathan Watt
d503e80219 Bug 767996 - Add null check to nsSVGUtils::InvalidateBounds. r=me. 2012-06-25 16:17:42 +01:00
Jonathan Watt
210ba1b832 Bug 767734, part 1 - Require all callers of nsSVGPathGeometryFrame::GeneratePath to pass in the CTM that should be used. r=longsonr. 2012-06-24 21:12:40 +01:00
Jonathan Watt
85c6257d2a Bug 738192 follow-up. Re-enable layout/reftests/svg/dynamic-text-04.svg after fixing MarkDirtyBitsOnDescendants. r=me. 2012-06-24 18:02:23 +01:00
Jonathan Watt
4b8d2583b0 Bug 738192 - Get rid of the old horrendous "invalidate everything" hack in nsSVGUtils::FindFilterInvalidation(). r=longsonr. 2012-06-24 13:59:26 +01:00
Jonathan Watt
78efdb47e0 Bug 767647 followup. Fix unused variable bustage. r=me. 2012-06-23 17:49:37 +01:00
Jonathan Watt
95ea2cc074 Bug 767647 - Stop invalidating once for every SVG descendant of a changed SVG container, and stop invalidating the descendants' rendering observers. r=longsonr. 2012-06-23 17:36:46 +01:00
Jonathan Watt
ed55d211a6 Bug 767697 - Stop invalidating rendering observers of ancestors of SVG frames that only render by reference. r=longsonr. 2012-06-23 15:19:00 +01:00
Jonathan Watt
70ed55213d Bug 767701 - Add missing nsSVGEffects::InvalidateDirectRenderingObservers() call to the clipPath code. r=longsonr. 2012-06-23 15:18:49 +01:00
Jonathan Watt
126ee0336a Bug 541270 - Correctly calculate the filter region for SVG filters on HTML to account for zooming. r=dholbert. 2012-06-23 04:01:36 +01:00
Phil Ringnalda
0e199a7991 Back out 12f76b9a2d78 (bug 541270) for failing to compile 2012-06-22 19:12:35 -07:00
Jonathan Watt
fa945296aa Bug 541270 - Correctly calculate the filter region for SVG filters on HTML to account for zooming. r=dholbert. 2012-06-23 02:47:10 +01:00
Jonathan Watt
0b9d66a240 Bug 766896 - Have InvalidateAllContinuations use GetNextContinuationOrSpecialSibling so that we invalidate the correct areas. r=roc. 2012-06-22 11:44:18 +01:00
Jonathan Watt
f77cf4fa9a Bug 766227 - Follow-up to fix comment after discussion with roc. r=me. 2012-06-22 11:42:05 +01:00
Jonathan Watt
80caa325d5 Bug 766227 - More nsSVGIntegrationUtils cleanup and commenting to make it a lot easier to understand. r=longsonr.
--HG--
extra : rebase_source : fab6126eac4f1135562e1b2404bf5c52d0500344
2012-06-21 01:29:50 +01:00
Jonathan Watt
8b65516a73 Bug 766429 - Minimize the size of the offscreen surfaces created for SVG group opacity, masks and complex clipPaths. r=roc. 2012-06-20 10:02:43 +01:00
Jonathan Watt
1d7315c090 Bug 766120 - Stop conflating effects offset and continuation union size in nsSVGIntegrationUtils. r=longsonr. 2012-06-19 16:28:04 +01:00
Robert Longson
30fbb12128 Bug 467498 - Second level of use is not live to changes. r=dholbert
--HG--
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01a.svg
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01b.svg
2012-06-19 15:58:39 +01:00
Jonathan Watt
5691b0a166 Bug 765505 - Clean up filter code. r=longsonr. 2012-06-16 21:23:48 +01:00
Jonathan Watt
b793ad332c Bug 764860 - Simplify and comment the clipPath code. r=longsonr. 2012-06-15 10:06:34 +01:00
Jonathan Watt
ee7b3d7fe0 Bug 764824 - Make it easier to spot when were using a temporary context. r=longsonr. 2012-06-15 04:02:29 +01:00
Jonathan Watt
594e97c827 Bug 764813 - Avoid using gfxContext::SetMatrix in SVG code where possible. r=Bas. 2012-06-15 04:02:27 +01:00
Jonathan Watt
dc30fd5458 Bug 762679 - Stop rounding coordinates prematurely while doing SVG hit testing. r=longsonr 2012-06-13 21:12:38 -04:00
Robert Longson
aff81fb50f Bug 762411 - getScreenCTM scaling broken on inline outer svg elements. r=jwatt 2012-06-13 14:32:23 +01:00
Robert Longson
92f0e44c03 Bug 763133 - border-radius not clipping SVG contents. r=bzbarsky 2012-06-12 11:25:26 +01:00
Ed Morley
7d13aab294 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
5076b975a0 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Matt Woodrow
0c4e74a43d Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc 2012-06-11 16:44:08 +12:00
Jonathan Watt
1d9ff0c629 Bug 539356 - Part 4 - Reinstate the foreignObject registering code so that bug 605265 doesn't slow down SVG in general. r=mattwoodrow 2012-06-11 16:44:08 +12:00
Ed Morley
d522af1b80 Merge mozilla-central to mozilla-inbound 2012-06-01 16:58:27 +01:00
Mounir Lamouri
53cd72fda5 Bug 759770 - Fix build error when warnings-as-errors in nsSVGUtils.cpp. r=dholbert 2012-06-01 11:48:39 +02:00
Joel Maher
7ba48baac9 Bug 748088 - Native android reftest are not testing OMTC+OGL. r=ajuma 2012-06-01 08:42:38 -04:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Ginn Chen
42961c9e98 Bug 758516 nsSVGGenericContainerFrame.cpp failed to compile with Solaris Studio compiler r=roc 2012-05-28 09:30:54 +08:00
Robert Longson
17086b6e48 Bug 746452 - textPath does not handle startOffset with non-user-unit/non-percentage units correctly. r=jwatt 2012-05-24 11:43:10 +01:00
Robert Longson
cf79b36372 Bug 757718 - Crash with SVG requiredFeatures, adoptNode. r=jwatt 2012-05-23 10:54:19 +01:00
Robert Longson
3ad99a5316 Bug 757704 - getScreenCTM() crash. r=jwatt 2012-05-23 10:49:15 +01:00
Ed Morley
f0346ff780 Merge mozilla-central to mozilla-inbound 2012-05-21 13:19:38 +01:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
L. David Baron
90bd8753e1 Remove caching of current inflation container and its width from the pres context. (Bug 747720, patch 6) r=roc
This is no longer needed because we're getting the width from
nsFontInflationData and the null-ness of the container from
mInflationDisabledForShrinkWrap.
2012-05-20 22:18:28 -07:00
Jonathan Watt
d6052b5e5b Bug 756462 - Stop unnecessary propagating COORD_CONTEXT_CHANGED notifications to descendants of nsSVGInnerSVGFrame. r=longsonr. 2012-05-19 14:50:07 +01:00
Jonathan Watt
e868f902dd backout 0f4a08fb2e8e to see if it caused random orange (Bug 756122 - Clean up nsSVGUtils::PaintFrameWithEffects a little). 2012-05-18 12:21:24 +01:00
Jonathan Watt
339d439166 Bug 756122 - Clean up nsSVGUtils::PaintFrameWithEffects a little. r=longsonr. 2012-05-18 10:05:09 +01:00
Robert Longson
b2c0e30df6 Bug 528332 - Implement non-scaling-stroke vector-effect. Part 2 - SVG changes r=dholbert 2012-05-18 09:34:25 +01:00
Robert Longson
a067109b15 Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt 2012-05-17 11:02:41 +01:00
Jonathan Watt
c8b52ec634 Bug 734082 - Compute and store bounds and visual overflow bounds for both SVG leaf and container frames. r=roc. 2012-05-17 05:05:09 +01:00
Jonathan Watt
396b0f9473 Bug 614732 - Add prefs for enabling/disabling display-list hit-testing/painting. r=roc. 2012-05-17 05:05:04 +01:00
Jonathan Watt
1c9fa9bc51 Bug 755056 - nsSVGForeignObjectFrame's mRect should include its x/y offset. r=longsonr.
--HG--
extra : rebase_source : e60952de7b9e46ec023154bc64afc246b44994fe
2012-05-16 11:04:31 +01:00
Jonathan Watt
675d300fbe Bug 754696 - Make nsSVGOuterSVGFrame call UpdateBounds on its children before calling FinishAndStoreOverflow. r=longsonr.
--HG--
extra : rebase_source : 00b21402c183c034e7e87575bad4ddaeed7985c1
2012-05-13 20:30:44 +01:00
Jonathan Watt
7c6b874674 Bug 753713 - Fix indentation in nsSVGOuterSVGFrame::AttributeChanged prior to touching it in bug 734082. r=me. 2012-05-10 12:47:34 +01:00
Jonathan Watt
108436c1b2 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
86a47f143b 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
d29802b3a2 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
36057fec8a Bug 718539. Trim out old featureSettings string code. r=jkew 2012-04-26 15:27:08 +09:00
John Daggett
1d89c211d4 Bug 718539. Initialize font features in gfxFontStyle from nsFont data. r=dbaron 2012-04-26 15:25:29 +09:00
L. David Baron
1984592c22 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
db591d9d86 Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt 2012-04-16 09:23:48 +01:00
Jonathan Watt
5990c6f807 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
6a94c8e144 Bug 740627 - Fix assert if width/height of pattern is negative. r=dholbert 2012-03-31 11:47:18 +01:00
Ms2ger
0fa9fa6ca5 Backed out changeset a329aa4bc026; r=bustage 2012-03-31 13:23:37 +02:00
Robert Longson
2786d34f79 Bug 740627 - Fix assert if width/height of pattern is negative. r=dholbert 2012-03-31 11:47:18 +01:00
Daniel Holbert
f9d8160ff0 Bug 740945: Remove dead code nsSVGLeafFrame.cpp. r=longsonr 2012-03-30 13:36:40 -07:00
Robert Longson
6a31f86194 Bug 739972 - Stop using GetChildAt in svg layout code. r=dholbert 2012-03-29 09:41:37 +01:00
Robert Longson
23562e0cb6 Bug 739591 - Implement filter xlink:href support. r=roc 2012-03-28 12:31:47 +01:00
Jonathan Watt
cb4551f9d5 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
4a32c8a3a9 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
7d69570885 Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Jonathan Watt
0ec358a2f5 Bug 736890 follow-up - Forward declare gfxMatrix using |struct|, not |class|. r=me. 2012-03-20 19:44:24 +00:00
Jonathan Watt
e30bc57157 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
c9836192c8 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
581112defc 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
1859bc3ea6 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
8edc89f81d 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
a5466d55ce 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
ce6dc9863d 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
9a7758d1f4 Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt 2012-03-15 11:42:54 +00:00
Jonathan Watt
55a0c649a1 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
638ca1424b 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
221a24847f 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
3bc3ccbc85 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
0a8aefa217 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
1e81fc3027 Bug 730658 - use element does not display properly when animated with set. r=dholbert 2012-03-03 09:21:09 +00:00
Jonathan Watt
53e56faacf Bug 732429 - Move some code from nsSVGOuterSVGFrame::Paint to nsDisplaySVG::Paint. r=longsonr. 2012-03-02 23:38:36 +00:00
Jonathan Watt
1374ace393 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
ad9a1975d2 Bug 729996 - trailing spaces in text not properly ignored. r=dholbert 2012-02-24 10:20:53 +00:00
Boris Zbarsky
94ceecd475 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
d389408e85 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
e6b6e04b34 Bug 725918 - Part 4: Use forget(); r=dholbert 2012-02-21 10:34:02 +01:00
Daniel Holbert
3d53049b96 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
42373ed802 Bug 725918 patch 2: Fixed wrong assertion in nsSVGGlyphFrame. r=longsonr 2012-02-17 16:33:23 -08:00
Edwin Flores
7e0c5df985 Bug 725918 patch 1: Fixed code style in nsSVGGlyphFrame::SetupCairoState. r=longsonr 2012-02-17 16:33:00 -08:00
Jonathan Watt
e71189580e 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
665e3ab9d3 Bug 660216, part 1 - Rename PrependLocalTransformTo to PrependLocalTransformsTo. r=heycam. 2012-02-17 08:12:47 +00:00
Jonathan Watt
8303f9f7d4 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
7bed066236 Bug 727212 - Remove dead code. r=jwatt. 2012-02-15 07:29:20 -05:00
Rafael Ávila de Espíndola
1b8e3721ea Bug 727218 - mark nsSVGImageListener final. r=roc. 2012-02-15 06:29:31 -05:00
Jonathan Watt
e9a976b112 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
52effda719 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
ec0d09de7a Bug 725903 - PathExtentsToMaxStrokeExtents needs to take a transform argument. r=longsonr. 2012-02-10 12:33:39 +00:00
Jonathan Watt
18cb8886d0 Bug 725897 - Remove the inaccurate nsSVGUtils::ToAppPixelRect, and use nsLayoutUtils::RoundGfxRectToAppRect instead. r=longsonr. 2012-02-10 12:33:18 +00:00
Cameron McCormack
bbcd73d9d5 Bug 724711 - Remove unused variable from nsSVGForeignObjectFrame::DoReflow. (Really this time.) r=dholbert 2012-02-07 10:52:01 +11:00
Cameron McCormack
33bb52ecba Bug 542424 - Don't treat <svg:image> as a viewport establishing element. r=jwatt 2012-02-07 07:30:48 +11:00
Robert Longson
50cf1e9477 Bug 724281 - suspend-02.svg fails randomly. r=roc 2012-02-06 12:57:12 +00:00
Robert Longson
e7583c378e Bug 616892 - Make more updates honour suspendRedraw. r=roc 2012-02-04 13:58:46 +00:00
Edwin Flores
bc6a31b0b1 Bug 719288 - Fill and stroke SVG text with one Draw call r=roc 2012-02-04 13:11:09 +00:00
Jonathan Watt
3eb84a8c29 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
aa4d204fe7 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
5c29457536 Bug 722003 - Fix crash calling getClientRects on non-rendered foreignObject. r=roc 2012-01-29 08:56:20 +00:00
Robert Longson
24c5616c88 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
b08c3e6de2 Bug 716527 - Prevent nsSVGForeignObjectFrame::PaintSVG from dereference null aDirtyRect. r=roc 2012-01-28 10:42:59 +00:00
Edwin Flores
3f5de025f0 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
350374a515 Bug 682299 - Move CORS attributes and enumerations to nsGenericHTMLElement. r=bz 2012-01-25 17:31:29 -05:00
Jonathan Watt
9fb3c8bb9f Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron. 2012-01-24 13:09:55 +00:00
Robert Longson
e7b961c7d3 Backout Bug 649114 - Reftest failures 2012-01-23 20:40:09 +00:00
Robert Longson
585712dfbd Bug 649114 - Text-anchor middle is not computed correctly for element scaled to 0. r=jwatt 2012-01-23 19:18:13 +00:00
Robert Longson
159b5db63c Bug 647914 - Horizontal and vertical SVG paths are omitted from bbox calculations if they have siblings. r=jwatt 2012-01-23 17:42:32 +00:00
Robert Longson
cce8969027 Bug 676178 - Scale stroke dashes to text size properly. r=jwatt 2012-01-16 15:36:25 +00:00
Robert Longson
8a84ab145d Bug 718266 - Simplify dasharray code. r=jwatt 2012-01-16 09:19:24 +00:00
Robert Longson
3f0c6b32c6 Bug 717870 - whitespace compression setting need to be recalculated when text is added. r=dholbert 2012-01-14 10:07:26 +00:00
Robert Longson
15a2d5d758 Bug 525095 - Fix artifacts being left behind when text is resized. r=roc 2012-01-12 09:59:39 +00:00
Daniel Holbert
fe1487d851 Bug 716699: Mark some SMIL and SVG-related directories as gcc-warning-free. r=jwatt 2012-01-11 00:32:38 -08:00
Robert Longson
499946fd14 Bug 619967 - Resolve percentage filter primitive attributes correctly. r=roc 2012-01-09 13:18:53 +11:00
Kyle Huey
3a27625aad Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc 2012-01-06 07:32:38 -05:00
Jonathan Kew
f702c54c74 bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc 2011-12-06 12:39:18 +00:00
Bas Schouten
df29f0adbd Bug 711063 - Part 8: Adjust SVG code for Azure-Thebes wrapper. r=roc 2012-01-05 08:17:52 +01:00
Robert Longson
c2dbbd28c8 Backout bug 620274 to fix crash i.e. bug 667324. 2012-01-01 15:47:27 +00:00
Robert Longson
48d9142be8 Bug 607854 - implement SVGTests interface. r=jwatt 2011-12-31 09:44:03 +00:00
Robert O'Callahan
755acd5237 Bug 591718. Part 1: rename some poorly-named methods, rework global-transform methods to avoid computing bounding-boxes more than once when there are are multiple transformed ancestors, make sure nsIFrame::GetTransformMatrix can stop at any desired ancestor. r=mats 2011-12-28 16:24:18 +13:00
Robert Longson
746862e76d Bug 713413 - Fix crash when dynamically adding foreignObject as a child of non-displayed element. r=dholbert 2011-12-29 11:59:02 +00:00
Jonathan Watt
52a1f8383d Bug 668163 - Map 'width' and 'height' on <svg> into style to stop <svg>'s computed width/height falling back to 150px x 300px when they're set to explicit percentage values that can be resolved (regression from bug 611099). r=dbaron. 2011-12-27 10:27:42 +00:00
Mats Palmgren
77f0b019cd Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug 2011-12-20 10:15:41 +01:00
Robert Longson
0a2dce21e9 Bug 705206 - applying filters to non-rendered shapes results in the item not being rendered. r=dholbert 2011-12-19 10:06:45 +00:00
Matt Brubeck
5d8466250b Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures 2011-12-18 08:15:09 -08:00
Edwin Flores
68f8de97ea Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc 2011-12-18 21:53:03 +13:00
Robert Longson
9ccdb9096d Bug 708155 - Fix dynamic modifications to styles on foreignObject. r=dholbert 2011-12-17 09:09:19 +00:00
Brian O'Keefe
755f228bc5 Bug 708846 - Clean up the SVG namespace checks to use nsIContent::IsSVG() instead; r=longsonr 2011-12-15 14:47:03 +00:00
Masatoshi Kimura
26a3901298 Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Daniel Holbert
7a1e63b310 Bug 709920: Be more sensitive in checking for zero-size viewBox in nsSVGPatternFrame::ConstructCTM. r=longsonr a=khuey 2011-12-13 12:12:36 -08:00
Brian O'Keefe
5717da0395 Bug 589640 (part 2) - Make nsIContent::IsSVG more like IsHTML, and remove the eSVG node type. r=bzbarsky 2011-12-08 01:32:11 -05:00
Robert Longson
44824c6d1e Bug 696078 - Move filter attribute processing to frame classes. r=jwatt
--HG--
rename : layout/svg/base/src/nsSVGLeafFrame.cpp => layout/svg/base/src/SVGFELeafFrame.cpp
extra : rebase_source : 74ac4d84da2f0a99272e83590a9adc1dc8511fce
2011-11-19 17:53:52 +00:00
Jonathan Watt
33b6ea8299 Bug 702696 - Path length scale factor should not be affected by the 'transform' attribute. r=dholbert. 2011-11-21 21:22:19 +00:00
Jonathan Watt
98f40124be Bug 702477 - Change the names of nsSVGPathElement::GetScale and nsSVGTextPathFrame::GetPathScale, and add documenting comments. r=longsonr. 2011-11-15 13:11:43 +00:00
Jonathan Watt
2f83aff27f Bug 702283 - Remove dead code RegionMark (left behind by bug 614732 attachment 563617 (changeset 8ddd09649e13)) since now we use GetMarkBBoxContribution (which doesn't need to update the covered regions of a mark's content). r=longsonr. 2011-11-14 16:42:39 +00:00
Scott Johnson
8b64920eb3 Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats] 2011-11-09 13:39:16 -08:00
Robert Longson
c61a50c3ea Bug 693424 - remove Should not be calling this on a non-display child assert in nsSVGForeignObjectFrame::GetBBoxContribution. r=dholbert 2011-11-09 12:13:31 +00:00
Matheus Kerschbaum
4813247daf Bug 698630 - Remove --disable-smil build option; r=dholbert 2011-11-05 10:32:52 +00:00
Mats Palmgren
396adcb6e1 Bug 671484 - Change 'ABORT: root should not have auto-height containing block' into an assertion for now to avoid aborting fuzz testing. r=roc 2011-11-04 19:05:35 +01:00
Justin Lebar
0f63342314 Back out bug 666446 due to Talos regression. 2011-11-02 20:11:01 -04:00
Scott Johnson
6ce9c5bbde Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats] 2011-11-01 11:06:53 -04:00
Robert Longson
ffc3c60628 Bug 697978 - make display:none svg images load. r=dholbert,bzbarsky 2011-10-29 09:18:25 +01:00
Daniel Holbert
f25f8ec2d9 Bug 697475: deCOMtaminate nsSVGPatternFrame::GetPatternFirstChild. r=longsonr 2011-10-27 15:57:10 -07:00
Robert Longson
4b934de0fe Bug 697057 - Patterns are blurred when the element is scaled. r=dholbert
--HG--
rename : layout/reftests/svg/pattern-scale-01.svg => layout/reftests/svg/pattern-scale-01a.svg
2011-10-27 09:51:46 +01:00
Robert Longson
00bb6071f9 Bug 696579 - Round out mask, filter and pattern surfaces. r=roc 2011-10-26 09:52:11 +01:00
Robert Longson
ec1fe3034f Bug 693183 - move image processing to the frame class. r=jwatt 2011-10-19 16:37:49 +01:00
Robert Longson
f7b9213184 Backout Bug 693183 2011-10-19 14:55:27 +01:00
Robert Longson
86ffe6926f Bug 693183 - Simplify class animation processing. r=jwatt 2011-10-19 14:40:58 +01:00
Simon Montagu
5aadea5d7b Support for unicode-bidi: -moz-isolate and -moz-plaintext in style system. Bug 613149, r=dbaron 2011-10-18 14:51:57 +02:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Robert Longson
a0f2a86714 Bug 694298 - Changing text to empty does not repaint. r=dholbert 2011-10-14 13:39:40 +01:00
Robert Longson
baf4f6d89e Backout Bug 693183 - reftest failure 2011-10-10 21:30:54 +01:00
Robert Longson
2e60074c52 Bug 693183 - Move image element attribute processing to the frame class. r=jwatt 2011-10-10 18:44:03 +01:00
Robert Longson
b4fd35944b Bug 691194 - Move filter element attribute processing to the frame class. r=dholbert 2011-10-09 18:17:29 +01:00
Robert Longson
35051be845 Bug 550047 - Removing attributes from most elements does not cause a refresh. r=dholbert 2011-10-08 07:32:44 +01:00
Scott Johnson
d7adce1370 Backout cset 9d3ac2d3da11 from bug 666446 while we sort out regressions 2011-10-07 00:25:36 -07:00
Robert Longson
6c0b658f8e Bug 692203 - Covered region must be empty if markerHeight or markerWidth=0. r=dholbert 2011-10-06 20:03:16 +01:00
Robert Longson
76037b99aa Bug 691646 - Pattern tile pixelated on patternTransform. r=dholbert 2011-10-04 16:22:46 +01:00
Robert Longson
c5441802db Backout Bug 691646 for causing reftest failures on Linux 2011-10-04 11:00:32 +01:00
Robert Longson
9b996a8070 Bug 691646 - Pattern tile pixelated on patternTransform. r=dholbert 2011-10-04 09:38:21 +01:00
Scott Johnson
e317548311 Bug 666446, Part 4/18 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats] 2011-10-03 13:39:05 -07:00
Jonathan Watt
b8e054ce7f Bug 614732 - Add an argument to nsSVGUtils::GetBBox() to allow callers to specify whether stroke or markers should be included in the bounds returned. r=roc. 2011-09-30 10:25:37 +01:00
Jonathan Watt
01b6cbbc31 Bug 690486 - Kill nsISVGValue, nsSVGValue, nsISVGValueObserver, nsISVGValueUtils and nsSVGStringProxyValue. r=longsonr. 2011-09-30 10:25:34 +01:00
Robert Longson
524e2377a2 Bug 689546 - Simplify attribute updates to svg elements. r=jwatt 2011-09-30 09:25:01 +01:00
Robert Longson
69bd857cce Bug 630657 - masks should respect color-interpolation. r=jwatt
--HG--
extra : rebase_source : d8ec90b0a18444be4890dbe127a1e0e7d70f9ede
2011-09-29 15:03:21 +01:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Mats Palmgren
f44def4369 Bug 686581 - Disable theming in SVG images harder. r=longsonr 2011-09-26 18:29:06 +02:00
Brian Birtles
45052f79d9 Bug 602759 part 13 - Update layout to use new matrix and transform types; r=jwatt 2011-09-25 22:04:32 +01:00
Mats Palmgren
69691a3674 Bug 686581 - Disable theming in SVG images. r=roc 2011-09-24 10:28:55 +02:00
Robert Longson
710b7f9128 Bug 687445 - Do not round mask size till after the CTM transform has been applied. r=roc 2011-09-21 12:30:38 +01:00
Robert Longson
df62def5e9 Bug 687830 - Simplify marker implementation by calculating viewbox on paint rather than attempting to cache it. r=roc 2011-09-21 08:53:09 +01:00
Robert Longson
ddceb15dd4 Bug 687518 - Remove nsSVGUtils:: from nsSVGutils methods. r=roc 2011-09-19 18:09:59 +01:00
Robert Longson
31d473fc4f Bug 687340 - Make dynamic changes to mask, clipPath and marker attributes work. r=roc 2011-09-19 13:59:52 +01:00
Robert O'Callahan ext:(.)
0d5d0f75cc Bug 647687 - Fix filter SourceImage bounds. r=longsonr 2011-09-17 09:29:51 +01:00
Robert O'Callahan
0580c4d643 Bug 619992 - Fix location calculations for light sources. r=longsonr 2011-09-14 15:48:32 +01:00
Masayuki Nakano
d9869bfccf Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc 2011-09-09 11:27:13 +09:00
Jonathan Watt
45d5658c7f Bug 614732 - Stop recalculating the contribution of markers on every GetCoveredRegion() call. r=roc. 2011-09-08 12:15:00 +01:00
Robert Longson
edacda1823 Bug 684479 - Bounding boxes for strokes are unnecessarily big for many shapes. r=roc 2011-09-05 18:53:34 +01:00
Robert Longson
2b64f153e3 Bug 682411 - Filters on shapes that have zero width or height assert. r=roc 2011-08-27 15:58:10 +01:00
Mats Palmgren
6894179e71 Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Jonathan Kew
4bc55811dc bug 637179 - use PRUint32 for character/cluster indexes to avoid build warnings. r=jwatt 2011-08-23 13:31:56 +01:00
Robert Longson
f7e6cfcfc3 Bug 678250 - Filter bounds rounded before scaling so small filters may be too large. r=roc 2011-08-15 19:41:57 +01:00
Ms2ger
9414376b01 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Robert Longson
6e1cace098 Bug 672519 - dominant-baseline applied multiple times for tspan. r=dholbert 2011-07-31 19:36:40 +01:00
Robert Longson
f03ce0f8a3 Bug 671892 - Simplify a common filter number conversion pattern. r=dholbert 2011-07-23 09:44:52 +01:00
Matt Woodrow
6366c7e2e7 Bug 505115 - Part 5 - Use gfx3DMatrix in layout. r=roc 2011-07-23 10:28:51 +12:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Simon Montagu
672d772074 Make all nsBidiPresUtils methods static. Bug 624798, r=roc 2011-04-13 12:23:49 +03:00
Jonathan Watt
ec8b7c2df1 Bug 664130 - Rename GetHittestMask to GetHitTestFlags to avoid confusion about masking. r=longsonr. 2011-07-08 14:20:14 +01:00