mrbkap%gmail.com
b1716822f3
Land the patch for bug 331482 on the 1.8 branch. a=schrep
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@202063 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 19:38:46 +00:00
sayrer%gmail.com
8f2da8e24a
Bug 339599. nsISAXXMLReader expects a nsIChannel passed to onStartRequest, but interface takes an nsIRequest. r=mrbkap, sr=peterv, a=darin for drivers.
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@202038 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 17:28:08 +00:00
mrbkap%gmail.com
269f859d6e
Landing a patch for both bug 341359 and bug 312704: avoid crashiness with scripts disabled by not allowing noscript in the head. a=darin
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@201691 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 19:33:10 +00:00
dveditz%cruzio.com
4f8722b7ce
Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
...
simplify OOM checks when growing an nsAString. r/sr=darin, a=mconnor (1.8), a=jay (1.8.0)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@200612 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 19:13:02 +00:00
peterv%propagandism.org
0e46c8278f
Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification). r=sicking, sr=bz, a=sicking.
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@196671 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 13:54:52 +00:00
peterv%propagandism.org
5486acc9e7
Fix for bug 315826 (Scriptable XPCOM wrapper for SAX content handler). Patch by Robert Sayre <sayrer@gmail.com>, r/a=peterv, sr=sicking.
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195958 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 13:17:45 +00:00
peterv%propagandism.org
936f911e0a
Fix for bug 326477 (Add more to nsIExpatSink/nsExpatDriver in order to support SAX). Patch by Robert Sayre <sayrer@gmail.com>, r=sicking, sr/a=peterv.
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195956 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 11:58:21 +00:00
mrbkap%gmail.com
b2ba25b7c5
Don't create extra parser contexts once the parser has been terminated. Also make sure to clean up any extra parser contexts if they do get created. bug 323441, r=sicking sr=jst a181=jst
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194170 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 20:23:06 +00:00
mrbkap%gmail.com
252825dd13
bug 320883: Handle split newlines at the end of chunks without duplicating newlines. r=bzbarsky rs=brendan a-1.8=jst
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@192941 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 20:29:00 +00:00
mrbkap%gmail.com
0b0438891d
Protect against our table container being closed before we're ready by using the same logic to find the close tag that HandleEndToken does. bug 329364, r+sr+branch-1.8.1=jst a=timr
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191852 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-06 22:48:52 +00:00
peterv%propagandism.org
9f124202f6
Fix for bug 320375. r=mrbkap, sr=jst, a=dveditz.
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@187122 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-07 11:06:55 +00:00
mrbkap%gmail.com
64596ca3f4
bug 309040: Exclude kHeadMisc in <option> since we need to exclude userdefined tags (and the autoclose code can't cope otherwise). r+sr=jst a=drivers
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180605 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 22:56:20 +00:00
mrbkap%gmail.com
788b2b3d90
bug 307122: userdefined elements should default to being in the body if no <head> is explictly declared. r=jst sr=bzbarsky a=asa
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180117 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 17:15:19 +00:00
bzbarsky%mit.edu
91001f3ee8
Make sure random parts of external DTDs don't sneak into the DOM. Bug 306353,
...
r+sr=peterv, a=mtschrep@gmail.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179563 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 19:18:48 +00:00
bzbarsky%mit.edu
5bcdb46c2c
Sync up the MIME type list in parser with what nsContentDLF has, and improve
...
the error handling for cases when a mismatch does happen. Bug 306502, r=mrbkap, sr+a=brendan
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179399 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 17:36:41 +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
mrbkap%gmail.com
14a17bf111
bug 305448: Fix leak leaving document when a script, written out by a document.write is still pending. r=bzbarsky sr=jst a=asa
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178884 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 00:15:35 +00:00
peterv%propagandism.org
ca1924b673
Fix for bug 275564 (Mozilla SVG build 2004122009, 2004121909: wrong 'mismatched tag' message). Patch by bz, r=peterv, sr=jst, a=bsmedberg.
...
git-svn-id: svn://10.0.0.236/trunk@176608 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 13:09:19 +00:00
mrbkap%gmail.com
0a9cec8bcb
bug 301416: Don't allow residual styles to open inside <textarea>. r+sr=jst a=asa
...
git-svn-id: svn://10.0.0.236/trunk@176380 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 02:51:32 +00:00
mrbkap%gmail.com
c949c36b2d
bug 299268: Clean up an early return so that alternate tags would be able to automatically open a body if they wanted to. Don't automatically open a body for <iframe> to avoid regressing bug 288991. r+sr=jst a=asa
...
git-svn-id: svn://10.0.0.236/trunk@175770 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 18:30:32 +00:00
mrbkap%gmail.com
052698242f
bug 299036: Fix crash in CNavDTD by moving newline stripping into the tokenizer. This reduces our reliance on the invariants that the tokenizer tries to provide. r+sr=jst a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@175279 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 02:46:45 +00:00
mrbkap%gmail.com
dd9835e28e
bug 289537: A couple of followup fixes opening <body> for tags automatically. Also stick non-exclusive head children in the head if we haven't seen either <head> or <body> yet. Also make <bgsound> act like it should. r+sr=jst a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@175252 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-28 21:09:48 +00:00
mrbkap%gmail.com
1fb28bddae
bug 289537: Automatically open <body> for more tags by using the kRequiresBody special property. r=jst sr=rbs a=asa
...
git-svn-id: svn://10.0.0.236/trunk@175146 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-25 21:09:28 +00:00
peterv%propagandism.org
4f974157e9
Fix for bug 298391 (Remove some unused stuff from parser code). r=mrbkap, sr=jst, a=chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@175091 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 13:21:59 +00:00
bsmedberg%covad.net
30e781e751
Bug 279814 - report XML parsing errors to the JS console, r=mrbkap sr=shaver a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@175033 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 01:54:42 +00:00
mrbkap%gmail.com
99edda1686
bug 298264: Change (to if-returns) and remove unnecessary NS_ENSURE_SUCCESS()s to reduce debug clutter. r=jst sr+a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@174926 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 04:29:02 +00:00
mrbkap%gmail.com
f2a332e8d4
bug 296677: Fix nsParser::ParseFragment to not screw up setting <textarea>'s innerHTML. r=jst sr=peterv a=asa
...
git-svn-id: svn://10.0.0.236/trunk@174716 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 18:59:59 +00:00
mrbkap%gmail.com
ad0c3c42b0
bug 296284: <blockquote type=cite> can cause the plaintext serializer to delete extra newlines before inlines after blocks. r=peterv sr=jst a=asa
...
git-svn-id: svn://10.0.0.236/trunk@174711 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 18:20:59 +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
mrbkap%gmail.com
427f731b67
bug 142965: Handling misplaced content with a stray end tag around causes the tag that caused us to handle the misplaced content to lose its attributes. r=jst sr+a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@174633 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 18:20:29 +00:00
mrbkap%gmail.com
74b5c71041
bug 296212: If the very last character in a document is an &, it gets lost (in both view-source and regular content). r=jst sr=bzbarsky a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@174096 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 23:36:43 +00:00
mrbkap%gmail.com
3561d0632c
bug 296121: The parser leaks when somebody calls document.open() and doesn't write any data. r+sr=bzbarsky a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173997 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:37:04 +00:00
mrbkap%gmail.com
73565feba2
bug 295646: Whitespace at the end of a document is thrown away by the tokenizer. r+sr=bzbarsky a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173996 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:34:29 +00:00
mrbkap%gmail.com
866b6f0775
bug 295519: Set the scanner's mIncremental member so that the tokenizer doesn't throw away content. r+sr=jst a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173995 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:32:23 +00:00
mrbkap%gmail.com
e95dc9b671
bug 287990: Bring back <plaintext> support. This supports it "properly" (i.e., no end tag). r=jst sr=dbaron a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173994 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:30:43 +00:00
mrbkap%gmail.com
53d12e81d1
bug 294685: Remove unnecessary DEBUG-only counter/named entity code. r=jst sr=dbaron a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173993 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:23:13 +00:00
mrbkap%gmail.com
6f39bbf718
bug 287990: Bring back <plaintext> support. This supports it "properly" (i.e., no end tag). r=jst sr=dbaron a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173992 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:11:30 +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
mrbkap%gmail.com
cf7901ce09
bug 295596: <li> was closing styles on the transient style stack for no good reason, causing them to be lost. This special-cases <li> to not do that. r=bzbarsky sr=jst a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173984 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 21:14:01 +00:00
mrbkap%gmail.com
030d071cd2
bug 288460: Make ScanDocStructure() more strict about tags that break the ShouldVerifyHeirarchy check and mark all children of the tag as malformed so that its children don't think they're well formed. r=rbs sr=bzbarsky a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173983 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 21:08:53 +00:00
mrbkap%gmail.com
b3293f50e6
bug 144998: Empty lines under quotes are doubled. Patch by Shotaro Kamio <skamio@netscape.net>, Koike Kazuhiko <kazhik@mozilla.gr.jp>, Wolfgang Rosenauer <mozilla@rfosenauer.org>, and me. r=akkana sr=jst a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173967 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 19:31:47 +00:00
cbiesinger%web.de
620f913e6e
295916 r=mrbkap sr=bz a=shaver
...
- make parser handle calling Parse with an empty string and aLastCall=true
correctly
- call that from document.close() even in the non-HTML case
git-svn-id: svn://10.0.0.236/trunk@173960 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 19:13:39 +00:00
mrbkap%gmail.com
c0b86fcbd8
bug 294984: Make sure to create text and end tokens for tags such as <iframe>. This fixes a crash where CNavDTD assumed an end token was coming, but it wasn't. r+sr=bzbarsky a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@173675 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-22 00:57:37 +00:00
mrbkap%gmail.com
720c6e3fc5
bug 38174: Open transient styles before <li> tags so that bullets and list numbers inherit the proper styles when there is a <font> on the RS stack. r=bzbarsky sr=brendan a=asa
...
git-svn-id: svn://10.0.0.236/trunk@173582 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-19 16:36:39 +00:00
mrbkap%gmail.com
46f4abf94f
bug 294402: Change some unnecessary assertions into warnings. r=brendan sr=bzbarsky a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@173510 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-17 16:27:21 +00:00
bzbarsky%mit.edu
c310faeb5a
Use expat's doctype parsing now that it does it. Bug 288133, r+sr=peterv, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@173383 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-13 19:45:43 +00:00
vladimir%pobox.com
99efffd5fc
b=291216, canvas should not be an empty element, default width/height, fallback content should not be rendered, r+sr=bzbarsky, a=brendan/shaver
...
git-svn-id: svn://10.0.0.236/trunk@173165 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-07 03:45:06 +00:00
mrbkap%gmail.com
143d0a488f
bug 292733: Enforce that the the terminator for <![CDATA[ is ]]>, not ]>. This only affects view-source. r=bzbarsky sr+a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@173021 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 23:33:42 +00:00
dougt%meer.net
3d7bcc8055
Windows CE build changes. This addresses most of the outstanding Windows
...
CE compilation issues.
This patch also fixes/removes CheckStackGrowthDirection assertions in
Javscript. This change is based on bug 242518. See comment 36.
This patch also removes the unused enum in transformiix . See bug
292118.
r/sr = dveditz/shaver
b = 291229
a = asa
git-svn-id: svn://10.0.0.236/trunk@172870 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 13:33:49 +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