243 Commits

Author SHA1 Message Date
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
jwatt%jwatt.org
853747f3eb Fixing bug 310996. We shouldn't assert in nsSVGEnum::SetValueString. r=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@185256 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-24 13:08:33 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bzbarsky%mit.edu
d14d1f2475 Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:41:51 +00:00
cvshook%sicking.cc
b26f9f52fb Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
1da47293fa Combine various SetAttr implementations so that we just have
nsGenericElement::SetAttr.  Bug 308270, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183168 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 02:59:38 +00:00
peterv%propagandism.org
7645808305 Fix for bug 264308 (Implement DOM Level 3 UserData API). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@183126 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 14:09:23 +00:00
tor%cs.brown.edu
939741eeaa Bug 311031 - implement SVGTSpanElement.getComputedTextLength.
Patch by longsonr@gmail.com, r=tor, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@182472 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 18:30:11 +00:00
jwatt%jwatt.org
90f0da1a09 Fixing bug 312232. getScreenCTM fails in xulrunner builds due to uninitialized nsresult. Patched by Rob Adams <readams@readams.net>, r=me, sr=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@182256 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 17:22:53 +00:00
bryner%brianryner.com
391fc878cf Speed up matching class rules by caching the class attribute, rather than looking it up for each rule. Remove HasClass now that it's no longer needed. Bug 310236, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@181826 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-08 23:06:27 +00:00
jwatt%jwatt.org
2fa9ce719b Fixing bug 272630. On 'svg' elements getScreenCTM behaves differently to other implementations. r+sr=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@181455 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-02 23:59:20 +00:00
jwatt%jwatt.org
643783cef7 Fixing bug 308734. Limit the values we accept for currentScale. r+sr=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@181294 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 18:51:43 +00:00
peterv%propagandism.org
86ac4d2e8f Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@180911 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 18:43:15 +00:00
tor%cs.brown.edu
835e02c134 Build bustage fix from 307322.
git-svn-id: svn://10.0.0.236/trunk@180653 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-20 17:07:14 +00:00
tor%cs.brown.edu
9f871e8321 Bug 307322 - stop <svg:use> loop recursion. r=bz
git-svn-id: svn://10.0.0.236/trunk@180648 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-20 15:40:57 +00:00
jwatt%jwatt.org
5a1d86cd3c Correcting checking of fix for bug 258410. Fix dynamic matrix transforms. Patched by alex@croczilla.com, r=me
git-svn-id: svn://10.0.0.236/trunk@180514 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 19:49:12 +00:00
bzbarsky%mit.edu
70901db99b Attempt to fix Tp regression from bug 11011. Pending r=biesi, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@180513 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 19:46:20 +00:00
bzbarsky%mit.edu
26af641d58 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@180509 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 18:05:40 +00:00
jwatt%jwatt.org
8d0d1e2062 Fixing bug 258410. Fix dynamic matrix transforms. Patched by alex@croczilla.com, r=me
git-svn-id: svn://10.0.0.236/trunk@180445 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 22:49:06 +00:00
scootermorris%comcast.net
cbaaa3d672 Fix for Bug 302640 -- hasFeature for SVG DOM implementation yields true with native SVG disabled
r=jwatt


git-svn-id: svn://10.0.0.236/trunk@180254 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 23:30:37 +00:00
scootermorris%comcast.net
f57436def2 Bug 294517 -- implement SVG Patterns
r=tor


git-svn-id: svn://10.0.0.236/trunk@180151 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 22:38:36 +00:00
gerv%gerv.net
2983577643 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@180128 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 18:40:56 +00:00
tor%cs.brown.edu
af816cb1c2 Bug 308180 - feComponentTransfer type discrete not stepping properly.
r=scooter


git-svn-id: svn://10.0.0.236/trunk@180060 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 23:08:09 +00:00
tor%cs.brown.edu
1f92111d10 Bug 307565 - crash when filtering nothing, or <feMerge> with no children.
r=scootermorris


