Commit Graph

1255 Commits

Author SHA1 Message Date
Robert O'Callahan
7be62af7f1 Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
--HG--
extra : rebase_source : 730ba8640cb37bd8484ff069b5d6fd46d9bc3e84
2010-08-13 22:01:58 +12:00
Robert O'Callahan
33a0aec926 Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
--HG--
extra : rebase_source : 496cbde7c495eb8872c3d0ffc0ca4c57c2a6a777
2010-08-13 22:01:13 +12:00
Robert O'Callahan
88d155fd35 Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt 2010-08-20 14:29:01 -05:00
Robert O'Callahan
af4fec12f8 Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron 2010-08-20 14:29:01 -05:00
Chris Jones
710798b9a7 Backed out changeset 7b3726c3a580 2010-08-19 19:04:08 -05:00
Robert O'Callahan
7dd66ea23a Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron 2010-08-19 13:49:35 -05:00
Daniel Holbert
2c2ed663ed Bug 582004 part 2: Make imgIContainerObserver::FrameChanged take a const aDirtyRect argument. r=joe a=blocking 2010-08-13 21:09:48 -07:00
Robert O'Callahan
25324c072d Backing out bug 584282 and bug 537890 2010-08-14 02:35:06 +12:00
Markus Stange
b415b39db5 Bug 572689 - Allow overriding ID targets with mozSetImageElement for the BackgroundImageProperty which is used for -moz-element drawing. r=roc 2010-08-13 15:36:05 +02:00
Markus Stange
9f901f38b8 Bug 506826 - Add nsSVGIntegrationUtils::DrawPaintServer for use in -moz-element drawing. r=roc 2010-08-13 15:32:27 +02:00
Markus Stange
53d7d30d22 Bug 506826 - Use a frame state bit for recursion detection in SVG pattern drawing. r=roc 2010-08-13 15:32:15 +02:00
Markus Stange
eaba422dce Bug 572689 - Make nsSVGRenderingObservers observe elements instead of frames. r=roc 2010-08-13 15:31:31 +02:00
Markus Stange
4937fd0d55 Bug 572689 - Add an SVG property for -moz-element called BackgroundImageProperty and make it able to handle multiple observers with different observer URLs. r=roc 2010-08-13 15:30:45 +02:00
L. David Baron
2a023744e6 Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:53 -07:00
Dão Gottwald
1e1c1def63 Backed out changeset cdd440adb726 2010-08-10 15:10:11 +02:00
Ms2ger
719312de88 Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-10 14:25:28 +02:00
Robert Longson
0c22a67b47 Bug 577850 - A gradient applied to SVG Text element should render as if the objectBoundingBox spans the entire Text content. r=roc 2010-08-07 10:38:11 +01:00
Robert O'Callahan
e028060919 Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron 2010-08-13 22:01:58 +12:00
Robert O'Callahan
1f7b01e1c2 Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron 2010-08-13 22:01:13 +12:00
Robert Longson
d8318c4a74 Backout Bug 578309 due to mochitest failures 2010-07-27 09:35:54 +01:00
Robert Longson
03cd1f62f1 Bug 578309 - mask and clipPath applied to foreignObject are translated. r=roc a=blocking 2010-07-27 08:33:01 +01:00
Craig Topper
7f6bd7be85 Bug 580902 - Remove "using namespace mozilla;" from nsSVGElement.h and fixup the places that relied on it. r=jwatt 2010-07-25 17:25:38 -07:00
Craig Topper
4caec055d0 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Henri Sivonen
c21cd9cad1 Bug 552938 - Implement the SVG load event in text/html, make the SVG load event in XML async and only supported on <svg>. (Also disable/tweak 2 broken tests) r=dholbert, sr=roc 2010-07-18 15:07:54 -07:00
Daniel Holbert
67c3424709 Bug 578459: Add a comment to currently-unused file svgBindings.xml to indicate why it hasn't been removed. [comment-only change] r=jwatt 2010-07-18 15:07:54 -07:00
Robert Longson
780577b92e Bug 487649 - Markers handle viewBox and preserveAspectRatio badly. r=jwatt 2010-07-18 11:06:03 +01:00
Jonathan Watt
9da6570c8a Bug 515116. DeCOMify SVG length-list, and implement SMIL animation of length-list. r=longsonr, r=dholbert, sr=roc 2010-07-16 22:42:12 +01:00
Michael Ventnor
56ba116210 Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel 2010-07-16 09:07:49 +12:00
Robert Longson
535492b2f9 Bug 576986 - Fix pointer-events on foreignObject with clip-path. r=roc 2010-07-15 09:10:59 +01:00
Jonathan Kew
d34dd05fe1 bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron 2010-07-13 21:30:42 +01:00
Benjamin Smedberg
a08857c778 Final merge and landing of bug 568691 and dependent bugs to mozilla-central on a CLOSED TREE.
* bug 568691, register XPCOM components statically using manifests. r=mossop, with some test and build stuff r=vlad,sdwilsh
* bug 573557, rename categories with spaces to use hypens. r=jst
* bug 573739, Don't get the private browsing service during layout module initialization, r=ehsan

