Commit Graph

1011 Commits

Author SHA1 Message Date
Jonathan Watt
525d643063 Bug 780963 - Make UpdateOverflow() on filter primitive frames a no-op. r=roc. 2012-08-14 10:04:24 +01:00
Cameron McCormack
96cc1a05d6 Bug 655877 - Part 38: Ignore the non-SVG frames when propagating SVG changes through a tree. r=longsonr 2012-08-23 11:23:23 +10:00
Jonathan Watt
450c028ef3 Bug 767056 - Stop calling nsLayoutUtils::PostRestyleEvent during reflow to avoid infinite loop. r=roc.
--HG--
extra : rebase_source : c397431c824e2d1f624765636320129201209b60
2012-08-31 15:30:18 +01:00
Jonathan Watt
f2670afaf9 Bug 786736 - Initialize nsSVGOuterSVGFrame::mFullZoom to the full-zoom value in the ctor. r=roc. 2012-08-30 09:55:22 +01:00
Robert Longson
8be243633b Bug 780880 - patternTransforms that involve rotation do not work properly. r=dholbert
--HG--
rename : layout/reftests/svg/pattern-scale-01a.svg => layout/reftests/svg/pattern-scale-01c.svg
2012-08-09 09:17:05 +01:00
Robert Longson
39422274cf Bug 786216 - Fix evenodd fill-rule. r=jwatt 2012-08-28 15:47:01 +01:00
Jonathan Watt
612e8f441c Bug 780963 crashtest. r=roc. 2012-08-16 11:54:48 +01:00
Mats Palmgren
cbc105ed2e Bug 776327 - Subtract the start index from the length to get remaining characters of this fragment. r=jwatt 2012-07-25 16:04:23 +02:00
Jonathan Watt
fd7b224818 Bug 767726 - Kill nsISVGChildFrame::DO_NOT_NOTIFY_RENDERING_OBSERVERS. r=longsonr.
--HG--
extra : rebase_source : 3242d29a2251c767dc055a9a7d15ce76e27ac2f2
2012-07-23 12:00:43 +01:00
Jonathan Watt
3a0065fa08 Bug 707960 - Remove the covered region hack added in bug 614732. r=longsonr.
--HG--
extra : rebase_source : 0b2147bed77e20ba1a1afa635a1aa95e23f41051
2012-07-23 12:00:40 +01:00
Aryeh Gregor
0c8f5adf50 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Jonathan Watt
c9b718fe8c Bug 773595 - Have nsSVGPatternFrame::GetPatternMatrix use the correct attribute. r=longsonr.
--HG--
extra : rebase_source : b261c4e5cda1971ea6877790d97d056e05361373
2012-07-21 20:16:35 -04:00
Jonathan Watt
1adb494274 Bug 776250 - Rename nsISVGChildFrame::UpdateBounds to nsISVGChildFrame::ReflowSVG to make it easier for non-SVG devs to understand the SVG code. r=roc.
--HG--
extra : rebase_source : 9c2d8f3d76dab1a842d6cc5607a13a49703061d6
2012-07-21 20:01:44 -04:00
Jonathan Watt
72f6dee60e Remove unused variable to fix build bustage. no bug. r=me.
--HG--
extra : rebase_source : d0540d8aa9e57358d44a68692fa15172bd7ecefc
2012-07-20 15:12:26 -04:00
Jonathan Watt
2d338f4adf Bug 614732 - Implement display list based painting and hit-testing for SVG. r=roc.
--HG--
extra : rebase_source : 77e55885fbbf428008f5be787ddeb7e561c0d9bd
2012-07-20 14:12:29 -04:00
Jonathan Watt
ea69f808d8 Bug 614723 - Make sure SVG frames that shouldn't directly display don't create display list items. r=roc.
--HG--
extra : rebase_source : 0b3c9aca661798ea45b6b0ee3b7d0d24fdf2e736
2012-07-20 12:41:29 -04:00
Jonathan Watt
730505154e Bug 775735 - When filters/markers change, update the overflow rect/bounds of referencing frames. r=roc. 2012-07-20 00:54:20 -04:00
Jonathan Watt
24e8391ab6 Bug 775304 - Don't visit the descendant frames for the nsChangeHint_UpdateEffects hint. r=roc, r=dbaron.
--HG--
extra : rebase_source : 11996bd6194d62f98eba81d5e3a13d29eaacd62b
2012-07-19 15:44:04 -04:00
Brian Birtles
f909c43c9b Bug 765107 - Fix transformed filter drawing with Azure; r=bas
--HG--
extra : rebase_source : bfd4a2a16cbae25db180aed7c84991374a41730b
2012-07-18 15:15:17 -04:00
Jonathan Watt
c3f031f6c2 Bug 773450 - Lines don't show up in some Google Maps directions. r=roc. 2012-07-17 15:44:39 -04:00
Matt Woodrow
0794dcd107 Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc 2012-07-17 13:03:51 -04:00
Jonathan Watt
66f1cdb4bc Bug 539356 - Part 4 - Reinstate the foreignObject registering code so that bug 605265 doesn't slow down SVG in general. r=mattwoodrow 2012-07-17 13:03:51 -04:00
Jonathan Watt
2b3ab947be Bug 774095 - Make sure that we call nsSVGEffects::UpdateEffects() on frames that are added after the first reflow. r=dholbert. 2012-07-15 20:42:50 -04:00
Jonathan Watt
5eb5be7a4a Bug 774087 - Mark SVG filter primitive frame classes as NS_STATE_SVG_NONDISPLAY_CHILD. r=dholbert. 2012-07-15 20:42:50 -04:00
Rafael Ávila de Espíndola
146cefa4ff Bug 774039 - remove unused field. r=roc. 2012-07-15 00:18:50 -04:00
Jonathan Watt
12da01f415 Bug 769970 - Get SVG patterns working under HTML elements with CSS transforms applied. r=roc. 2012-07-14 00:18:38 +01:00
Jonathan Watt
d75d54a064 Bug 772017, part 2 - Have the visual overflow rect for SVG frames include non-rendering stroke when 'pointer-events' demands it. r=roc. 2012-07-11 12:25:27 +01:00
Jonathan Watt
3ee0f53b6a Bug 772406 - Make nsSVGGlyphFrame::UpdateBounds reuse GetBBoxContribution. r=roc. 2012-07-11 00:01:50 +01:00
Jonathan Watt
c3b907a2f9 Bug 772246 - nsSVGUtils::GetPostFilterVisualOverflowRect should not offset the returned rect by the frame's position. r=roc. 2012-07-10 13:09:08 +01:00
Jonathan Watt
66bcbc10a0 Bug 771042, part 1 - Fix invalidation of animateMotion. r=birtles. 2012-07-09 18:41:12 +01:00
Jonathan Watt
b9eddde6f6 Bug 772017 - Have the visual overflow rect for SVG frames include 'none' stroke when 'pointer-events' demands it. r=roc. 2012-07-09 12:55:16 +01:00
Cameron McCormack
d6201ab092 Bug 771879 - Minor code formatting tweaks. r=roc 2012-07-09 11:09:50 +10:00
Jonathan Watt
f410406b60 Bug 769742 - Account for nsSVGOuterSVGFrames' border/padding offset by giving nsSVGOuterSVGFrame an anonymous child to wrap its real children. r=roc. 2012-07-09 02:04:56 +01:00
Jonathan Watt
09ff7e2e99 Bug 771935 - SVGs that are larger than the browser content area should scroll. r=roc. 2012-07-09 01:55:34 +01:00
Jonathan Watt
5047eaf363 Bug 771795 - Stop over-invalidating SVG. r=heycam. 2012-07-08 08:29:57 +02:00
Jonathan Watt
965d0f2932 Bug 769645 - Use nsDisplayClip to do the content box clipping for nsSVGOuterSVGFrame. r=roc. 2012-07-06 16:44:50 +02:00
Jonathan Watt
5f7de4432c Bug 769612 - Move the SVGAutoRenderState::SetPaintingToWindow() call to nsDisplayOuterSVG::Paint and kill nsSVGOuterSVGFrame::Paint. r=dholbert. 2012-07-05 17:18:03 +02:00
Jonathan Watt
dcf0c3dfc1 Bug 769514 - Kill the Mac bitmap fallback code in nsSVGOuterSVGFrame. r=roc. 2012-07-05 17:18:03 +02:00
Ehsan Akhgari
2b300e2946 Backout changeset 3a41b53f8ada (bug 539356) because of performance and correctness regressions 2012-07-03 20:30:11 -04:00
Ehsan Akhgari
7ca323fbe6 Backout changeset eea5704272d0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:28:32 -04:00
Ehsan Akhgari
6ef72aef93 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Jonathan Watt
6133aa3f77 Bug 769902 - Avoid unnecessary precision issues in nsSVGUtils::ObjectSpace. r=longsonr. 2012-06-30 21:21:31 +01:00
Jonathan Watt
6d5640d6dd Bug 767734 - Give GetCanvasTM knowledge of what the request is for so it can do the right thing when SVG display lists are enabled. r=longsonr. 2012-06-30 12:20:46 +01:00
Jonathan Watt
b442e8c474 Bug 732819 - "ASSERTION: don't think me need this any more" with font-size: 0. r=roc. 2012-06-30 12:20:46 +01:00
Matt Woodrow
1f0dbc7c74 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Matt Woodrow
f535bd8833 Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc 2012-06-30 15:06:10 +12:00
Jonathan Watt
826dae8019 Bug 539356 - Part 4 - Reinstate the foreignObject registering code so that bug 605265 doesn't slow down SVG in general. r=mattwoodrow 2012-06-30 15:06:09 +12:00
Jonathan Watt
18d907d671 Bug 769103 - Get SVG masks working for HTML elements under CSS transforms. r=roc. 2012-06-28 23:59:05 +01:00
Jonathan Watt
2fff05d6ed Bug 769306 - Move more code from nsSVGOuterSVGFrame::Paint to nsDisplaySVG::Paint. r=dholbert. 2012-06-28 20:51:31 +01:00
Jonathan Watt
513ddf221e Bug 769242 - Rename nsDisplaySVG to nsDisplayOuterSVG in preparation for adding other SVG display list item types. r=dholbert. 2012-06-28 20:51:20 +01:00
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