peterv%propagandism.org
aac2b47f2a
Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00
bzbarsky%mit.edu
578132afda
Fix leak on setting innerHTML in XML, as well as leaks when the parent of a
...
not-yet-parsed script is removed from the document. Bug 294274, r+sr=peterv,
a=chofmann
git-svn-id: svn://10.0.0.236/trunk@174028 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 02:38:20 +00:00
mrbkap%gmail.com
1d5ac8765e
bug 208869: Setting innerHTML with textarea can isnert an extra newline. This patch makes textarea be treated as a normal container outside CNavDTD (which takes over its first-newline removal duties). r=sicking sr=bzbarksy a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173988 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 21:23:23 +00:00
bzbarsky%mit.edu
79f2b8e2c7
Fix crash if the DOM gets rearranged while we're parsing. Bug 294235,
...
r+sr=peterv, a=asa
git-svn-id: svn://10.0.0.236/trunk@173594 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-19 19:56:13 +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
vladimir%pobox.com
dcf80e9788
b=288714, html canvas implementation, r=various,a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@172389 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 06:33:23 +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
6c4f2a810d
Append HTML nodes to the DOM on node creation, not when we hit the close tag.
...
Should help with the Tp regression. Bug 289311, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@171842 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 03:30:50 +00:00
bzbarsky%mit.edu
d600031fa4
Back out the preappend change now that the image changes are in to see what Tp does...
...
git-svn-id: svn://10.0.0.236/trunk@171776 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 03:40:51 +00:00
bzbarsky%mit.edu
3a25bfa362
Attempting to fix Tp regression
...
git-svn-id: svn://10.0.0.236/trunk@171759 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 01:23:07 +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
mrbkap%gmail.com
ce19ca701d
bug 286733: Crash when attempting to handle misplaced content inside misplaced content because mContextTopIndex pointed to a closed index already. r=jst sr=rbs
...
git-svn-id: svn://10.0.0.236/trunk@171601 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 21:20:00 +00:00
mrbkap%gmail.com
2e94664017
bug 280044: Pass a title node to the content sinks so that attributes on title don't get lost. r=sicking sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@171044 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 07:09:24 +00:00
peterv%propagandism.org
d06ab89f85
Fix for bug 285166: createElement crashes [@ NS_NewHTMLElement] [@
...
git-svn-id: svn://10.0.0.236/trunk@170850 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-17 20:41:27 +00:00
mrbkap%gmail.com
f55eac441c
Back out the wallpaper from bug 197015 since a better one has been checked in for bug 220542 (bug 197015, r=jst, sr=bzbarsky)
...
git-svn-id: svn://10.0.0.236/trunk@168689 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 02:24:43 +00:00
neil%parkwaycc.co.uk
8c685211d0
Bustage fix - I missed an NS_ADDREF but peterv spotted my error
...
git-svn-id: svn://10.0.0.236/trunk@167733 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 16:19:17 +00:00
neil%parkwaycc.co.uk
d9bb75d413
Fixing startup test bustage - I'd only landed the infrastructure and forgotton to fix the actual bogus QI calls. Oh, and the bug number is 276959 not 286959.
...
git-svn-id: svn://10.0.0.236/trunk@167732 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 15:32:58 +00:00
neil%parkwaycc.co.uk
5af24f77c5
Supplementary fix to bug 286959 to avoid having to QI to a non-interface class (nsGenericHTMLElement) r=bryner sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@167727 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 13:28:34 +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
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
neil%parkwaycc.co.uk
6eaca763b6
Bug 260070 Improve detection of missing <title>s r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@162509 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-17 20:11:02 +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
f8361bf5d6
Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161727 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 21:58:39 +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
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
peterv%propagandism.org
0a98e68e54
Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu
8c8ded1801
Bug 245627. Minor deCOMtamination of HTML element constructor functions. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@157453 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-06 02:38:32 +00:00
roc+%cs.cmu.edu
b09df31b9e
Bug 217715. Delay instantiating plugin until we've closed its HTML element, so Java applets are guaranteed to see all PARAMs. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@157279 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-02 00:25:00 +00:00
bzbarsky%mit.edu
0e5e054f13
Fixing Windows bustage. Forgot to change declaration here...
...
git-svn-id: svn://10.0.0.236/trunk@157042 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 23:15:48 +00:00
bzbarsky%mit.edu
73690f9d73
Change FlushPendingNotifications to have more granularity and update callers to
...
only flush the things they really need flushed. Bug 144072, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@157037 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 22:08:42 +00:00
timeless%mozdev.org
e8b419861c
Bug 140324 NS_ENSURE_TRUE(NS_SUCCEEDED(),) used needlessy in some places
...
patch by Morten@Nilsen.com r=hwaara sr=alecf
git-svn-id: svn://10.0.0.236/trunk@156908 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-25 06:09:43 +00:00
bryner%brianryner.com
48fe696e32
Bug 244475, avoid some shared buffer overhead and an extra allocation/copy when looking up attribute name atoms. r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@156837 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-24 06:10:52 +00:00
bzbarsky%mit.edu
16d46a5fcf
Don't reset the notification timer on every parse start/stop. This speeds up
...
flurries of little document.write calls a good bit. Bug 242899, r=peterv,
sr=jst
git-svn-id: svn://10.0.0.236/trunk@156333 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 01:39:29 +00:00
jst%mozilla.jstenback.com
74089032ff
Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
bzbarsky%mit.edu
dce306232a
Add a version of CheckLoadURI that takes a source principal instead of a source
...
URI. Update a bunch of callers to use it. Bug 233108, r=caillon, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@155487 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 16:55:27 +00:00
dbaron%dbaron.org
c3fed60645
Call AddBaseTagInfo for LINK, META, SCRIPT, and STYLE elements, and also call SetContentID for META elements. b=241128 r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@155256 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-20 23:41:56 +00:00
gerv%gerv.net
98831918fc
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
darin%meer.net
af98e4f306
landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
peterv%propagandism.org
3e7ac82893
Fix for bug 16603 (DOM doesn't throw INVALID_CHARACTER_ERR for arguments with invalid characters). r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@152589 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 10:58:13 +00:00
jst%mozilla.jstenback.com
854468a176
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
...
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
hpradhan%hotpop.com
a4965da921
remove unused variable, fix warning (follow up to checkin for bug 229575)
...
git-svn-id: svn://10.0.0.236/trunk@152141 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 12:17:19 +00:00