292 Commits

Author SHA1 Message Date
longsonr%gmail.com
e9904f0957 Bug 339807 - SVG layout changes should be flushed before DOM calls. r=tor,sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199098 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 09:03:02 +00:00
cvshook%sicking.cc
83253303c8 Bug 90983: Don't fire mutation events during parsing, i.e. when aNotify is false. Also make us fire mutation events on nodes that are in an orphaned subtree. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@198844 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 00:58:04 +00:00
dbaron%dbaron.org
7be4b9c543 Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@198815 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 18:35:21 +00:00
tor%cs.brown.edu
c241a205ee Bug 328433 - Remove empty destructors from svg/content. r=jwatt, sr=tor
git-svn-id: svn://10.0.0.236/trunk@198461 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-26 15:51:11 +00:00
tor%cs.brown.edu
a3050ba62b Bug 338281 - Properly invalidate path when parsing fails. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@198113 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-21 13:50:39 +00:00
tor%cs.brown.edu
dd77e90635 Bug 338010 - Simplify svg rect and point creation in cairo renderer. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@196722 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 01:38:01 +00:00
tor%cs.brown.edu
a872071aa0 Bug 337145 - one copy of nsIDOMSVGMatrix -> cairo_matrix_t code.
r=jwatt, sr=roc


git-svn-id: svn://10.0.0.236/trunk@196342 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-11 20:59:11 +00:00
tor%cs.brown.edu
5d176b8e0f Bug 337490 - repair xbl-shapes croczilla demo regressions from path
and svg length rewrites.  r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@196340 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-11 20:36:27 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
tor%cs.brown.edu
dca9fb1156 Bug 334999 bustage fix.
git-svn-id: svn://10.0.0.236/trunk@195913 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 17:40:19 +00:00
tor%cs.brown.edu
f353be28a2 Bug 334999 - Compact path storage. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195906 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 17:01:28 +00:00
jwatt%jwatt.org
e86753af94 Fixing bug 335450. Remove our extensions to the SVG DOM interfaces. r=tor@acm.org, sr=roc@ocallahan.org
git-svn-id: svn://10.0.0.236/trunk@195467 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 21:02:25 +00:00
bzbarsky%mit.edu
24d1be29e9 Dispatch mutation events even in documents that are not rendered in a window.
Bug 201236, patch by Alex Vincent <ajvincent@gmail.com>, r=smaug, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@195285 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 19:52:21 +00:00
tor%cs.brown.edu
fcbc91cfb6 Bug 334400 - create SVG transform list lazily. r=jwatt, sr=roc
git-svn-id: svn://10.0.0.236/trunk@194970 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 15:24:51 +00:00
tor%cs.brown.edu
cec93294a3 Bug 332162 - vc6 bustage fixes.
git-svn-id: svn://10.0.0.236/trunk@194419 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-14 17:32:31 +00:00
tor%cs.brown.edu
18a6376e8e Bug 332162 - deCOMtaminate SVGLength. r=jwatt, sr=roc
git-svn-id: svn://10.0.0.236/trunk@194405 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-14 15:09:39 +00:00
jwatt%jwatt.org
e3825a8e7f Fixing bug 333631. Using uninitialized variables xx, yy in nsSVGPathData::Length. r+sr=roc@ocallahan.org
git-svn-id: svn://10.0.0.236/trunk@194214 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 12:09:50 +00:00
tor%cs.brown.edu
fe9204531a Bug 331481 - make sure style rule is updated after a presentation
attribute is removed.  patch by roc, r+sr=tor


git-svn-id: svn://10.0.0.236/trunk@192859 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 19:43:07 +00:00
tor%cs.brown.edu
0fa125a209 Bug 331481 - don't create unnecessary css rules. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192858 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 19:41:41 +00:00
cvshook%sicking.cc
e2c22d1f10 Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364.
git-svn-id: svn://10.0.0.236/trunk@192842 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 08:21:21 +00:00
bryner%brianryner.com
1de3fc0366 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@192794 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:36:36 +00:00
tor%cs.brown.edu
7a4d306c2f Bug 330498 - unify SVG effects (filter, clip, mask, opacity) logic. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192699 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-21 15:49:20 +00:00
cvshook%sicking.cc
35316b26ee Bug 326645: Remove mRootContent from nsDocument to avoid all the pains of keeping it in sync with the childlist. Also remove mBodyContent from nsHTMLDocument for the same reason. r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@192052 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 07:29:41 +00:00
Olli.Pettay%helsinki.fi
b6cdf7cb60 Bug 234455, Centralize event dispatch r=jst, sr=bz
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +00:00
jwatt%jwatt.org
cc43f70156 Fixing bug 329115. Replace Truncate/Append by Assign where possible in svg/content. Patched by Robert Longson <longsonr@gmail.com>. r=me, sr=roc@ocallahan.org
git-svn-id: svn://10.0.0.236/trunk@191690 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 12:57:14 +00:00
tor%cs.brown.edu
deb230db93 Bug 301628 - first pass at removal of svg observer mechanism.
r=scooter/jwatt, sr=roc


