Commit Graph

1197 Commits

Author SHA1 Message Date
Boris Zbarsky
b2fa9fd079 Bug 562688 part 12. Eliminate eELEMENT usage in the rest of layout except layout/style. r=dbaron 2010-04-30 09:12:06 -04:00
Boris Zbarsky
9c2ad4b2aa Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Daniel Holbert
ea5825f520 Bug 436418, patch E: SVG/SMIL animateMotion - add support for <animateMotion> element and its core logic. r=roc 2010-04-28 16:00:54 -07:00
Jeff Muizelaar
35c8f72f13 Bug 542605. Use EXTEND_PAD_EDGE when painting svg images. r=jwatt
This was part of the cairo update, but I'm doing it separately to
minimize the amount of unrelated change.
2010-04-16 11:13:07 -04:00
Robert Longson
b3316bb10e Bug 456286 - support altGlyph elements as tspans. r=roc 2010-04-13 09:58:09 +01:00
Craig Topper
8b8747d605 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper
25d5518e18 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Jeff Muizelaar
9a26138ae4 Backed out changeset 9480726de986
Rendering/Invalidation problems showed up.
2010-04-08 09:44:28 -04:00
Jeff Muizelaar
a6ac7bede6 Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas
Reland after fixing quartz related clipping bug.
2010-04-05 22:28:54 -04:00
Felipe Gomes
e4fb76d330 Bug 489127 - nodesFromRect required for better usability on mobile devices (part 1+2) [r=roc] 2010-04-07 20:31:26 -04:00
Jeff Muizelaar
208a821de1 Bug 542605. Backed out changeset 2b9a4c865737
Reftest failures that showed up at the last minute.
2010-04-06 00:14:30 -04:00
Jeff Muizelaar
46e4fa2d5a Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas 2010-04-05 22:28:54 -04:00
L. David Baron
b33a804541 Use the appropriate color based on visitedness for the color or fallback color parts of 'fill' and 'stroke'. (Bug 147777) r=jwatt 2010-04-02 18:58:26 -07:00
Zack Weinberg
8a8adc758b Bug 494117 preliminary refactor: Search-and-replace 'ReStyle' with 'Restyle' throughout layout. r=roc 2010-03-31 17:43:32 -07:00
Craig Topper
8ef02ed2f5 Bug 253889: DeCOMtaminate nsIPresShell - IsReflowLocked(). r=roc
--HG--
extra : rebase_source : 46adf0d5ad41602276c8bcded46e7dae0f399da9
2010-03-31 08:43:27 -04:00
Robert Longson
bdd80f1369 Bug 521636 - A single rotate number should rotate all glyphs. r=roc 2010-03-31 09:57:28 +01:00
Kyle Huey
94ab17c6df Backing out Bug 253889 to fix Bug 555727. 2010-03-30 19:57:12 -04:00
Kyle Huey
5278cfe428 Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Robert Longson
ac2db96a5b Bug 388547 - initial support for x,y,dx,dy,rotate lists on SVG text and tspan elements. r=roc 2010-03-30 11:21:19 +01:00
Craig Topper
61dba9a452 Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Daniel Holbert
4b5785c3e6 Bug 555291: Replace multiple string-literals of SVG whitespace/comma delimeters with a single #define. r=jwatt 2010-03-26 20:55:28 -07:00
Robert O'Callahan
0fd1837981 Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron 2010-03-29 14:46:55 +13:00
Daniel Holbert
3bf1c38256 Bug 553416: Make nsSVGClipPathFrame notify children when its transform attribute is animated. r=longsonr
--HG--
rename : layout/reftests/svg/smil/lime.svg => layout/reftests/svg/smil/transform/lime.svg
2010-03-24 09:54:48 -07:00
Robert O'Callahan
05ed217783 Bug 538266. Part 3: move nsSVGUtils::GfxRectToIntRect to nsLayoutUtils. r=mats 2010-03-02 12:08:28 +13:00
Robert Longson
c77d9bbe68 Bug 550362 - Too much recursion through nsSVGEffects::InvalidateRenderingObservers with nested textPath. r=roc 2010-03-10 15:38:14 +00:00
Robert Longson
21727c8ae8 Bug 547062 - Implement restrictions on clipPath content. r=roc 2010-03-02 09:31:07 +00:00
Robert O'Callahan
ff44c3c9e3 Bug 534425. Part 6: Let nsIWidgets expose a LayerManager to be used to render into the widget, instead of nsPaintEvent::renderingContext which is removed since it's no longer needed. Currently all widgets fall back to a default BasicLayerManager implementation. Also change nsPaintEvent::region to be an nsIntRegion, and get rid of nsPaintEvent::rect since it's redundant. 2010-03-01 21:03:49 +13:00
Robert Longson
63e32ef130 Bug 534612 - clipPath references with clipPath elements do not work correctly. r=roc 2010-02-26 09:58:42 +00:00
Daniel Holbert
af8245235d Bug 547333: Call FlushAnimations() in SVG DOM getters for animated values, and not in internal getters. r=jwatt 2010-02-25 10:20:43 -08:00
Jonathan Kew
7a3339c3b1 Bug 524107 - part 2 - store language as atom instead of string in gfxFontStyle. r=roc sr=mats 2010-02-24 09:57:57 -08:00
Jonathan Kew
365fbafa0d Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
Jonathan Kew
e01353edd9 Bug 546813 - honor the language in the frame's styleContext when selecting fonts in SVG. r=jwatt 2010-02-21 11:13:54 -08:00
Alexander Surkov
f64a603fd3 Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz 2010-02-20 16:52:50 -08:00
Jonathan Watt
cc0f94273c Bug 541884. Add support for SMIL animation of the viewBox attribute in SVG. r=dholbert 2010-02-18 21:51:00 +00:00
Jonathan Watt
ecd0d20033 Bug 545042. Add support for SMIL animation of <angle> attributes in SVG. r=dholbert 2010-02-18 21:50:59 +00:00
Alexander Surkov
03b1de4b95 Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc 2010-02-12 01:34:01 +08:00
Robert Longson
d6c4e54b22 Bug 544742 - fePointLight does not work with primitiveUnits=objectBoundingBox. r=roc 2010-02-08 09:51:19 +00:00
Jonathan Watt
71f59f6e4f Bug 541882. Add support for SMIL animation of the preserveAspectRatio attribute in SVG. r=dholbert 2010-02-08 02:28:01 +00:00
Jae-Seong Lee-Russo
082e12c87c Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
L. David Baron
086f137c5f Pass the dirty rect through, transformed appropriately, in nsSVGForeignObjectFrame::PaintSVG. (Bug 541188) r=jwatt sr=roc 2010-01-30 11:28:02 -08:00
L. David Baron
49843c3935 No longer need to invalidate all of a foreignObject when there's an invalidate inside of it. (Bug 418063) r=jwatt 2010-01-26 12:39:56 -08:00
Jonathan Watt
2a6a1c2514 Bug 540478, part 1 of 2. Make nsSVGEnum::GetAnimVal take its element as an argument in preparation for it needing to call FlushAnimations() on it. r=dholbert 2010-01-23 18:58:47 +00:00
Jonathan Watt
937cd0e611 Bug 540477. Add comments for nsSVGEffects::InvalidateRenderingObservers and others. r=longsonr 2010-01-23 18:47:53 +00:00
Jonathan Watt
8cbfe7a1b5 Bug 522267, part 2 of 2. Add support for animating <number> attributes. r=dholbert 2009-12-29 07:34:27 +01:00
Jonathan Watt
fc5062938e Bug 522267, part 1 of 2. Make nsSVGNumber2::GetAnimVal take its element as an argument in preparation for it needing to call FlushAnimations() on it. r=dholbert 2009-12-29 07:32:03 +01:00
Robert Longson
c26bcbe1e4 Bug 539122 - Stop restyling non-elements with SVG. r=roc 2010-01-13 11:09:58 +00:00
Daniel Holbert
4aa49ca63e Bug 537313: Disable MSVC warning C4355 ('this' used in init list) in SVG's consumers of nsReferencedElement. r=roc 2010-01-13 00:18:48 -08:00
Jesse Ruderman
56ac1fe1ee Add crashtests 2010-01-10 19:50:41 -08:00
Robert Longson
6dd0adcf89 Bug 495968 - Only update the active switch child in nsSVGSwitchFrame::UpdateCoveredRegion. r=roc 2010-01-08 11:35:18 +00:00
Robert Longson
95e4fd17ba Bug 536677 - fill with url to gradient not inherited when dynamically switched more than once. r=roc 2010-01-07 19:07:30 +00:00
Olli Pettay
c0f0d7e3a5 Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Robert Longson
0ef1acff76 Bug 519368 - pattern with viewBox not treated correctly. r=jwatt 2009-12-29 09:56:25 +00:00
Robert Longson
3790738178 Bug 536444 - mochitest thebes crashtests: "<Error> doClip: empty path." followed by a hang (after 385228-1.svg).
r=roc.
2009-12-28 10:49:08 +01:00
Boris Zbarsky
8b56c4f81d Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc 2009-12-24 16:20:06 -05:00
fantasai
3027a2127b Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc 2009-12-24 00:21:15 -05:00
Robert Longson
a5223c1c5f Bug 535185 - patterns of non-integer scaled size have seams. r=roc 2009-12-23 11:30:44 +00:00
Robert Longson
b5f4830629 Bug 510177 - path with a single point not rendered. r=jwatt 2009-12-21 22:10:34 +00:00
Metal Sonic
80ae9b3620 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Robert Longson
76486bb742 backout Bug 510177 (reftest failure) 2009-12-19 19:28:48 +00:00
Robert Longson
608d98fb9b Bug 510177 - path with a single point not rendered. r=jwatt 2009-12-19 17:00:58 +00:00
Daniel Holbert
87d5852ba4 Bug 534156: Make sure to initialize local variable "axis" in nsSVGUtils::ObjectSpace. r=jwatt 2009-12-12 22:27:30 -08:00
Robert Longson
654d4b36b9 Bug 534216 - Text in anchor tags not placed correctly if viewBox present. r=roc 2009-12-12 14:37:20 +00:00
Olli Pettay
423522c88b Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Boris Zbarsky
b694bf4f11 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Robert Longson
242241f465 Bug 520506 - Incorrect text getBBox in SVG. r=jwatt 2009-11-18 20:59:24 +00:00
Jesse Ruderman
d57f2b3764 Add crashtests for bug 466945, bug 464197, and bug 467323 2009-10-31 19:35:39 -07:00
Robert Longson
2585cb2d47 Bug 525363 - clipPath winding-mode is broken. r=roc 2009-10-30 20:21:49 +00:00
Robert O'Callahan
4a6f4d15f7 Bug 522767, fixing WinMo bustage 2009-10-27 15:16:35 +13:00
Robert O'Callahan
4b2811989e Bug 522394. Make nsSVGUtils::ConvertToSurfaceSize more robust, and don't assert needlessly when we adjust filterRes to account for over-large filter sizes. r=jwatt 2009-10-27 14:43:55 +13:00
Robert Longson
9ec5916293 Bug 448906 - linked patterns are not scaled correctly. r=roc 2009-10-26 19:37:31 +00:00
Jonathan Watt
8d0cd60f12 Bug 524104. Markers should be affected by group opacity on the marked element. r=longsonr@gmail.com 2009-10-26 18:17:49 +01:00
Robert Longson
6afea62860 Bug 521759 - patterns incorrect with viewBox and percentage widths or heights. r=roc 2009-10-25 13:05:33 +00:00
Jonathan Watt
6b816ecdd6 Bug 523481. Restore the group opacity optimization that was broken by the patch for bug 455984. r=longsonr@gmail.com 2009-10-21 13:32:57 +02:00
Robert Longson
4e895fad8b Backout Bug 388547 due to Mac test orange 2009-10-11 14:03:06 +01:00
Robert Longson
1dbfbb3e36 Bug 388547 - Initial support for x,y,dx,dy,rotate lists on SVG text and tspan elements. r=roc 2009-10-11 12:44:33 +01:00
Boris Zbarsky
903732f4aa Bug 512338. Make HitTestChildren use GetPrevSibling. r=jwatt 2009-10-02 12:31:45 -04:00
Robert O'Callahan
c2f7a1e950 Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
David Zbarsky
3d96b7b4a7 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Mats Palmgren
eb7a0b3a40 Bug 233463, patch 4 - Make nsIFrame::mNextSibling private. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren
c3fb633256 Bug 233463, patch 3 - Make Destroy/RemoveFrame() methods void and assert that the frame to remove is present. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren
dea07412a1 Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Robert Longson
a5cd3ff71d Bug 512890 - crashtest for ABORT: NULL content node with SVG filter, em units. 2009-09-14 21:19:46 +01:00
Robert Longson
971ffd21f7 Bug 512890 - ABORT: NULL content node with SVG filter, em units. r=roc 2009-09-14 21:12:37 +01:00
Bobby Holley
86dd317584 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Zack Weinberg
d47e0f433b Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc 2009-09-12 17:49:24 +01:00
Paul Nickerson
141bc1831c Bug 515288 - crashtest for SVG element without current doc in getCTM. 2009-09-10 21:37:56 +01:00
Robert Longson
52e732d346 Bug 515288 - Crash with getScreenCTM() on outer svg with no current document. r=roc 2009-09-10 21:25:48 +01:00
Martijn Wargers
84905ecdab Bug 508247 - crashtest for non SVG element in path for getCTM. 2009-09-08 20:34:16 +01:00
Robert Longson
7186fd81c3 Bug 509940 - Images with fill=none are not displayed. r=jwatt 2009-08-31 12:26:23 +01:00
Robert Longson
65aad9ef5c Bug 508247 - Crash if non SVG element encountered in path for getCTM. r=jwatt 2009-08-31 11:33:29 +01:00
Daniel Holbert
e003f24b88 Bug 513262 - Remove unused helper function "GetFrameForContent" from nsSVGUtils. r=roc 2009-08-28 11:02:58 -07:00
Jonathan Watt
cc6158ce27 Bug 508179. Implement 'pointer-events:none;' for all elements. r=roc, r=dbaron. 2009-08-26 20:53:35 -07:00
Robert O'Callahan
4453cced60 Backed out changeset e2927bb26412 2009-08-26 14:49:18 -07:00
Zack Weinberg
64f6d4d0dd Bug 497495 part 3a: rationalize the queryframe-implementation macro naming scheme, restructure the implementation to detect duplicate entries, and a couple fixes to the frame ID enumeration. r=dbaron sr=roc
Bug 497495 part 3b: update users of queryframe macros (strictly mechanical change). r=dbaron

