Commit Graph
480 Commits
Author SHA1 Message Date
mrbkap@gmail.com 6d25fd2467 bug 324738: Remove some unnecessary complexity from the parser and hardcode DTDs. r=sicking sr=jst 2006-01-26 19:07:41 +00:00
mrbkap@gmail.com 7a6f58f8cd Fix a stupid typo that was making line numbers come out wrong. no bug, r=sicking sr=jst 2006-01-21 00:37:25 +00:00
mrbkap@gmail.com e96f2349b6 bug 324182: Cleanup some functions in CNavDTD and remove a redundant null check. r=sicking sr=jst 2006-01-21 00:36:11 +00:00
mrbkap@gmail.com 9ea7165bb3 bug 324182: Update the token's attribute count when we add a token to it. r=sicking sr=bzbarsky 2006-01-20 23:25:37 +00:00
mrbkap@gmail.com a2f5c1e08b bug 244569: Open transient styles before dealing with end tags for residual style tags, so that we don't miss a temporarily closed style. r+sr=jst 2005-12-05 17:35:44 +00:00
mrbkap@gmail.com c1cfb3ed43 Fixing bustage from bug 317869. 2005-11-28 22:33:48 +00:00
mrbkap@gmail.com 18127c6b1a bug 317869: CNavDTD still needs its own IID. r+sr=jst 2005-11-28 22:13:10 +00:00
timeless@mozdev.org 3bc8a1937c Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
jst@mozilla.jstenback.com e617f451d4 Fixing build bustage. 2005-11-24 00:21:23 +00:00
mrbkap@gmail.com 4ec66fb28c bug 316582: Clean up style nitpicks in CNavDTD. rs=jst 2005-11-24 00:14:25 +00:00
mrbkap@gmail.com 193b67050e bug 314980: Handle trailing XML-like slashes by not accepting them into the attribute key at all, not by stripping them once they're already there. r=bzbarsky sr=jst 2005-11-08 00:05:09 +00:00
mrbkap@gmail.com 0e72f6a966 bug 314759: Update our flags when we open a frameset and close the head. r=sicking sr=jst 2005-11-02 22:51:17 +00:00
cvshook@sicking.cc c7966af682 Bug 313327: Fix regression caused by my last checkin. Don't put forms on the tag stack to avoid closing them prematurly.
r=mrbkap sr=bz
2005-10-24 15:00:19 +00:00
cvshook@sicking.cc c70aa5320e Bug 311785: Simplify the nsIHTMLContentSink interface
r=mrbkap sr=peterv
2005-10-21 15:39:06 +00:00
mrbkap@gmail.com c0839be997 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 fad5b88520 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 e7790e5d6d 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 d6991c88a5 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 76dfbf78a6 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
mrbkap@gmail.com a05bb9e5ba 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
mrbkap@gmail.com a3b202f67f 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 626488b564 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 ac40852a0e 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
peterv@propagandism.org af5c8b9c83 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
mrbkap@gmail.com b5008c14f4 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 1523b65c73 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 e139aa9365 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 679b1de425 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 0359a5ffd1 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 156a57687a bug 290081: Use the _moz-rs-heading attribute when opening residual style tags that aren't direct descendents of the heading tag open on the tag stack. r=bzbarsky sr=rbs a=asa 2005-04-19 01:30:04 +00:00
mrbkap@gmail.com 9b6c7d28ed bug 288991: An <iframe /> before a <frameset> causes the <frameset> to be lost. r+sr=bzbarsky 2005-04-06 04:41:18 +00:00
mrbkap@gmail.com 01759420ff bug 286733: Crash when attempting to handle misplaced content inside misplaced content because mContextTopIndex pointed to a closed index already. r=jst sr=rbs 2005-04-04 21:20:00 +00:00
mrbkap@gmail.com 9210de44f0 bug 280044: Pass a title node to the content sinks so that attributes on title don't get lost. r=sicking sr=peterv 2005-03-23 07:09:24 +00:00
mrbkap@gmail.com 45833afc8c bug 285250: Give tags the ability to request to be either in the head OR the body. They follow the same rules that userdefined, whitespace, and newline tags used to follow. r=bzbarsky sr=jst 2005-03-17 23:28:35 +00:00
timeless@mozdev.org dd32e2c9d4 Bug 160095 NOEMBED tag causes leaks as the skipped content is not consumed.
patch by mrbkap@gmail.com r=rbs sr=brendan
2005-03-17 19:38:01 +00:00
mats.palmgren@bredband.net dac2f6c6d0 Don't open transient styles and ignore kFontStyle/kPhrase start tags near MAX_REFLOW_DEPTH. b=58917 r=mrbkap sr=bzbarsky 2005-01-17 00:10:28 +00:00
mats.palmgren@bredband.net 8f20ffd731 Remove dead code. b=210238 r=mrbkap sr=dbaron 2005-01-16 17:07:39 +00:00
mrbkap@gmail.com 892cbad806 bug 117738: <dl> within <font> nested in <table> is ignored. r=rbs sr=jst 2005-01-13 03:34:18 +00:00
mrbkap@gmail.com 4e91bbbe42 bug 275288: remove obsolete CRC calculations. r+sr=roc 2004-12-25 04:44:02 +00:00
mrbkap@gmail.com 2afd8bafd0 bug 88952: Remove trailing content. This checkin fixes a whole slew of textarea bugs. r=jst sr=rbs 2004-12-01 04:37:36 +00:00
mrbkap@gmail.com 553c7990df bug 269095: crash on malformed html page that caused us to try to handle misplaced content while we were already handling misplaced content. r=jst sr=rbs 2004-11-13 06:37:43 +00:00
bryner@brianryner.com d4ab578468 Only allocate and copy a string in CAttributeToken::GetStringValue if the string spans multiple buffers. Otherwise, just wrap it with a nsDependentSubstring. Bug 268932, r=bzbarsky, sr=darin. 2004-11-11 03:46:51 +00:00
bzbarsky@mit.edu 49bc728c99 Remove our broken attempt to support <plaintext> (which is very very
deprecated).  Bug 88987, r=jst, sr=dbaron
2004-10-09 16:55:54 +00:00
bzbarsky@mit.edu 461b13df2f Treat '\'' and '"' identically for purposes of starting attribute names. Fix
some leaks too.  Bug 261503, patch by Blake Kaplan <mrbkap@gmail.com>,
r=bzbarsky, sr=rbs
2004-10-07 23:23:18 +00:00
bzbarsky@mit.edu 8a3a447dad Followup to bug 143512, patch by patch by Chris Thomas <cst@andrew.cmu.edu>,
r+sr=bzbarsky
2004-08-10 23:48:41 +00:00
bzbarsky@mit.edu 650cc45e49 Fix assert if an end tag has "attributes". Bug 143512, patch by Chris Thomas
<cst@andrew.cmu.edu>, r+sr=bzbarsky
2004-08-09 22:09:06 +00:00
roc+@cs.cmu.edu d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
roc+@cs.cmu.edu 6b0210f601 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bzbarsky@mit.edu 180ed8a57a Remove bogus data-sniffing code in CanParse() impls, clean up signature, don't
peek a buffer if we're not planning to autodetect the parsemode.  Bug 113201,
r=rbs, sr=jst
2004-05-13 23:39:06 +00:00
bzbarsky@mit.edu 44e87e017c The saga continues. Don't move around <script>, since that breaks pages... Bug
243064, r+sr=jst
2004-05-10 21:04:18 +00:00