Commit Graph

728 Commits

Author SHA1 Message Date
mrbkap%gmail.com
c559deaf12 Checking in the required patches for bug 321299 (again). This is the combined work of sicking, jst, and myself, a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@205017 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 01:00:57 +00:00
mrbkap%gmail.com
d86e2e964f Backing this patch out to fix smoketest blockers.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@203390 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 20:19:25 +00:00
mrbkap%gmail.com
783282fd69 Checking in the required patches for bug 321299. This is the combined work of sicking, jst, and myself, a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@203266 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 17:14:11 +00:00
bzbarsky%mit.edu
b005520f9e Don't trim whitespace off hidden input values. Bug 114997, patch by Steuard
Jensen <steuard+moz@slimy.com>, r=sicking, sr=bzbarsky, branch181=bzbarsky


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@196541 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:28:21 +00:00
mrbkap%gmail.com
d3cf53f48f Set mStackPos early to avoid bad re-entrancy problems when inserting the new content into its parent does something interesting. bug 332971, r=jst sr=sicking a181=bzbarsky
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193896 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 00:58:31 +00:00
bzbarsky%mit.edu
8d5cef2bb7 Make sure to only treat the outermost frameset as body-like. Bug 312942,
r+sr=jst, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182680 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 02:20:31 +00:00
bzbarsky%mit.edu
6e106035e6 Make sure to notify for frameset like we do for body. Bug 312097, r=sicking,
sr=jst, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182360 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 02:53:51 +00:00
bzbarsky%mit.edu
c1c0f23087 Make sure that a reflow flush on the document makes the sink start layout if
needed. Bug 253951, r=mrbkap, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179274 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 02:25:00 +00:00
bzbarsky%mit.edu
67308f41f3 Make sure to set base tag info on the leaf forms we create when HTML is
misnested. Bug 73818, r=mrbkap, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177975 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-17 18:22:50 +00:00
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