git-svn-id: svn://10.0.0.236/trunk@180030 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 16:16:37 +00:00
peterv%propagandism.org
c1c35accda Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@179989 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 17:15:08 +00:00
peterv%propagandism.org
5a1d292898 Back out fix for bug 251025 to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@179988 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 15:42:31 +00:00
peterv%propagandism.org
03ea6f5dac Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@179987 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 15:05:31 +00:00
tor%cs.brown.edu
4a3e054bee Bug 301234 - implement subset of SVG filters. r=scooter
git-svn-id: svn://10.0.0.236/trunk@179732 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 22:30:40 +00:00
jwatt%jwatt.org
5208a26c18 Fixing bug 293224. Matrix from getScreenCTM should be to initial viewport space. r+sr=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@179674 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 00:08:10 +00:00
tor%cs.brown.edu
04a88848e4 Bug 294519 - should behave the same when SVG not built, SVG pref
disabled, or no SVG renderer present.  r=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@179669 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-05 20:41:57 +00:00
vladimir%pobox.com
3b0b47cc1a b=306088, followup check for partial parse of a number, a=brendan
git-svn-id: svn://10.0.0.236/trunk@179591 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 23:32:36 +00:00
vladimir%pobox.com
5b5004a42f b=306088, simplify nssvgtransformlist::setvaluestring, r=tor
git-svn-id: svn://10.0.0.236/trunk@179570 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 20:24:24 +00:00
tor%cs.brown.edu
bb85419dbd Bug 282579 - Implement <svg:textPath>. As a side effect, this removes
the gdi+ text highlighting code.  r=afri


git-svn-id: svn://10.0.0.236/trunk@179022 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 02:49:52 +00:00
jwatt%jwatt.org
367f62b614 Build bustage fix from 302103 - new files had DOS line endings
git-svn-id: svn://10.0.0.236/trunk@179013 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 23:19:33 +00:00
tor%cs.brown.edu
0a8a03a216 Build bustage fix from 302103.
git-svn-id: svn://10.0.0.236/trunk@179001 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 21:57:31 +00:00
jwatt%jwatt.org
7240d0e8a8 Fixing bug 302103. Implement SVG events. r=tor@acm.org, sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@178992 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 21:31:09 +00:00
bzbarsky%mit.edu
d1afb179ba Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
bob%bclary.com
97a48a36ba make SVG NS_NOTYETIMPLEMENTED messages more meaningful Bug 303501 r=jonathan.watt sr=tor a=asa
git-svn-id: svn://10.0.0.236/trunk@177426 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-09 13:53:02 +00:00
roc+%cs.cmu.edu
8408286c5f Bug 288438. Turn off SVG <foreignobject> because it's pretty broken. r=benjamin,sr=dbaron,a=benjamin,patch by jwatt,tor and roc
git-svn-id: svn://10.0.0.236/trunk@175282 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 03:51:44 +00:00
tor%cs.brown.edu
2323e94258 Bug 296266 - Update SVG feature strings.
Patch by scootermorris@comcast.net, r=tor, a=asa.


git-svn-id: svn://10.0.0.236/trunk@174585 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-14 20:32:35 +00:00
jst%mozilla.jstenback.com
1acb0a110a Fixing bug 292464. Use the documents principals to check if a document is a chrome document or not. r=smaug@welho.com, sr=peterv@propagandism.org, a=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@174095 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 23:36:08 +00:00
tor%cs.brown.edu
a385e5ec01 Bug 288265 - saving svg page messing up viewBox attributes.
r=jwatt, src=bzbarsky, a=dveditz


git-svn-id: svn://10.0.0.236/trunk@173531 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-17 22:52:33 +00:00
jst%mozilla.jstenback.com
ebed1ee784 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
bzbarsky%mit.edu
62937cbc08 Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172416 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 01:27:11 +00:00
bzbarsky%mit.edu
e2e0f7bfab Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172410 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 22:58:35 +00:00
dbaron%dbaron.org
ec21749ca4 Fix bustage. b=288626
git-svn-id: svn://10.0.0.236/trunk@171785 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 05:20:41 +00:00
bzbarsky%mit.edu
532112b17b Only do a new image load if we're forced to or if the URI really changed. Bug
285428, r=biesi, sr=jst (note: sr was given in bug 286000 as part of the patch
there).


git-svn-id: svn://10.0.0.236/trunk@171771 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 02:55:02 +00:00
bzbarsky%mit.edu
2ed6c9fac8 Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171749 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:54:35 +00:00
jwatt%jwatt.org
9a50b7b10d Fixing bug 288267. getAttribute("transform") giving back "" for transform="matrix(...)". r=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@171456 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 16:07:37 +00:00
tor%cs.brown.edu
eafae91035 Bug 287389: SVG should not munge ua.css at build time. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171206 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-25 14:50:05 +00:00