Граф коммитов

2115 Коммитов

Автор SHA1 Сообщение Дата
mrbkap%gmail.com 2f571c425c bug 309040: Exclude kHeadMisc in <option> since we need to exclude userdefined tags (and the autoclose code can't cope otherwise). r+sr=jst 2005-09-19 19:02:59 +00:00
mrbkap%gmail.com df94e8a628 bug 308781: Don't ignore requests from the content sink to block the parser when we're handling head content in the body. r+sr=jst 2005-09-16 22:14:40 +00:00
mrbkap%gmail.com 0eaefa48bf bug 308592: MAP before BODY causes the body contents to not render. Remove MAP as a valid child of HTML, and fix a bogus check against HEAD being pushed onto mBodyContext. r+sr=jst 2005-09-16 00:01:30 +00:00
mrbkap%gmail.com 774dbec890 bug 307821: The contents of framesets get moved into the body. r+sr=jst 2005-09-10 17:30:39 +00:00
mrbkap%gmail.com d5a752d6a5 bug 307797: Fix line counting regressions resulting from the checkin for bug 272702, as well as an old bug where document.write('\n') would cause line numbers in the rest of the HTML to be offset. Also fix a regression where userdefined tags are forced to be in the head (as opposed to appearing in either the head or the body). r+sr=jst 2005-09-10 00:12:21 +00:00
mrbkap%gmail.com c1aaf6b59e bug 307593: Remove the unused and very broken CWordTokenizer class. Patch by Hans-Andreas Engel <Hans-A.Engel@unibas.ch>. r=mrbkap sr=jst 2005-09-09 21:59:51 +00:00
mrbkap%gmail.com 8334d4dd3e bug 272702: Remove skipped content. This simplifies the code handling <script>, <style> and related tags and makes the nsIHTMLContentSink interface just that much easier to implement. This also allows <object> tags to appear in the head with children. r=sicking sr=jst 2005-09-09 19:15:06 +00:00
mrbkap%gmail.com acb3dedf76 bug 272702: Remove skipped content. This simplifies the code handling <script>, <style> and related tags and makes the nsIHTMLContentSink interface just that much easier to implement. This also allows <object> tags to appear in the head with children. r=sicking sr=jst 2005-09-09 18:11:51 +00:00
mrbkap%gmail.com 4b7a57c401 bug 272702: Remove skipped content. This simplifies the code handling <script>, <style> and related tags and makes the nsIHTMLContentSink interface just that much easier to implement. This also allows <object> tags to appear in the head with children. r=sicking sr=jst 2005-09-09 18:03:47 +00:00
peterv%propagandism.org 121d4e0a2b Fix for bug 307363 (Don't add '---^' to XML errors in the JS console). r=bsmedberg, sr=jst. 2005-09-08 16:43:30 +00:00
mrbkap%gmail.com 4f01af7abe bug 307122: Restore compatibility for where we open userdefined elements when neither a head nor a body has been explicitly opened. r=jst sr=bzbarsky 2005-09-07 03:35:58 +00:00
peterv%propagandism.org 86643580f9 Fix for bug 153998 (COtherDTD should go; composer should handle containment checking itself). r=mrbkap, sr=jst. 2005-09-05 15:41:41 +00:00
peterv%propagandism.org 7af0dc7930 Fix for bug 153998 (COtherDTD should go; composer should handle containment checking itself). r=mrbkap, sr=jst. 2005-09-05 14:18:56 +00:00
bzbarsky%mit.edu 9bff74a381 Make sure random parts of external DTDs don't sneak into the DOM. Bug 306353,
r+sr=peterv
2005-09-01 18:59:46 +00:00
bzbarsky%mit.edu 49f8f0912e 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=brendan
2005-08-31 17:33:54 +00:00
bzbarsky%mit.edu f6a5a756fb Make sure that a reflow flush on the document makes the sink start layout if
needed.  Bug 253951, r=mrbkap, sr=jst
2005-08-24 20:56:58 +00:00
mrbkap%gmail.com fbd0d59b86 bug 305448: Fix leak when page load is terminated while we have multiple parser contexts around (e.g., for a script load started from a document.write). r=bzbarsky sr=jst 2005-08-22 21:51:00 +00:00
peterv%propagandism.org fc14a84a45 Fix for bug 275564 (Mozilla SVG build 2004122009, 2004121909: wrong 'mismatched tag' message). Patch by bz, r=peterv, sr=jst, a=bsmedberg. 2005-07-26 13:09:19 +00:00
peterv%propagandism.org 8206726a13 Fix for bug 291827 (Expat's byte position is bogus if a chunk boundary falls before we block). r/sr=bz, a=bsmedberg. 2005-07-26 13:08:30 +00:00
joshmoz%gmail.com 6bf82a547b don't use regparm on i386 Mac OS X. Patch by Apple Computer, Inc. r=josh r=smfr sr=bsmedberg a=bsmedberg 2005-07-21 19:02:52 +00:00
mrbkap%gmail.com 1d4aaf9ec3 bug 301416: Don't allow residual styles to open inside <textarea>. r+sr=jst a=asa 2005-07-21 02:51:32 +00:00
mrbkap%gmail.com f69dd1f795 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 2005-07-07 18:30:32 +00:00
mrbkap%gmail.com 42d24e008e 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 2005-06-29 02:46:45 +00:00
mrbkap%gmail.com d4592f4be9 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 2005-06-28 21:09:48 +00:00
mrbkap%gmail.com ce057b7855 bug 289537: Automatically open <body> for more tags by using the kRequiresBody special property. r=jst sr=rbs a=asa 2005-06-25 21:09:28 +00:00
peterv%propagandism.org 39ef9c35d5 Fix for bug 298391 (Remove some unused stuff from parser code). r=mrbkap, sr=jst, a=chofmann. 2005-06-24 13:21:59 +00:00
bsmedberg%covad.net a7a996bfe8 Bug 279814 - report XML parsing errors to the JS console, r=mrbkap sr=shaver a=chofmann 2005-06-23 01:54:42 +00:00
mrbkap%gmail.com a6ed51abdc bug 298264: Change (to if-returns) and remove unnecessary NS_ENSURE_SUCCESS()s to reduce debug clutter. r=jst sr+a=brendan 2005-06-21 04:29:02 +00:00
mrbkap%gmail.com 7f0479a0b2 bug 296677: Fix nsParser::ParseFragment to not screw up setting <textarea>'s innerHTML. r=jst sr=peterv a=asa 2005-06-16 18:59:59 +00:00
mrbkap%gmail.com b7e3b4b60c bug 296284: <blockquote type=cite> can cause the plaintext serializer to delete extra newlines before inlines after blocks. r=peterv sr=jst a=asa 2005-06-16 18:20:59 +00:00
peterv%propagandism.org c8dcb1a2d2 Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa. 2005-06-16 13:10:58 +00:00
peterv%propagandism.org 5d43f66117 Fix for bug 289169 (DOMParser freezes when parsing elements with fixed attributes.). r/sr=jst, a=asa. 2005-06-16 11:59:28 +00:00
mrbkap%gmail.com f26812e867 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 2005-06-15 18:20:29 +00:00
mrbkap%gmail.com e97191a5ed 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 2005-06-02 23:36:43 +00:00
mrbkap%gmail.com 225e28d5ce bug 296121: The parser leaks when somebody calls document.open() and doesn't write any data. r+sr=bzbarsky a=shaver 2005-06-01 22:37:04 +00:00
mrbkap%gmail.com fdfea2c0ec bug 295646: Whitespace at the end of a document is thrown away by the tokenizer. r+sr=bzbarsky a=shaver 2005-06-01 22:34:29 +00:00
mrbkap%gmail.com 9973465027 bug 295519: Set the scanner's mIncremental member so that the tokenizer doesn't throw away content. r+sr=jst a=shaver 2005-06-01 22:32:23 +00:00
mrbkap%gmail.com 39d38b7d8d bug 287990: Bring back <plaintext> support. This supports it "properly" (i.e., no end tag). r=jst sr=dbaron a=shaver 2005-06-01 22:30:43 +00:00
mrbkap%gmail.com af9d80a163 bug 294685: Remove unnecessary DEBUG-only counter/named entity code. r=jst sr=dbaron a=shaver 2005-06-01 22:23:13 +00:00
mrbkap%gmail.com 5335fba722 bug 287990: Bring back <plaintext> support. This supports it "properly" (i.e., no end tag). r=jst sr=dbaron a=shaver 2005-06-01 22:11:30 +00:00
mrbkap%gmail.com ee8993dd0c 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 2005-06-01 21:23:23 +00:00
mrbkap%gmail.com 738c06151b 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 2005-06-01 21:14:01 +00:00
mrbkap%gmail.com e250823885 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 2005-06-01 21:08:53 +00:00
mrbkap%gmail.com b72d292d10 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 2005-06-01 19:31:47 +00:00
cbiesinger%web.de 9381c2fc64 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
2005-06-01 19:13:39 +00:00
mrbkap%gmail.com 3e62759bbf 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 2005-05-22 00:57:37 +00:00
mrbkap%gmail.com 31edcc314b 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 2005-05-19 16:36:39 +00:00
mrbkap%gmail.com 34f414e247 bug 294402: Change some unnecessary assertions into warnings. r=brendan sr=bzbarsky a=brendan 2005-05-17 16:27:21 +00:00
bzbarsky%mit.edu 216e0dce06 Use expat's doctype parsing now that it does it. Bug 288133, r+sr=peterv, a=asa 2005-05-13 19:45:43 +00:00
vladimir%pobox.com 71dac5720c b=291216, canvas should not be an empty element, default width/height, fallback content should not be rendered, r+sr=bzbarsky, a=brendan/shaver 2005-05-07 03:45:06 +00:00