This initial merge does not include some work planned to land imminently:
* The extension manager still restarts. I need to solve a problem re-reading default preferences from extensions.
* MOZ_OMNIJAR is broken: there is a patch which I need to update in bug 568691.
* I will concurrently land a mobile-browser fix for component registration, but it may require some additional packaging changes.
2010-07-01 14:26:25 -04:00
Markus Stange
3478d6fbf4 Bug 572697 - Teach SVG paint servers how to use arbitrary nsIFrames as the drawing target. r=longsonr
--HG--
extra : rebase_source : fea2f616f11668fccdc7d172b03e51c3f2b222cf
2010-07-01 18:40:30 +02:00
Markus Stange
c7c192f3a7 Bug 572697 - Add frame types eSVGGeometry and eSVGPaintServer. r=roc
--HG--
extra : rebase_source : c4f39637b2e251d851cbbd3dadc91a516fd93e4b
2010-07-01 18:40:19 +02:00
Benjamin Smedberg
a677e5bf91 Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
29e089defb Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
0df0345c66 Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
c611ebcd81 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Robert Longson
63e23566cf Bug 573687 - Clamp radial gradients with small radii correctly. r=jwatt 2010-06-30 21:24:53 +01:00
Robert O'Callahan
6b80c45517 Bug 572287. Fix leak of mThebesComputationalSurface. r=jwatt 2010-06-18 21:21:13 +12:00
Daniel Holbert
b7556c1f5b Backed out changeset a8ac411e1653 (bug 552938) for causing some randomorange. 2010-06-09 17:16:25 -07:00
Henri Sivonen
a34b2ccbd0 Bug 552938 - Implement the SVG load event in text/html, make the SVG load event in XML async and only supported on <svg>. r=dholbert, sr=roc.
--HG--
extra : rebase_source : 6b4eb0b424b328cbb7853d767c2552ed01abc519
2010-05-25 14:57:58 +03:00
L. David Baron
e272b3a13d Use macros for frame state so that it's easy to change the size and easier to read the constants. (Bug 570837) r=roc 2010-06-08 22:28:14 -07:00
Jesse Ruderman
aedb18a96b Add a bunch of crashtests 2010-06-08 17:53:08 -07:00
Ms2ger@gmail.com
91560b026e Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Robert Longson
189cf82cee Bug 561726 - make animateTransform work on gradientTransform and patternTransform. r=jwatt 2010-05-28 13:15:56 +01:00
Boris Zbarsky
a3c3fa3d39 Bug 566216. Our parent could be a document fragment. r=dholbert 2010-05-17 14:18:25 -04:00
Boris Zbarsky
1b6aa7ce33 Bug 562700 part 2. Change the restyle-event functions to take Element. r=dbaron 2010-05-14 13:04:51 -04:00
Boris Zbarsky
1316de26e9 Bug 565826. Use Element in SMIL code as needed. r=dholbert 2010-05-14 13:04:51 -04:00
Boris Zbarsky
4399ba2268 Bug 565820. Use Element as the return value for ReferencedElement. r=roc 2010-05-14 13:04:51 -04:00
Michael Kohler
6c0f59f4a6 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Robert O'Callahan
aaea1f51b1 Bug 564993. Part 3: Split nsDisplayList::Paint into PaintForFrame and PaintRoot. Set the visible rect on the root layer from PaintRoot, let the visible rects of other layers be set when they're placed in their containers. r=mats 2010-03-11 09:55:05 +13:00
Robert Longson
560b5f1175 Bug 490003: Take outer <svg> element's border and padding into account, for invalidation and hit-testing. r=roc 2010-05-12 14:41:47 -07:00
Boris Zbarsky
8ccd3c1fea Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
L. David Baron
c4eb38acd9 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
Boris Zbarsky
fb534f9674 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Boris Zbarsky
87f8ccc3e9 Bug 560503. Don't check for mutation observer uniqueness; callers should handle that. r=sicking 2010-05-05 14:18:03 -04:00
timeless@mozdev.org
613b3bcb9f Bug 562428 - comparison between signed and unsigned integer expressions in nsSVGGlyphFrame::GetCharNumAtPosition, r=roc 2010-04-28 12:46:00 -07:00
Boris Zbarsky
0466fc87f5 Bug 562688 part 13. Eliminate eELEMENT usage in layout/style, except the rule processor. r=dbaron 2010-04-30 09:12:06 -04:00
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