--HG--
extra : rebase_source : ee672a17934227b408b83dc6b5cc4e4909652f72
2009-08-26 09:27:42 -07:00
Benjamin Smedberg
ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Boris Zbarsky
8f435d226b Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
0aa6350041 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Zack Weinberg
430c5ceb95 Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap 2009-08-20 14:52:48 -07:00
Brian Birtles
4e96b6eb1b Bug 507067: Fix GetAnimVal and GetBaseVal's handling of em/ex/etc. units inside display:none elements by using nsComputedDOMStyle's method for resolving style contexts for such elements. r=dbaron 2009-08-20 14:52:47 -07:00
Serge Gautherie
56edb82acd Bug 508760 - Remove MSVC6 support from the tree; (Fv1) layout/svg/base/src/*; r=longsonr 2009-08-19 15:08:31 +02:00
timeless@mozdev.org
75dff8d71f Bug 507367 incorrect null check in nsSVGPatternFrame::GetTargetGeometry
r=jwatt
2009-08-12 11:49:55 +02:00
Robert O'Callahan
2496b1ab4e Bug 504524. Change signature of nsIFrame: of nsIFrame::CharacterDataChanged to support passing of the full CharacterDataChangeInfo struct. r=bz
--HG--
extra : rebase_source : cdab9444f579d6b93e142ad8681152ecd180f818
2009-08-05 13:38:10 +12:00
Boris Zbarsky
811394b5da Bug 281387. Make nsIFrame::Append/InsertFrames use nsFrameList. r=bernd,roc, sr=dbaron 2009-07-30 13:23:32 -04:00
Michael Kohler
4b7c87c984 Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless 2009-07-27 10:47:02 +02:00
Robert O'Callahan
8bab94a96a Bug 371839. Simplify SetSelected signature and semantics, and reimplement it in nsTextFrame much more efficiently. r=bzbarsky
--HG--
extra : rebase_source : 18c390e3ebd09de82b1a23699c56b741f928ca37
2009-07-27 10:05:41 +12:00
Jonathan Watt
24c8671d83 Bug 435356. Stop using nsIDOMSVGMatrix internally. r=longsonr 2009-07-23 10:35:59 +02:00
Robert O'Callahan
0ed9805957 Bug 339548. Part 14: hide windowed plugins in CSS transforms and SVG foreignObject contexts; we can't display them properly, so let's not display them at all. r=dbaron 2009-07-22 12:45:14 +12:00
Jonathan Watt
61f9fb8341 Backout bug 435356 to fix nsSVGMatrix leaks. 2009-07-22 00:55:48 +02:00
Jonathan Watt
8add7634fb Bug 435356. Stop using nsIDOMSVGMatrix internally. r=longsonr 2009-07-21 22:34:37 +02:00
Joe Drew
2aa59235f2 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Robert Longson
6fb1c2a11b Bug 500174 - pointer-events=all not registering on non-visible stroke. r=roc 2009-07-12 19:50:45 +01:00
Robert Longson
f71d261e9f reenable crashtest for bug 492186 2009-06-27 11:26:32 +01:00
Ryo Onodera
9dfa1e8a22 Bug 366697 - getCTM() shouldn't return the same matrix as .getScreenCTM() for nested SVG elements. r=longsonr 2009-06-26 21:13:07 +01:00
Jesse Ruderman
7dd12cd149 Instrument nsSVGRenderingObserverList for trace-refcnt (bug 499613). r=roc 2009-06-24 14:19:02 -07:00
Robert O'Callahan
a315781458 Bug 499608. Fix leak of nsSVGRenderingObserverList frame property. r=jwatt
--HG--
extra : rebase_source : 46c93829cd467ca651df225003586d84043e173d
2009-06-24 20:47:21 +12:00
timeless@mozdev.org
acf1a18bb3 Bug 494690. Remove unused function UncompressIndex. r=jwatt 2009-06-18 13:40:13 +02:00
Jonathan Watt
a743705ded Bug 498275. Stop using nsIDOMSVGMatrix in nsSVGForeignObjectFrame + fixes. r=longsonr 2009-06-18 13:31:25 +02:00
Robert Longson
ef5333de29 disable crashtest for bug 492186 temporarily 2009-06-18 00:36:36 +01:00
Robert Longson
d78c1796f9 Bug 492186 - Crash with altGlyphDef and getBBox. r=roc 2009-06-17 22:29:55 +01:00
Robert Longson
df2c2b87cf Bug 496989 - Simplify text/glyph interface. r=jwatt 2009-06-17 22:05:02 +01:00
Robert Longson
c55821c854 Bug 481614 - implement clip property. r=jwatt 2009-06-17 21:51:40 +01:00
Shawn Wilsher
4f55fcf37a Backed out changeset f3fcd36fcbd1 (bug 119061) for linux orange. 2009-06-11 16:57:09 -07:00
Jonathan Watt
a955b81011 Bug 119061. SVG elements to which the :hover pseudo class apply do not restyle when moved under the mouse pointer. r=roc 2009-06-11 21:49:34 +02:00
Jonathan Watt
eff3c36686 Bug 488460. Invalidation cleanup. r=longsonr 2009-06-11 17:23:43 +02:00
Jonathan Watt
496c0e4796 Bug 495938. Stop using nsIDOMSVGRect objects on the stack. r=longsonr 2009-06-11 17:21:03 +02:00
Arpad Borsos
e7721484f4 Bug 495296 - kill nsISVGTextContentMetrics; r+sr=roc 2009-05-29 12:15:40 +02:00
Ryo Onodera
dff270d1be Bug 489485. nsRect::ToNearest/Inner/OuterPixels should be nonstatic. r+sr=roc
--HG--
extra : rebase_source : 13778709270ab926e951a7782fce3632370ef7c7
2009-05-08 14:31:04 +12:00
Boris Zbarsky
346daa82d1 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Jonathan Watt
0a8223656c Bug 488314. Kill SetMatrixPropagation, part 1. r=roc 2009-04-29 06:31:34 +02:00
Craig Topper
381741da91 Bug 474230. Cleanup scale and translate in nsSVGElement similar to the new style SVG classes. r=jwatt 2009-04-28 15:25:03 +02:00
Robert O'Callahan
5fbd37206f Fix bustage #2 2009-04-25 21:34:32 +12:00
Robert O'Callahan
da7c2486e0 Fix bustage 2009-04-25 21:24:53 +12:00
Jonathan Watt
5ad302fb3b Bug 463939. When an SVG element's geometry changes and it has an ancestor with a filter effect, invalidate the nearest SVG viewport ancestor because we don't have a good way to compute precise invalidation bounds. r=roc
--HG--
extra : rebase_source : 4f0b385d07b989137f83b80d6cd0907ee1dcd599
2009-04-25 01:17:43 +02:00
Bob Clary
006b33a2ab bug 420697 - crash test by Martijn Wargers, Daniel Holbert. 2009-04-24 10:08:23 -07:00
Bob Clary
1fd14c5cad bug 323704 - crash test by Doug Schepers. 2009-04-24 10:08:10 -07:00
Bob Clary
42d694c998 bug 322215 - crash test by Georgi Guninski. 2009-04-24 10:08:09 -07:00
Ryo Onodera
dbaa4b4a99 Bug 489718 - image-rendering and text-rendering hints should operate when clipping. r=longsonr 2009-04-24 14:11:03 +01:00
Jonathan Watt
6899b93ad5 Bug 487019. Rename IsDependentAttribute to AttributeDefinesGeometry. r=longsonr 2009-04-24 01:41:17 +02:00
Ryo Onodera
e70f2603e4 Bug 489151 - Masking and clipping with objectBoundingBox and non-trivial transforms is broken. r=jwatt 2009-04-24 03:10:22 +09:00
Joe Drew
633b99bd32 Backed out changeset 6a452e522e07 - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent Tp hangs. 2009-04-21 23:02:17 -04:00
Boris Zbarsky
5c5eb9c3ea Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Jeff Muizelaar
52c97edf1e Bug 481926 - Rewrite color management component sr=vlad, r=ted, r=joedrew (\o/)
Replaces lcms with qcms
2009-04-07 12:02:11 -04:00
Robert Longson
84203c61ee Bug 423756 - Support image-rendering attribute for html images and css backgrounds. r=joe,vlad sr=roc 2009-04-05 10:52:14 +01:00
Joe Drew
db7246feb6 Backed out changeset 6f3c2171bbb2:
Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad
2009-04-03 16:27:27 -04:00
Jeff Muizelaar
e823d73623 Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad 2009-04-03 15:09:56 -04:00
Neil Rashbrook
4a5e03c25a VC7.1 bustage fix for bug 465996 r=longsonr sr=roc 2009-04-02 21:29:31 +01:00
Robert O'Callahan
b63d015d33 Bug 459666. Guard assertion containing GetPrimaryFrameFor so it doesn't run at a bad time to be calling GetPrimaryFrameFor. Also, nsCSSFrameConstructor::PostRestyleEvent should check mPresShell->IsDestroying() when deciding whether to drop requests, and it should drop requests silently because it's perfectly safe and correct to do so. r+sr=bzbarsky
--HG--
extra : rebase_source : 8bf16bbc46de1f420d529f8d0a60ae07f8f0ef81
2009-04-01 14:08:34 +13:00
Jonathan Watt
20d0770716 Bug 465996. Small objects that are scaled up don't get invalidated correctly. r=roc 2009-03-31 14:19:39 +02:00
Olli Pettay
e7fbfa373f Additional patch for Bug 425265, r+sr=bz 2009-03-30 22:03:42 +03:00
Robert O'Callahan
1c1c9898b0 Backout fix for bug 459666
--HG--
extra : rebase_source : b261b5561671fd7fc9e3967f7d8c31448cc4c87a
2009-03-30 15:54:33 +13:00
Robert Longson
1caf0da977 Bug 484677 - Mouse coordinates in zoomed foreignObject are calculated incorrectly. r+sr=roc 2009-03-29 14:58:09 +01:00
Robert Longson
028b6e3f8b Bug 483389 - viewportElement methods return the wrong element sometimes. r+sr=roc 2009-03-21 15:36:39 +00:00
Robert Longson
fb4afd4ad6 Bug 484150 - support image-rendering attribute. Includes some gfx code by vlad from bug 423756 which is r=joe. The rest is r=dbaron, sr=roc 2009-03-21 15:36:38 +00:00
Robert O'Callahan
01d7e9ec69 Bug 483765. Remove incorrect scaling when painting non-SVG content with an SVG filter, so such content renders properly when zooming. r=jwatt
--HG--
extra : rebase_source : 7106820dfb7f2b96b88348ea08e68c5d4377d863
2009-03-18 13:37:01 +13:00
Olli Pettay
e9e6134072 Bug 482976 - Crash [@ nsTextFrame::Reflow] on print preview with quote, r+sr=roc 2009-03-18 12:45:00 +02:00
Robert Longson
c165a61804 Bug 483439 - text with stroke and fill causes crashes. r+sr=roc 2009-03-16 11:59:23 +00:00
Daniel Holbert
0a78467896 Bug 473904 - Add an about:config option (defaulting to 'false' right now) for toggling SVG animation (SMIL) support. r+sr=roc 2009-03-09 18:20:17 -07:00
Robert Longson
b8fffd1b06 Bug 470653 - nsSVGElement::AfterSetAttr should probably use insertionParent, not insertionParent of the bindingParent. r+sr=roc 2009-03-09 13:14:35 +00:00
Olli Pettay
c10a9dfb86 Bug 425265, r=roc, sr=bz 2009-03-08 21:01:02 +02:00
Boris Zbarsky
c9625bfecd Bug 481045. <svg:use> shouldn't paint its kids. r+sr=roc 2009-03-04 07:55:28 -05:00
Jonathan Kew
526a0ca6e9 Bug 479276. Support a new kind of glyph bounding-box: TIGHT_HINTED_OUTLINE_EXTENTS, and use it to stop MathML spacing depending on exact ink extents. r+sr=roc
--HG--
extra : rebase_source : 43f9009f6457361e690062f87b2e5fda4041dc48
2009-02-24 21:32:58 +13:00
Jonathan Kew
20f4c965a8 Bug 478792 - prefer glyph advance rather than ink extent; r+sr=roc 2009-02-23 02:19:30 +01:00
Jesse Ruderman
1ad38ac6a7 Add crashtests 2009-02-20 19:38:16 -08:00
Jesse Ruderman
ea905567dc Add crashtests 2009-02-13 14:54:17 -08:00
Robert O'Callahan
d88d077696 Bug 459666. GetReferencedFrame should bail out if we've destroyed the frame tree while reconstructing frames for the entire document. r+sr=bzbarsky 2009-02-10 21:28:16 +13:00
Jonathan Watt
1f7513a161 Fixing bug 461863. Nested filtering is broken (inner filtered elements are clipped or don't paint). r+sr=roc@ocallahan.org 2009-02-10 13:54:28 +13:00
Jesse Ruderman
4d5ffd6842 Add crashtests for the following bugs: https://bugzilla.mozilla.org/buglist.cgi?quicksearch=328944+401042+413085+416461+431705+437142+449006+463741+465651+472782+474744 2009-02-07 21:33:31 -08:00
Craig Topper
074d581c29 Bug 374111 - DeCOMtaminate SVG viewBox; r+sr=roc 2009-02-03 15:42:24 +01:00
Robert Longson
758ced0b50 Bug 474700. Avoid negative-sized filter areas. r+sr=roc
--HG--
extra : rebase_source : 50e69812961c0787571273ca8e4326c48e7a83e6
2009-01-30 20:22:29 +13:00
Robert Longson
cb69cd98ec Bug 475193. Only SVG frames should have marker properties. r+sr=roc
--HG--
extra : rebase_source : 51d78172315ec66bf8f5be9bb4afd00ec086b12f
2009-01-30 20:13:36 +13:00
L. David Baron
38d578f649 Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky 2009-01-29 12:39:18 -08:00
Robert Longson
d7f5510579 Bug 472782. Avoid infinite recursion when textPath points to a non-path. r+sr=roc 2009-01-28 22:44:39 +13:00
Jonathan Watt
7ed623f2b1 Bug 475181. Bounds-check feTile subregion size --- crashtest 2009-01-28 22:31:39 +13:00
Jesse Ruderman
daac235263 Add crashtests for bug 466585 and bug 451311 2009-01-24 23:24:53 -08:00
Robert Longson
8cd6e2f5f7 Bug 472135. Invalidate markers using style system hints instead of doing an eager invalidation (which reacquires frames, breaking our one-shot nsSVGRenderingObservers setup). r+sr=roc
--HG--
extra : rebase_source : 48ab3b34460f5908bcec5c3e15a5d12f71496579
2009-01-22 14:02:40 +13:00
Craig Topper
623a502daa Bug 471551. Stop duplicating SVG string attribute storage by having nsSVGString use the attribute value as the underlying base value (removing mBaseVal); also make mAnimVal an nsAutoPtr<nsString>. r=longsonr,r+sr=roc
--HG--
extra : rebase_source : 319ff11d4321f2f7f41a7d19f17435fe814b1079
2009-01-22 13:56:51 +13:00
Boris Zbarsky
3ae6edc425 Bug 473390 part 16. Move around SVG assertions so that they happen in frame init, not during frame creation. r=jwatt, sr=roc 2009-01-19 13:31:34 -05:00
Robert O'Callahan
1f829702e4 Backed out changeset fb2d014e0352 2009-01-20 00:25:58 +13:00
Robert O'Callahan
8b97c81cd0 Bug 471551. Avoid duplicate string storage for SVG string attributes; let nsSVGString get the baseval from the element. Also change mAnimVal to an nsAutoPtr to minimize storage in the non-animated common case. r=longsonr,sr=roc 2009-01-19 22:03:31 +13:00
Robert O'Callahan
dff214e0d3 Backed out changeset 9246fefef1cc 2009-01-17 23:58:34 +13:00
Robert Longson
db4a4c8288 Bug 472135. Avoid re-getting the target marker frame in nsSVGMarkerProperty::DoUpdate --- that leads to infinite loops. Update things lazily instead via fake style changes. r+sr=roc
--HG--
extra : rebase_source : f90519e06842d6301e3a27eddb0cddd300b62db2
2009-01-16 21:20:29 +13:00
Craig Topper
e4db95ada5 Bug 473511. nsSVGInnerSVGFrame does not need to implement nsISVGValueObserver. r=jwatt,sr=roc
--HG--
extra : rebase_source : 7b5b4dd1c5702498a496133c643891c337ea4a42
2009-01-16 21:14:40 +13:00
Craig Topper
dc0c2a207d Bug 473517. nsSVGUtils::CoordToFloat should avoid heap-allocating an nsSVGLength. r+sr=roc
--HG--
extra : rebase_source : c2cd532376da8c37ad02f834ab4e859fec61dda1
2009-01-16 21:02:40 +13:00
Jeremy Lea
ce80f69254 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Benjamin Smedberg
3498a5f86e Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
73a6fab34b Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg
802d1a10c7 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Boris Zbarsky
5a88fcd9ff Adding test 2009-01-05 13:32:00 -05:00
Robert O'Callahan
112000f159 Bug 470911. Make the preserveAspectRatio attribute storage much simpler and make the DOM accessors use tear-offs. With help from Craig Topper. r+sr=roc
--HG--
extra : rebase_source : 1a073c76d07c0a4532b2caf9978ef5847b36dec8
2009-01-05 14:19:38 +13:00
L. David Baron
f6824a9fa5 Replace space manager with a more limited float manager. (Bug 191448) r+sr=roc
--HG--
rename : layout/generic/nsSpaceManager.cpp => layout/generic/nsFloatManager.cpp
rename : layout/generic/nsSpaceManager.h => layout/generic/nsFloatManager.h
2009-01-04 19:39:54 -05:00
Jesse Ruderman
e7ff093116 Add 19 crashtests 2009-01-01 14:18:58 -08:00
Robert Longson
44016eb6da Bug 470124 - Crash [@ nsSVGUtils::GetRelativeRect]; r+sr=roc 2008-12-21 02:16:42 +01:00
Robert Longson
bda2871a94 Bug 441780. Fix radial gradient clamping to be more aggressive. r=jwatt,sr=roc
--HG--
extra : rebase_source : 477e5305530e86348a3526a8157f5f93340c644b
2008-12-17 20:28:33 +13:00
Martin Stránský
5f8aedcf13 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 16:17:50 +13:00
Karl Tomlinson
dea545b65e backout b=403513 due to compile error in gfxFontSelectionTest.cpp 2008-12-17 13:57:40 +13:00
Martin Stránský
7d9de4223a b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 13:44:32 +13:00
Jesse Ruderman
2791f144e6 Crashtest for bug 458453. 2008-12-14 00:48:51 +01:00
Robert O'Callahan
7da5e41790 Bug 455314. nsSVGRenderingObserver::GetReferencedFrame shouldn't try to look up the frame on a cache miss, if we're currently destroying frames. r+sr=mats 2008-12-12 21:25:16 +13:00
Robert O'Callahan
224247103e Bug 448243. When nsSVGFilterInstance needs to create a dummy input image, create one of the right size. r=jwatt,sr=mats 2008-12-12 21:14:26 +13:00
Robert Longson
668d43d2f9 Bug 463064 - Use covered region to minimise foreignObject painting r+sr=roc 2008-12-06 15:22:01 +00:00