Commit Graph
2020 Commits
Author SHA1 Message Date
[email protected] 5efcb4434e 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
[email protected] cdef38a371 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
[email protected] 1c26f990f1 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
[email protected] 7fc1f0d368 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
[email protected] f998b5276a 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
[email protected] 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
[email protected] ec2594eacd 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
[email protected] 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
[email protected] 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
[email protected] 88af1db367 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
[email protected] 7d94b7c0f9 bug 144998: Empty lines under quotes are doubled. Patch by Shotaro Kamio <[email protected]>, Koike Kazuhiko <[email protected]>, Wolfgang Rosenauer <[email protected]>, and me. r=akkana sr=jst a=shaver 2005-06-01 19:31:47 +00:00
[email protected] e766423894 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
[email protected] 452848181d 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
[email protected] 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
[email protected] c0d06de88a bug 294402: Change some unnecessary assertions into warnings. r=brendan sr=bzbarsky a=brendan 2005-05-17 16:27:21 +00:00
[email protected] f09727ff08 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
[email protected] 5c48e9ed2a 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
[email protected] b3199eff66 bug 292733: Enforce that the the terminator for <![CDATA[ is ]]>, not ]>. This only affects view-source. r=bzbarsky sr+a=brendan 2005-05-03 23:33:42 +00:00
[email protected] 922b310609 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
2005-04-29 13:33:49 +00:00
[email protected] 0522296176 Fix crashes when document.load is called on an already-parsing XML document.
Bug 289292, r=sicking, sr=jst, a=chofmann
2005-04-28 16:57:24 +00:00
[email protected] 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
[email protected] aca0ebc12a b=288714, html canvas implementation, r=various,a=brendan 2005-04-18 06:33:23 +00:00
[email protected] 3719ae283c bug 288526: text content of an <object> in the <head> of a document is moved into the body, even though the <object> stays in the head. r=jst sr=bzbarsky a=asa 2005-04-11 17:29:18 +00:00
[email protected] 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
[email protected] 8a5202b5aa Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-04-05 20:59:03 +00:00
[email protected] 12f6cb6ed1 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-04-05 14:13:03 +00:00
[email protected] 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
[email protected] 357570d93a Bug 287244 DOCTYPE should not imply a default namespace
patch by [email protected] r=tor sr=bz
2005-04-04 19:05:21 +00:00
[email protected] bc18c7ffca Make sure to wrap a buffered stream around the stream we're passed before
sending it to the parser (which expects a buffered stream).  Bug 287409,
r=darin, sr=jst
2005-03-30 04:18:08 +00:00
[email protected] a3d6fd0126 bug 287349: Add kHeadMisc to the excludable children of <select> so that it properly exludes userdefined children. r=bzbarsky sr=jst 2005-03-24 01:25:19 +00:00
[email protected] 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
[email protected] 1cdc1752e9 bug 286381: Allow non-<script> CDATA tags to not have their closing > for better compatibility with IE. r=bzbarsky sr=jst 2005-03-23 06:18:06 +00:00
[email protected] a0b7e7471e bug 276637: Always parse comments in PCDATA in strict mode for better compatibilty with IE. Patch by Bastiaan Jacques <[email protected]>. r=mrbkap sr=peterv 2005-03-23 06:14:10 +00:00
[email protected] f9821de778 Make gHTMLElements table const. b=286916 r=mrbkap sr=dbaron 2005-03-21 00:45:02 +00:00
[email protected] 36e56a968c TestParser: support --enable-perf-metrics with --disable-debug. b=286920 r+sr=dbaron 2005-03-20 23:54:24 +00:00
[email protected] 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
[email protected] dd32e2c9d4 Bug 160095 NOEMBED tag causes leaks as the skipped content is not consumed.
patch by [email protected] r=rbs sr=brendan
2005-03-17 19:38:01 +00:00
[email protected] 74b9a138fa bug 279768: Bring build system to work with --enable-ui-locale; r=bsmedberg; a=doron on webservices move 2005-03-08 17:21:36 +00:00
[email protected] d9bd0ae075 Remove content dependency on the RDF-ness of bookmarks (since in general, they
need not be RDF-enabled at all).  Remove bizarre dependency of an interface we
really want to expose to embeddors on nsIParser.  Bug 101995 followup,
r=bsmedberg, sr=alecf
2005-03-05 03:35:54 +00:00
[email protected] b9f43ac432 bug 283459: Only flush tokens after <script> to allow for more chances of inlines containing blocks. r=bzbarsky sr=jst 2005-02-26 17:53:46 +00:00
[email protected] 675d7b6a66 bug 283564: Fix a leak when the HTML fragment sink is used to parse an empty string by ensuring that DidBuildModel() is always called. r+sr=bzbarsky 2005-02-26 04:33:04 +00:00
[email protected] 7f95f14288 bug 272815: Make sure the parser is aware when we encounter a meta tag, so that other meta tags in the document don't override the first (correct) charset. r=bzbarsky sr=jst 2005-02-23 05:42:37 +00:00
[email protected] bec7c587d8 bug 283036: Append a <body> tag to the context of HTML context stacks to make sure that all context is flushed out of the DTD before we process the new content. r+sr=bzbarsky 2005-02-23 04:32:21 +00:00
[email protected] df45507103 bug 263053: Get rid of the <endnote> tag when parsing fragments with context, since this can fail if the input stream contains another <endnote> tag. Instead, parse the context in different "chunks" from the new buffer, and notify the fragment sink by way of functions. r=peterv sr=bzbarsky 2005-02-18 19:18:39 +00:00
[email protected] 1815a338dc bug 253979: Protect against a possible crash handling malformed content. r=bzbarsky sr=brendan 2005-02-18 18:33:55 +00:00
[email protected] 2558e191ff bug 142260: Make doxygen comments in the htmlparser reflect reality. sr=bzbarsky 2005-02-18 18:30:48 +00:00
[email protected] 207c8e2274 bug 280713: Make sure OnStopRequest updates the correct parsercontext to make sure that pages always get a last chunk shot at tokenization. r=jst sr=bzbarsky 2005-02-18 18:29:02 +00:00
[email protected] 04557c430c bug 280713: Lost <iframe> from a document because the mIncremental member of the scanner was not getting set properly. r=jst sr=bzbarsky 2005-02-07 21:07:38 +00:00
[email protected] 71c43e5db5 Use a better sourcelevel when setting charset through xsl:output element. Also make sure to use the proper form when setting the charset.
r/sr=bz
2005-02-05 13:47:43 +00:00
[email protected] 2472f93cd7 Bug 133277 give NS_PARSERSERVICE_CID {a6cf9112-15b3-11d2-932e-00805f8add32} a ContractID
r=mrbkap sr=bz
2005-02-04 05:05:10 +00:00