Commit Graph

1301 Commits

Author SHA1 Message Date
David Anderson
5d981ba8fe Merge from mozilla-central. 2012-08-16 14:04:20 -07:00
David Anderson
f29decd8b9 Merge from mozilla-central. 2012-08-15 14:22:26 -07:00
David Anderson
0e509b2165 Merge from mozilla-central. 2012-08-13 13:40:42 -07:00
David Anderson
da15732de3 Merge from mozilla-central. 2012-08-10 14:50:20 -07:00
David Anderson
88429440a3 Merge from mozilla-central. 2012-08-08 15:09:49 -07:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Anderson
9f806b608d Merge from mozilla-central. 2012-08-07 15:13:28 -07:00
David Anderson
02b557e2ee Merge from mozilla-central.
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
rename : browser/modules/WebappsInstaller.jsm => toolkit/webapps/WebappsInstaller.jsm
2012-08-06 12:44:06 -07:00
David Anderson
20b1197753 Merge from mozilla-central. 2012-08-03 18:58:30 -07:00
Ehsan Akhgari
51966b80a6 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Edwin Flores
2446d8504c Bug 719286 - Make SVG glyphs play nice with displaylist code r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
b4fd081edd Bug 719286 - Use -moz-objectValue keywords in SVG glyphs r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
e086b38fb4 Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to SVG *-opacity fields in SVG glyphs r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
0300bf0a15 Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to CSS parser for SVG glyphs r=dbaron 2012-09-06 16:58:46 +12:00
Edwin Flores
0dd30d4b22 Bug 719286 - Setup gfxTextObjectPaint wrapper for SVG glyphs to inherit outer text object paint r=roc 2012-09-06 16:58:46 +12:00
Edwin Flores
87a3a3e8e0 Bug 719286 - Add new gfxTextObjectPaint paint wrapper for use with SVG glyphs r=roc 2012-09-06 16:58:46 +12:00
Edwin Flores
cac293e907 Bug 719286 - Add support for objectfill and objectstroke values to CSS parser r=dbaron 2012-09-06 16:58:46 +12:00
Cameron McCormack
9bd836efaa Bug 655877 - Part 39: Get bounding boxes of SVG text using new text frames correctly. r=jwatt 2012-08-10 21:13:44 +10:00
Cameron McCormack
f75b7c3ad3 Bug 655877 - Part 30: Allow PathExtentsToMaxStrokeExtents to work with nsTextFrames. r=jwatt 2012-08-10 21:13:44 +10:00
Cameron McCormack
9e66557827 Bug 655877 - Part 1: Move some path drawing functions from nsSVGGeometryFrame to nsSVGUtils. r=jwatt 2012-08-10 21:13:43 +10:00
Cameron McCormack
200bb52dcf Bug 655877 - Part 24: Add UA style sheet rule to inherit unicode-bidi on <text> to its anonymous block child. r=jwatt 2012-08-10 17:09:55 +10:00
Cameron McCormack
3239edd752 Bug 655877 - Part 22: Add function for getting the 'is SVG text using CSS frames' pref. r=jwatt
--HG--
extra : rebase_source : 781039f078c347146299e66eef57b515fdc843a0
2012-08-08 21:46:06 +10:00
David Anderson
2e20aecd2c Merge.
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-08-01 11:30:00 -07:00
Sergey Glushchenko
cc3eef8d15 Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR 2012-08-06 13:32:11 -07:00
Robert Longson
220527a3f5 Bug 619964 - Implement FillPaint and StrokePaint filter sources. r=jwatt 2012-08-05 20:10:21 +01:00
Robert Longson
22644f28a0 Bug 773467 - Make SVG patterns ignore their patternContentUnits attribute when their viewBox attribute is set. r=jwatt
--HG--
rename : layout/reftests/svg/viewBox-and-pattern-01.svg => layout/reftests/svg/viewBox-and-pattern-02.svg
rename : layout/reftests/svg/viewBox-and-pattern-01.svg => layout/reftests/svg/viewBox-and-pattern-03.svg
2012-07-31 11:17:11 +01:00
Jonathan Watt
1ab579a114 Bug 768351 - "ABORT: Passed bad frame" with mask pointing at data: URL. r=roc.
--HG--
extra : rebase_source : ec2c0dd2b216a818cbe4c9526e198afb18f08c13
2012-07-30 20:14:18 +01:00
Jonathan Watt
2fd507a189 Bug 776337 - "ASSERTION: Should not use nsSVGIntegrationUtils on this SVG frame". r=longsonr.
--HG--
extra : rebase_source : b72f0311607b5d4ae0fa28939a53728566b4bfd9
2012-07-31 00:20:06 +01:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Cameron McCormack
bd1f97f84e Bug 655877 - Part 8: Ignore letter-spacing in SVG text frames. r=roc 2012-08-02 21:38:47 +10:00
Robert Longson
95a5b2af99 Bug 757751 - attribute updates on non-rendered svg elements result in an abort. r=jwatt 2012-08-15 12:58:06 +01:00
Cameron McCormack
dd3bc76051 No bug - Comment fix now that InvalidateAndScheduleBoundsUpdate has been renamed to InvalidateAndScheduleReflowSVG. DONTBUILD 2012-08-27 17:51:48 +10:00
David Zbarsky
fa3cb43e08 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Matt Brubeck
68ff1a9598 Back out 7ac323ff812e (bug 768351) because crashtests/768351.svg fails with an unexpected assertion 2012-07-30 15:09:22 -07:00
Jonathan Watt
b398a6b14b Bug 768351 - "ABORT: Passed bad frame" with mask pointing at data: URL. r=roc. 2012-07-30 20:14:18 +01:00
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Jonathan Watt
63d0422ab7 Bug 776747 - Talos Regression :( SVG, Opacity Row Major increase 4.54%. r=roc. 2012-07-30 01:35:26 +01:00
Robert Longson
e24aff5d55 Bug 777476 - text bounding boxes should ignore whitespace-only nodes when whitespace compression suppresses them. r=jwatt 2012-07-27 09:07:32 +01:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
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
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
Phil Ringnalda
07ca8ea292 Bug 669025 followup, fix crashtests.list typo 2011-07-03 14:20:10 -07:00
Robert Longson
b1a2285137 Bug 669025 - class name and proto chain interface mismatch with number-optional-number and integer-optional-integer. r=dholbert 2011-07-03 20:49:11 +01:00
Robert Longson
1371deaee4 Bug 617623 - animate number-optional-number and integer-optional-integer attributes properly. r=dholbert 2011-07-01 08:19:52 +01:00
Robert Longson
5bf016d92d Bug 666068 - Speed up nsSVGIntegrationUtils::UsingEffectsForFrame. r=jwatt,jmuizelaar 2011-06-22 21:07:31 +01:00
Jonathan Watt
cea21c4f74 Bug 664130 - const-ify some SVG element class methods. r=dholbert.
--HG--
extra : rebase_source : e3efcfa1b14b36a5b7f1baefde3fbffb471c6b37
2011-06-16 11:53:13 +01:00
Daniel Holbert
9725867292 Bug 654858: Fix float-to-nscoord rounding issue in SVG intrinsic ratio, with certain GCC versions & optimizations. r=roc 2011-06-13 14:48:50 -07:00
L. David Baron
2c8f5f2992 Remove notion of percentage intrinsic size: remove the single case that (incorrectly) sets percentage intrinsic sizes, and fix all of the tests that depend on our old incorrect behavior. (Bug 611099) r=dholbert
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-06-12 18:52:32 -07:00
Robert Longson
622580fa22 Bug 657077 - Should not assert calling suspendRedraw on elements that fail conditional processing. r=dholbert 2011-05-31 19:12:40 +01:00
Masayuki Nakano
85c451e309 Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Masayuki Nakano
060287addd Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Craig Topper
4e38ca20a7 Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc 2011-05-18 20:10:49 -07:00
Robert Longson
0b301b718d Bug 655497 - Remove nsISVGGlyphFragmentLeaf. r=dholbert 2011-05-07 18:08:41 +01:00
Boris Zbarsky
ae3f14f1ba Merge cedar with mozilla-central 2011-05-06 20:39:36 -04:00
Daniel Holbert
150c675bb2 Bug 655025 followup: Rename added IsEmpty method to avoid clashing with inherited nsIFrame method. r=longsonr 2011-05-06 11:33:21 -07:00
Robert Longson
4ae27e62f1 Bug 655025 - Fix zippity graph. r=dholbert 2011-05-06 11:45:17 +01:00
Robert Longson
eeaddc72e5 Bug 620286 - White space at beginning (end) of tspan should render when there is preceding (following) non-white space text. r=roc 2011-05-03 08:45:30 +01:00
Robert Longson
d3f15b07db Bug 643419 - pathLength should affect stroke-dasharray. r=dholbert 2011-05-01 19:26:20 +01:00
Boris Zbarsky
447ee74d8c Bug 654989 part 1. Allow handing out both an nsIContent and an nsStyleContext from CreateAnonymousContent. r=roc 2011-05-06 16:04:44 -04:00
Robert Longson
b5cec522e0 Bug 620274 - nsSVGForeignObjectFrame::PaintSVG null checks aDirtyRect when it is always non-null r=dholbert
--HG--
extra : rebase_source : b823f3edf4cc1585fa752233db6052945e47a23f
2011-04-24 20:55:58 +01:00
Simon Montagu
ece92e21ce Back out bug 263359 and bug 624798 because of performance regressions (bug 650189) 2011-04-27 11:47:18 +03:00
Zack Weinberg
557aeba56f Bug 649429 part 2: move nsSVGUtils::ConvertToSurfaceSize back to nsSVGUtils.cpp. r=dholbert
--HG--
extra : rebase_source : 7c3b91c2d59b39d9c5e0421ac77dad94ef947e34
2011-04-21 12:36:46 -07:00
Jonathan Watt
9c895c01df Bug 589648 part 3. Work around lack of cairo support to display square stroke-linecaps for zero length paths. r=longsonr.
--HG--
extra : rebase_source : 5aaa65a2bc888b4a64884f5f2a87beb7803f646e
2011-04-20 10:16:02 +01:00
Jonathan Watt
9ce3bf7614 Bug 488314 part 2 - Kill vestiges of SetMatrixPropagation. r=longsonr.
--HG--
extra : rebase_source : ab532ae0ee733e6c759856640d755869bc231f73
2011-04-20 10:16:01 +01:00
Zack Weinberg
647b7a0bfe Bug 651017, part 7: remove nsDeviceContext::CreateRenderingContextInstance and the CreateRenderingContext overload that takes a widget.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 6be7fe432488dcf2fb5b2faa0e178dccab480285
2011-04-16 21:08:22 -07:00
Zack Weinberg
dd67585463 Bug 651017, part 5: mechanical changes.
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Mounir Lamouri
8883f4f0d6 Merge cedar with mozilla-central 2011-04-19 11:02:41 +02:00
Robert O'Callahan
d4c414cf18 Bug 641426. Part 8: Replace gfxRect::Outset/Inset with Inflate/Deflate. Also slip in a conversion constructor from nsIntRect to gfxRect. r=tnikkel 2011-04-19 15:07:51 +12:00
Robert O'Callahan
72627bced2 Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan
c957ae039e Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan
307547d062 Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Robert O'Callahan
73b97e72c4 Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe 2011-04-19 15:07:21 +12:00
Robert O'Callahan
17b91a87af Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Robert Longson
55e9f84758 Bug 648819 - Stop ASSERTION: unknown nsISVGValue with invalid patternTransform. r=dholbert 2011-04-18 19:55:07 +01:00
Zack Weinberg
52c99aabb7 Bug 174055, part 6: eliminate pointless nsresult return values. 2011-04-07 21:18:43 -07:00
Zack Weinberg
42ead75834 Bug 174055, part 4: mechanical fixups outside gfx. 2011-04-07 18:05:49 -07:00
Zack Weinberg
299386f14c Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h. 2011-04-07 18:04:41 -07:00
Zack Weinberg
c3400ef3c4 Bug 266236 part 7: Simplify calling convention of SetClipRect and SetClipRegion.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b1c68e23a4fa67cdc09b151ad39d7560cdd8baf7
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Jan Küchler
0e92a9d34a Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Simon Montagu
8ade1e195e Make all nsBidiPresUtils methods static. Bug 624798, r=roc 2011-04-13 12:23:49 +03:00
Robert Longson
d06df5fd4d Bug 633337 - pattern viewBoxes not treated correctly. r=jwatt 2011-04-09 21:57:51 +01:00
Felipe Corrêa da Silva Sanches
122358c42d Bug 484966. Remove nsSVGUtils::GetParentElement in favor of nsIContent::GetFlattenedTreeParent. r=jwatt 2011-04-07 22:27:57 -07:00
Robert Longson
33c52d85ab Bug 641858 - text does not reflect dynamic gradient/pattern changes r=jwatt 2011-04-03 13:23:40 +01:00
Robert Longson
8b57446931 Bug 614367 - Fix assert removing nonexistent transform r=dholbert 2011-02-27 10:54:47 +00:00
Robert Longson
7c5a1f227d Bug 635511 - Improve performance getting parent SVG elements r=jwatt 2011-02-26 10:21:11 +00:00
Chris Pearce
21f7bd28a4 Bug 642695 - Remove debug printf in nsSVGForeignObjectFrame::DoReflow(). r=jwatt 2011-03-24 11:28:57 +13:00
L. David Baron
4a7745e74d Remove tracking of which font families are quirky, since we no longer use the information. (Bug 636040) r=jdaggett 2011-03-03 13:18:42 -08:00
Jesse Ruderman
3b3b006244 Bug 386690 - add crashtest. a=NPOTB 2011-02-27 21:12:29 -08:00
Daniel Holbert
030fb02047 Bug 596765, patch 2: In nsSVGForeignObjectFrame::MaybeReflowFromOuterSVGFrame, don't mark kid as dirty if we know we're not going to reflow it. r+a=roc 2011-02-17 16:33:31 -08:00
Daniel Holbert
644a076704 Bug 596765, patch 1: Don't skip initial reflow for zero-sized svg foreignObject frames. r+a=roc 2011-02-17 16:33:30 -08:00
timeless@mozdev.org
b6f0d48e50 Bug 620413 useless check of stopFrame in nsSVGGradientFrame::GetStopInformation
r=longsonr a=dbaron
2011-02-15 23:53:02 -08:00
timeless@mozdev.org
a602a2c382 Bug 617749 useless null check in nsSVGGlyphFrame::IsAbsolutelyPositioned
r=jwatt a=dbaron
2011-02-15 23:52:55 -08:00
Daniel Holbert
0c4aab88d6 Bug 614649, patch 1: In SVG-as-an-image with no viewBox, use height & width attrs on <svg> to dynamically synthesize a viewBox. r=jwatt a=roc 2011-02-09 12:13:18 -08:00
Johnny Stenback
7ed31a41cb Fixing bug 604262. Fix crash in nsImageLoadingContent::OnStartDecode(). r=jonas@sicking.cc, a=blocker 2011-01-31 20:50:01 -08:00
Jonathan Watt
e9766e8961 Bug 619955. 'pointer-events' broken on SVG text. r=longsonr, a=roc.
--HG--
extra : rebase_source : 69ebfac4019f926014c957c9984cc6d6795016b3
2011-01-28 19:35:35 +13:00
Jonathan Watt
64baa40654 Bug 619959, part 2. Fix handling of various values of pointer-events when stroke-opacity="0". r=longsonr,heycam. a=roc.
--HG--
extra : rebase_source : d2adfa6fb8abfc08e2c1693521668587d1aaa00d
2011-01-26 17:50:29 +13:00
Brian Birtles
23f0dcba7c Bug 544809 - nsSVGPatternFrame::GetPatternWithAttr and callers should take account of SMIL animation, r=longsonr, a=roc 2011-01-16 16:36:34 +09:00
Jonathan Kew
8bbc3bdd8a bug 621918 - part 2 - make SVG text respect character clusters. r=roc a=roc 2011-01-11 11:17:00 +00:00
Jonathan Kew
13736eae4a bug 621918 - part 1 - eliminate aDirtyRect parameter from gfxTextRun::Draw etc. r=roc a=roc 2011-01-11 11:17:00 +00:00
Daniel Holbert
1618fafe07 Bug 614272: When painting an SVG image, check if imageTransform is singular before applying it to our gfxContext. r=longsonr a=blocking-final+ 2011-01-10 21:57:19 -08:00
Simon Montagu
2d56d2efaf Basic bidi support for SVG. Bug 620446, r=roc, a=roc 2011-01-04 00:52:17 -08:00
Jonathan Watt
01f9a1b0c2 Bug 620034 - "ABORT: DOM wrapper's list length is out of sync" [@ mozilla::DOMSVGNumberList::Length]. r=longsonr, a=blocking. 2011-01-03 09:26:28 +00:00
Jonathan Watt
0e404435bc Bug 610594 - "ABORT: F.6.6.3 should prevent this. Will sqrt(-num)!". r=longsonr, a=blocking 2011-01-03 09:26:28 +00:00
Robert Longson
b3d7572c23 Bug 621598 - Don't try to get covered region of parts of markers r+a=roc 2010-12-29 10:29:54 +00:00
Robert Longson
e39c239054 Bug 621210 - Clear cached ctm when painting mask children; r=jwatt; a=roc 2010-12-24 09:30:01 +00:00
Brian Birtles
64e7373c44 Bug 615788 - Clear cached ctm when painting pattern children; r=longsonr; a=roc 2010-12-23 14:48:31 +09:00
Mihai Sucan
176912a7c2 Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 2; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Robert Longson
3c0d7ed5aa Bug 620144 - clip paths and masks that cannot be resolved should be ignored r=jwatt,a=roc 2010-12-19 17:47:01 +00:00
Daniel Holbert
ebf2a2f077 Bug 272288 Patch 2: Store override preserveAspectRatio values in property table on image document's root node, when painting <svg> image element. r=roc a=roc
--HG--
rename : layout/reftests/svg/image/blueRect10x10.svg => layout/reftests/svg/image/blueRect10x10-viewBox.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-svg.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-svg.svg
2010-12-19 16:45:29 -08:00
Daniel Holbert
9dce61ff01 Bug 272288 Patch 1: Fix nsSVGImageFrame to handle SVG images. r=roc a=roc 2010-12-19 16:45:29 -08:00
Daniel Holbert
75361d7972 Bug 619516 Patch 4: Create overloaded version of nsSVGUtils::GetViewBoxTransform to take (un-animated) SVGPreserveAspectRatio. r=jwatt a=roc 2010-12-19 16:45:29 -08:00
Daniel Holbert
24a0292ab0 Bug 619516 Patch 3: Rename files nsSVGPreserveAspectRatio.* to SVGAnimatedPreserveAspectRatio. r=jwatt a=roc
--HG--
rename : content/svg/content/src/nsSVGPreserveAspectRatio.cpp => content/svg/content/src/SVGAnimatedPreserveAspectRatio.cpp
rename : content/svg/content/src/nsSVGPreserveAspectRatio.h => content/svg/content/src/SVGAnimatedPreserveAspectRatio.h
2010-12-19 16:45:29 -08:00
Daniel Holbert
725fb5d939 Bug 619516 Patch 2: Update clients of nsSVGPreserveAspectRatio with new class name. r=jwatt a=roc 2010-12-19 16:45:29 -08:00
Daniel Holbert
61a096d4a4 Bug 619516 Patch 1: Rename nsSVGPreserveAspectRatio and its inner class to SVGAnimatedPreserveAspectRatio / SVGPreserveAspectRatio. r=jwatt a=roc 2010-12-19 16:45:29 -08:00
Robert Longson
619b5db75c Bug 617737 - white space handling incorrect r+a=roc 2010-12-16 10:57:35 +00:00
Jesse Ruderman
5037f01564 Bug 475302 - add crashtest 2010-12-12 12:54:26 -08:00
Robert Longson
618ecff833 Bug 617448 - remove svg.enabled as the browser now uses SVG and fails to start if it's disabled r+a=roc 2010-12-08 21:25:06 +00:00
Cameron McCormack
45bcec85a6 Bug 615146 - Ensure outer SVG elements get an nsSVGOuterSVGFrame even they fail conditional processing attributes (v2) r=longsonr, a=blocking
--HG--
extra : rebase_source : 592d3e066054036dc6c6f741054c1abcffdcc634
2010-12-07 09:57:18 +13:00
Jonathan Watt
0265b48597 Bug 522308 - Add support for SMIL animation of the <polygon> and <polyline> element's 'points' attributes. r=longsonr,dholbert,roc a=roc
--HG--
extra : rebase_source : b5958bf2635db311c94191b4683d4b3f24d0232f
2010-12-08 12:15:53 +00:00
Robert Longson
106fe8daf7 Bug 615666 - SMIL animation does not work with percent units for "offset" attr on <stop> elements. r=jwatt a=roc
--HG--
extra : rebase_source : 9907e24c397c5e7971256c3f0164255420585824
2010-12-05 20:33:31 +00:00
Oleg Romashin
3874b00931 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. part1 r=roc a=apporval2.0 2010-11-24 11:35:21 +02:00
Jonathan Watt
aef4dd636f Bug 589439. De-COMtaminate SVG number lists and support for SMIL animation of SVG number lists. a=roc r=roc,longsonr,dholbert.
--HG--
extra : rebase_source : eabed292053e9f63e025dc44b9f5a6c2017f626a
2010-12-03 16:40:23 +00:00
Justin Lebar
43b18d2b18 Backed out changeset a5ec817740f0. a=orange 2010-11-29 09:08:24 -08:00
Oleg Romashin
233ef8a80c Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Robert Longson
41d05ab40a Bug 611975 - text with gradient on stroke breaks when fill of any kind exists r=roc,a=blocking-final+ 2010-11-27 09:24:32 +00:00
Dave Townsend
1244f0ae62 Backing out changeset 8fff1c186b30 from bug 607653 due to reftest failures on OSX. a=bustage 2010-11-24 16:19:41 -08:00
Oleg Romashin
a8abb4a458 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Markus Stange
94273719c4 Bug 610122 - Speed up nsSVGMaskFrame::ComputeMaskAlpha by drawing into the image surface directly. r=roc, a=roc 2010-11-24 10:44:34 +01:00
Ehsan Akhgari
f7d3bd395c Backed out changeset 86c3a0e9fa87 because of the Windows optimize reftest failure 2010-11-23 14:26:31 -05:00
Robert Longson
4a68c2a358 Bug 611975 - text with gradient on stroke breaks when fill of any kind exists r=roc,a=blocking-final+ 2010-11-22 22:59:03 +00:00
Daniel Holbert
2dfaaddc03 re-enable crashtests for bug 612662, with s/.html/.svg/. a=tests-only 2010-11-19 10:15:42 -08:00
Daniel Holbert
458d85ff5d Disable crashtests for bug 612662, due to "timed out waiting for onload to fire". a=orange DONTBUILD 2010-11-19 09:39:55 -08:00
Daniel Holbert
1f25975081 Bug 612662 patch 5: tests. r+a=tests 2010-11-19 08:56:06 -08:00
Daniel Holbert
d55cd7386a Bug 610796: In SVG-as-an-image helper-documents, clear rendering observer lists at xpcom shutdown time. r=roc a=blocking-final+ 2010-11-16 10:35:59 -08:00
Daniel Holbert
c8a54bc253 Backed out changeset 5a5ead36d721 (bug 610796) due to non-libxul-build bustage 2010-11-16 11:24:04 -08:00
Daniel Holbert
ff2dff48de Bug 610796: In SVG-as-an-image helper-documents, clear rendering observer lists at xpcom shutdown time. r=roc a=blocking-final+ 2010-11-16 10:35:59 -08:00
Daniel Holbert
ac71d9769e Bug 610954: Use first continuation frame in new code in nsSVGIntegrationUtils::GetInvalidAreaForChangedSource, to match old code. r=longsonr a=bsmedberg 2010-11-10 13:18:11 -08:00
Daniel Holbert
fa0ca3bdbe Bug 587336: Keep nsSVGIntegrationUtils::GetInvalidAreaForChangedSource from inadvertantly adding an observer relationship and potentially triggering an infinite loop a few stack-levels up. r=roc a=blocking-final+ 2010-11-09 21:50:29 -08:00
Daniel Holbert
79778bb3d0 Bug 601999: Skip reflow request on target frame if it's already reflowing, when invalidating an SVG filter. r=roc a=blocking-betaN+ 2010-11-09 21:50:29 -08:00
Jesse Ruderman
c390d8bb40 Bug 590291 - add crashtest 2010-11-06 13:30:32 -07:00
Robert Longson
86facd52c1 Bug 595209 patch 1 - stroke scales badly with positioned glyphs r=roc,a=blocking-final+ 2010-10-29 08:18:03 +01:00
Robert Longson
785fa4398d Bug 608653 - lacuna pattern width/height should be zero r+a=roc 2010-11-03 22:35:00 +00:00
Robert Longson
5f4593ff3d Bug 603584 - feDisplacementMap does not always create output in correct colour space r+a=roc 2010-10-26 09:23:41 +01:00
Robert Longson
0b5ec4c833 Bug 605626 - Prevent assertion when displaying an image that has no width or height r=dholbert a=roc 2010-10-26 09:19:31 +01:00
Markus Stange
f6193ef3ca Bug 586954 - Set a proper clip region so that PushGroup doesn't allocate a giant surface. This speeds up drawing of masked non-SVG elements. r+a=roc 2010-11-05 17:01:17 +01:00
Robert Longson
0201c82775 Bug 484953 - speed up display of text that is both stroked and filled r+a=roc 2010-11-02 05:40:30 +00:00
Colby Russell
5c9da2bfe5 Bug 606107: Remove comment about long-fixed bugs in svg.css. r=roc a=comments-only 2010-10-22 15:55:05 -07:00
Daniel Holbert
a313214d9f Bug 606360: Don't double-count full-page-zoom factor when drawing SVG <image> element. r=longsonr a=blocking-final+ 2010-10-22 15:55:04 -07:00
Daniel Holbert
0cba8fe605 Bug 605420: Adjust dirtyRect to the right coordinate system when drawing for the SVG <image> element. r=longsonr a=blocking-final 2010-10-22 09:52:41 -07:00
Daniel Holbert
27e28e68bf Bug 604723: Multiply onto (instead of replacing) our gfxContext matrix when painting SVG images. r=longsonr a=blocking 2010-10-19 13:48:02 -07:00