git-svn-id: svn://10.0.0.236/trunk@191604 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-02 20:22:19 +00:00
jwatt%jwatt.org
a46089d9f3 Fixing bug 328439. Use EqualsLiteral and AppendLiteral where appropriate in svg/content. Patched by Robert Longson <longsonr@gmail.com>. r=me, sr=roc@ocallahan.org
git-svn-id: svn://10.0.0.236/trunk@191593 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-02 19:00:21 +00:00
jwatt%jwatt.org
4624a80f67 Fixing bug 328571. Change the type of PRBool SVG classes members to PRPackedBool. r+sr=roc@ocallahan.org
git-svn-id: svn://10.0.0.236/trunk@191478 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-01 10:59:36 +00:00
tor%cs.brown.edu
39d4be7a80 Bug 328348 - Single version of viewport transform code. r=jwatt, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@191275 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-26 17:58:58 +00:00
tor%cs.brown.edu
cdecd39ea5 Bug 325728 - changes to markerWidth/markerHeight and orient not
handled properly.  Patch by longsonr@gmail.com, r=tor, sr=roc.


git-svn-id: svn://10.0.0.236/trunk@191158 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 16:41:39 +00:00
tor%cs.brown.edu
0d1d41cefc Bug 327437 - createSVGAngle isn't implemented, and nsSVGAngle cleanup.
Patch by longsonr@gmail.com, r=tor, sr=roc.


git-svn-id: svn://10.0.0.236/trunk@190701 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 17:00:02 +00:00
tor%cs.brown.edu
cad0e2f4e4 Bug 318597 - Implement various text, tspan and textPath DOM functions.
Patch by longsonr@gmail.com, r=tor, sr=jst


git-svn-id: svn://10.0.0.236/trunk@190394 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-17 21:24:30 +00:00
peterv%propagandism.org
32838fc08a Fix for bug 315901 (Move RangeList and EventListenerManager hashes to nsContentUtils). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@189306 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 14:34:10 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
mrbkap%gmail.com
61c90940c0 When we don't find a </script> tag, we should put the entire rest of the document into the script element, but not execute the script. This also makes serialization not serialize the end tags for scripts that don't have them (to preserve round tripping). bug 305873, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188619 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 22:19:46 +00:00
scootermorris%comcast.net
1a9d535201 Fix bustage on camino caused by fix for bug 303018
r=tor


git-svn-id: svn://10.0.0.236/trunk@188602 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 21:04:42 +00:00
scootermorris%comcast.net
1364eae39d SVG Conditionals should work outside of <switch>. Bug 303018.
r=bugmail/sr=tor


git-svn-id: svn://10.0.0.236/trunk@188587 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 18:53:33 +00:00
jwatt%jwatt.org
b4ecbd73d2 Fixing bug 323589. Trying to access .style of <svg:marker> throws "Component does not have requested interface" (NS_NOINTERFACE). Patched by Robert Longson longsonr@gmail.com, r=jwatt@jwatt.org sr=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@188054 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-23 18:05:48 +00:00
tor%cs.brown.edu
fe2017034e Bug 316764 - implement <mask> and fix <clipPath> for multiple
overlapping children.  r=scootermorris


git-svn-id: svn://10.0.0.236/trunk@187897 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 17:00:43 +00:00
jwatt%jwatt.org
b5bf49f861 Fixing bug 323753. Initialise meetOrSlice variable properly. Patched by Robert Longson longsonr@gmail.com, r=jwatt@jwatt.org, sr=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@187896 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 16:38:58 +00:00
jwatt%jwatt.org
2cf6713ed1 Fixing bug 317709. onclick does not work with textPath SVG elements. Patched by Robert Longson longsonr@gmail.com, r=tor@acm.org, sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@187895 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 16:31:46 +00:00
cvshook%sicking.cc
ceaf7bdebc Bug 323910: Merge atom lists in gklayout
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@187798 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 00:58:12 +00:00
tor%cs.brown.edu
ea13199259 Bug 320623 - add viewport presentation attributes to appropriate SVG elements.
Patch by longsonr@gmail.com, r=tor, sr=jst


git-svn-id: svn://10.0.0.236/trunk@187492 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-12 17:39:46 +00:00
cbiesinger%web.de
aa80ec3c74 bug 314453 Rename ImageURIChanged and ObjectURIChanged to LoadImage and
LoadObject, respectively, in order to make it clear what they do rather than
prescribing when they should be called. r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186776 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-01 11:25:43 +00:00
cvshook%sicking.cc
36a1fa551d Bug 232639: Make nsXULElement::GetAttrNameAt actually work.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@186756 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-30 20:12:35 +00:00
cvshook%sicking.cc
cf43ff4e7d Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@186678 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 21:52:39 +00:00
cls%seawood.org
4623f8191b Use uniform module name
git-svn-id: svn://10.0.0.236/trunk@186004 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 19:22:48 +00:00
bzbarsky%mit.edu
ca7e6121f6 Make sure to update the sheet even if the URI has not changed if something else
that matters (type, media, etc) has changed.  Bug 303313, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@185844 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-09 19:20:42 +00:00
tor%cs.brown.edu
721509b62d Bug 314627 - implement SVGTSpanElement.getExtentOfChar.
Patch by longsonr@gmail.com, r=tor, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@185623 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 23:57:47 +00:00
bzbarsky%mit.edu
916a43a789 Make ParseAttribute handle namespaced attributes too, since SVG needs to
ParseAttribute things like xlink:href.  Bug 314568, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@185374 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 16:37:15 +00:00