bzbarsky%mit.edu
da850874f2
Make sure to addref documents before calling Init(). Bug 291887, r+sr=jst,
...
a=brendan
git-svn-id: svn://10.0.0.236/trunk@172815 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 17:16:19 +00:00
bzbarsky%mit.edu
a16228acf0
Fix crashes when document.load is called on an already-parsing XML document.
...
Bug 289292, r=sicking, sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172812 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 16:57:24 +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
bzbarsky%mit.edu
577af8f892
Move the BindToTree call for the document element into SetRootContent. Bug
...
289209, r=sicking, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@172254 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 01:30:14 +00:00
bzbarsky%mit.edu
7d36f1baf6
Disable loading of images in data documents on the document level, not on the
...
node level. Bug 251354, r=sicking, sr=peterv, a=asa
git-svn-id: svn://10.0.0.236/trunk@171953 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 00:29:36 +00:00
bzbarsky%mit.edu
99829f1159
Fix crash regression bug 289180. r=mrbkap, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@171792 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 06:28:28 +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
bzbarsky%mit.edu
5bfeab56fa
Fix content teardown in ReportError to also get rid of our buffered-up text
...
content. Bug 288674, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@171628 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 03:40:36 +00:00
dbaron%dbaron.org
be07cbe034
Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171350 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 00:36:57 +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
cbiesinger%web.de
af30395567
181938 allow any protocol to support redirection, using a new
...
nsIChannelEventSink interface.
r=darin sr=bz
git-svn-id: svn://10.0.0.236/trunk@170312 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 19:46:06 +00:00
bryner%brianryner.com
066919535f
Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@169489 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 10:31:27 +00:00
doronr%us.ibm.com
e54571aca7
Checked in from wrong tree, backing out, sorry.
...
git-svn-id: svn://10.0.0.236/trunk@169428 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 21:28:20 +00:00
doronr%us.ibm.com
3831773869
Bug 279057 - Implement hasFeature for XForms. Patch by smaug, r=bryner/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@169427 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 21:20:27 +00:00
mrbkap%gmail.com
c49d96100e
bug 263053: Get rid of the <endnote> tag when parsing fragments with context, since this can fail if the input stream contains another <endnote> tag. Instead, parse the context in different "chunks" from the new buffer, and notify the fragment sink by way of functions. r=peterv sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@169415 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 19:18:39 +00:00
tor%cs.brown.edu
810c94b98d
Bug 252631 - allow multiple onloads in svg content. r=sicking, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@168351 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-26 14:28:21 +00:00
bryner%brianryner.com
2474296ae5
Remove nsIHTMLContent interface (bug 276959). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@167619 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 19:45:38 +00:00
bzbarsky%mit.edu
1cfee47012
Keep track of whether a title has been set in the document, not in the sink.
...
This way we can notice all ways of setting it. Bug 271996, r=sicking, sr=neil
git-svn-id: svn://10.0.0.236/trunk@167571 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 02:47:53 +00:00
peterv%propagandism.org
d3728ccc44
Correct function signature to fix Solaris bustage.
...
git-svn-id: svn://10.0.0.236/trunk@166916 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-21 13:25:31 +00:00
peterv%propagandism.org
ea028c9206
Fix fo bug 274964 (Switch to Expat's xml declaration parsing). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@166810 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 09:17:35 +00:00
peterv%propagandism.org
04f06673f3
Fix for bug 192139 (Integrate latest Expat). r=bz, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@166747 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 15:37:23 +00:00
bsmedberg%covad.net
3edf9d37c8
Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin
...
git-svn-id: svn://10.0.0.236/trunk@166737 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 04:07:01 +00:00
dbaron%dbaron.org
de6591306e
Bug 272151: reorganize files within layout, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@166440 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 19:41:48 +00:00
darin%meer.net
320a548205
fixes bug 272814 "beginAddingChildren notification should be called before attributeSet." patch by smaug@welho.com r=darin sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@166355 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-06 23:09:32 +00:00
bzbarsky%mit.edu
dd0ed1575b
Make setting innerHTML in XHTML not crash on malformed content and throw an
...
exception instead. Bug 272011, patch by steve.swanson@mackichan.com ,
r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@166244 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-04 17:51:12 +00:00
bzbarsky%mit.edu
3c615b2340
Fix XBL error-handling to not close tags that shouldn't be closed yet (and thus
...
crash when a PR_Assert in the XML content sink is hit). Bug 265184, r=bryner,
sr=jst
git-svn-id: svn://10.0.0.236/trunk@166125 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 02:15:37 +00:00
bzbarsky%mit.edu
084a5e5980
Make sure to call DoneCreatingElement/DoneAddingChildren on the relevant HTML
...
nodes in XML so that form state restoration works. Bug 206695, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@166103 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 22:41:20 +00:00
bzbarsky%mit.edu
33d6cabf2c
deCOMify nsIStyledContent::GetID (make it return we a weak pointer to the ID
...
atom). Bug 244249, patch by jpl24 <jlurz24@gmail.com>, r=sicking, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165641 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 17:21:37 +00:00
bryner%brianryner.com
7a9eae88bc
Add a beginAddingChildren notification to XTF (bug 268691). r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@165182 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-09 23:59:24 +00:00
jst%mozilla.jstenback.com
bbbde81598
Fixing bug 265334. Adding API for embedders etc to listen to data fed to the parser from the network. r=darin@meer.net, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@164795 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-02 19:52:32 +00:00
bzbarsky%mit.edu
0d9db05b83
Make XSLT stylesheet loads check content policy. Bug 203211, r=sicking,
...
sr=peterv
git-svn-id: svn://10.0.0.236/trunk@164280 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 17:25:58 +00:00
alex%croczilla.com
049fc5de75
Landing of the XTF branch, bug#253225. XTF is the eXtensible Tag
...
Framework; see mozilla/content/xtf/readme.txt. r=bryner, sr=jst. Code
is not enabled by default (requires --enable-xtf configure option).
git-svn-id: svn://10.0.0.236/trunk@163386 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 20:59:53 +00:00
bzbarsky%mit.edu
c6733ef5e7
Make createContextualFragment work for XML. Bug 133827, patch by
...
steve.swanson@mackichan.com , r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@163041 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:27:45 +00:00
bzbarsky%mit.edu
b57bc1d0e7
Make the XUL content sink store the right namespace for "xmlns" attributes.
...
Bug 256165, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@162469 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 18:38:07 +00:00
dbaron%dbaron.org
a4ca9058c6
Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@162059 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 06:45:59 +00:00
dbaron%dbaron.org
d116431504
Pass line number information for style elements through to the CSS parser so we can give correct line numbers in error reports. b=240420 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@161992 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-09 17:32:35 +00:00
dbaron%dbaron.org
371342cda8
Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161766 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:51:21 +00:00
dbaron%dbaron.org
e53ac83c0a
Back out previous round of bug 72747 changes due to Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@161749 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 08:34:55 +00:00
dbaron%dbaron.org
b8499fbfc0
Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161744 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 06:53:36 +00:00
dbaron%dbaron.org
dcf4bae71a
Back out the rest of bug 72747 due to Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
ed6372cf2f
Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
peterv%propagandism.org
0e7c4437e6
Backout part of the fix for bug 27382 to try to undo Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@160611 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 16:16:58 +00:00
peterv%propagandism.org
ca3bbc8275
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@160598 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 10:22:36 +00:00
bryner%brianryner.com
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
59572fab24
Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159965 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 07:08:41 +00:00
cbiesinger%web.de
2970f134c3
Bug 248694 make nsIParser::GetCommand use an nsCString instead of nsString
...
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@159409 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-17 21:45:37 +00:00
jst%mozilla.jstenback.com
c70cf3ddf4
Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@159342 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 17:03:10 +00:00
tor%cs.brown.edu
bcbc310507
Bug 235826 - <svg:script> implementation.
...
Patch by alex@croczilla.com , r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@158808 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-06 22:52:03 +00:00
cbiesinger%web.de
cfaea7482d
replace EqualsWithConversion by EqualsLiteral where possible
...
bug 248687 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@158517 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-26 14:32:11 +00:00