mrbkap%gmail.com
9de188f29f
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
...
git-svn-id: svn://10.0.0.236/trunk@172417 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 01:30:04 +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
mrbkap%gmail.com
e3e65b0d08
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
...
git-svn-id: svn://10.0.0.236/trunk@171984 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 17:29:18 +00:00
mrbkap%gmail.com
1b26f5ee4a
bug 288991: An <iframe /> before a <frameset> causes the <frameset> to be lost. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171782 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 04:41:18 +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
timeless%mozdev.org
ebff88dc38
Bug 287244 DOCTYPE should not imply a default namespace
...
patch by bug@annevankesteren.nl r=tor sr=bz
git-svn-id: svn://10.0.0.236/trunk@171583 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 19:05:21 +00:00
bzbarsky%mit.edu
3d75b80be5
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
git-svn-id: svn://10.0.0.236/trunk@171362 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 04:18:08 +00:00
mrbkap%gmail.com
be2001a6e8
bug 287349: Add kHeadMisc to the excludable children of <select> so that it properly exludes userdefined children. r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@171146 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-24 01:25:19 +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
mrbkap%gmail.com
05722dbac0
bug 286381: Allow non-<script> CDATA tags to not have their closing > for better compatibility with IE. r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@171042 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 06:18:06 +00:00
mrbkap%gmail.com
68251194fa
bug 276637: Always parse comments in PCDATA in strict mode for better compatibilty with IE. Patch by Bastiaan Jacques <baafie@planet.nl>. r=mrbkap sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@171041 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 06:14:10 +00:00
mats.palmgren%bredband.net
33c3943a52
Make gHTMLElements table const. b=286916 r=mrbkap sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@170931 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-21 00:45:02 +00:00
mats.palmgren%bredband.net
ddb5c6e57a
TestParser: support --enable-perf-metrics with --disable-debug. b=286920 r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@170930 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-20 23:54:24 +00:00
mrbkap%gmail.com
98ef34f571
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
...
git-svn-id: svn://10.0.0.236/trunk@170858 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-17 23:28:35 +00:00
timeless%mozdev.org
e59e2b9af7
Bug 160095 NOEMBED tag causes leaks as the skipped content is not consumed.
...
patch by mrbkap@gmail.com r=rbs sr=brendan
git-svn-id: svn://10.0.0.236/trunk@170846 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-17 19:38:01 +00:00
gandalf%firefox.pl
614ee4af8e
bug 279768: Bring build system to work with --enable-ui-locale; r=bsmedberg; a=doron on webservices move
...
git-svn-id: svn://10.0.0.236/trunk@170385 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-08 17:21:36 +00:00
mrbkap%gmail.com
52bb9291e2
bug 283459: Only flush tokens after <script> to allow for more chances of inlines containing blocks. r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@169894 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-26 17:53:46 +00:00
mrbkap%gmail.com
b0eca57bf6
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
...
git-svn-id: svn://10.0.0.236/trunk@169635 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 05:42:37 +00:00
mrbkap%gmail.com
de71c5320e
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
...
git-svn-id: svn://10.0.0.236/trunk@169631 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 04:32:21 +00:00
mrbkap%gmail.com
c49d96100e
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
...
git-svn-id: svn://10.0.0.236/trunk@169415 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 19:18:39 +00:00
mrbkap%gmail.com
203f338929
bug 253979: Protect against a possible crash handling malformed content. r=bzbarsky sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@169405 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 18:33:55 +00:00
mrbkap%gmail.com
02f2f80c8e
bug 142260: Make doxygen comments in the htmlparser reflect reality. sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@169404 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 18:30:48 +00:00
mrbkap%gmail.com
1f32d7b4db
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
...
git-svn-id: svn://10.0.0.236/trunk@169403 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 18:29:02 +00:00
mrbkap%gmail.com
d6ade3fac7
bug 280713: Lost <iframe> from a document because the mIncremental member of the scanner was not getting set properly. r=jst sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168933 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 21:07:38 +00:00
timeless%mozdev.org
141164ce86
Bug 133277 give NS_PARSERSERVICE_CID {a6cf9112-15b3-11d2-932e-00805f8add32} a ContractID
...
r=mrbkap sr=bz
git-svn-id: svn://10.0.0.236/trunk@168788 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 05:05:10 +00:00
mrbkap%gmail.com
19a5ff75a4
bug 280386: Add sanity checking to nsScanner::SetPosition to help catch errors that could manifest in stranger ways. r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@168687 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 02:04:09 +00:00
mrbkap%gmail.com
c5ea63fd54
bug 90664: Make sure we perform RS handling when we can, in cases where tags that cannot nest and normally would be closed out cannot, due to block tags between them. r=jst sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@168608 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 03:00:38 +00:00
mrbkap%gmail.com
e3941ea003
bug 280079: Hang when a document's final tag is missing its closing >. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@168574 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 20:37:14 +00:00
mrbkap%gmail.com
c19cfc9484
bug 280387: Fix a potential crash by passing PR_TRUE for the aReverse paramter to nsScanner::SetPosition(). r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168538 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 00:54:53 +00:00
bzbarsky%mit.edu
12f6fa15c7
Add a "safe" way to unblock the parser, to protect against CSSLoader
...
stupidity. Bug 220542, patch by Blake Kaplan <mrbkap@gmail.com>, r=jst,
sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168404 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 19:28:22 +00:00
mats.palmgren%bredband.net
ab47556c38
Remove MAP as a valid child of TABLE, THEAD and TFOOT. b=147446 r=harishd sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@168335 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-26 00:40:55 +00:00
peterv%propagandism.org
946429f4a1
Fix for bug 279078 (XML Error reporting confusing since Expat landing). r/sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@168191 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-23 15:46:11 +00:00
mrbkap%gmail.com
9e29ac3f29
bug 142771: Fix ScanDocStructure to be more correct in marking tokens as malformed. r=bzbarsky sr=rbs. These files were left out of the original checkin
...
git-svn-id: svn://10.0.0.236/trunk@168046 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 03:43:42 +00:00
mrbkap%gmail.com
c58c7fc5d4
bug 278511: Fix assertions on various comments by ensuring that mComment is always bound to some string. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168032 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 00:12:58 +00:00
mrbkap%gmail.com
99a0cc844f
bug 142771: Fix ScanDocStructure to be more correct in marking tokens as malformed. r=bzbarsky sr=rbs
...
git-svn-id: svn://10.0.0.236/trunk@168030 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-19 23:42:02 +00:00
dbaron%dbaron.org
613685036a
Re-remove files that were checked into after being cvs removed to restore things to a consistent state. (These files were in Attic but not in the cvs 'dead' state, so they appeared when checking out by date.)
...
git-svn-id: svn://10.0.0.236/trunk@168026 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-19 22:48:57 +00:00
mats.palmgren%bredband.net
10bfc80393
Don't open transient styles and ignore kFontStyle/kPhrase start tags near MAX_REFLOW_DEPTH. b=58917 r=mrbkap sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@167861 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-17 00:10:28 +00:00
mats.palmgren%bredband.net
ec75e483f0
Remove dead code. b=210238 r=mrbkap sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@167829 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-16 17:07:39 +00:00
mrbkap%gmail.com
0bdf148e90
bug 117738: <dl> within <font> nested in <table> is ignored. r=rbs sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@167654 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-13 03:34:18 +00:00
mrbkap%gmail.com
81de7a518e
bug 274786: We lose a trailing <, </, <! if it is the last text in the document. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@167652 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-13 03:05:12 +00:00
mrbkap%gmail.com
f61d9db382
bug 277695: Fix assertion on empty textareas by ensuring that mTextValue.Rebind() is called at least once. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@167651 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-13 02:56:56 +00:00
aaronleventhal%moonset.net
45aa5f40a8
Bug 223302. ASSERTION: OnDataAvailable implementation consumed no data: nsParser. r=bz, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@167560 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 00:55:25 +00:00
aaronleventhal%moonset.net
348c3e0667
Backing out the following fix because tree is closed. Sorry for the mistake. Bug 223302. ASSERTION: OnDataAvailable implementation consumed no data: nsParser. r=bz, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@167553 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-11 23:39:22 +00:00
aaronleventhal%moonset.net
e89f017aa4
Bug 223302. ASSERTION: OnDataAvailable implementation consumed no data: nsParser. r=bz, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@167552 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-11 23:26:10 +00:00
mrbkap%gmail.com
93e65100c3
bug 275651: Fix a potential crash because of a bad use of nsScanner::SetPosition. r=jst sr=dmose
...
git-svn-id: svn://10.0.0.236/trunk@167235 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-04 02:31:53 +00:00
mrbkap%gmail.com
3df650a60e
bug 276149: Remove nsScanner::Eof() and fix error handling in nsScanner.cpp. patch by Hans-A.Engel@unibas.ch r=mrbkap sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@167221 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:06:27 +00:00
timeless%mozdev.org
e35a7067a0
Bug 276148 warning: unused variable `CStartToken*theStartToken' in nsHTMLTokenizer::ConsumeStartTag
...
patch by cst@andrew.cmu.edu r=mrbkap sr=peterv
git-svn-id: svn://10.0.0.236/trunk@167078 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-29 00:34:49 +00:00
peterv%propagandism.org
d2ec99ff28
Fix for bug 274775 (Expat accepts invalid namespaces). r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@167044 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-27 11:47:18 +00:00
mrbkap%gmail.com
b04b815dc7
bug 275288: remove obsolete CRC calculations. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@167028 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-25 04:44:02 +00:00
dbaron%dbaron.org
38b8fcfd2b
untabify
...
git-svn-id: svn://10.0.0.236/trunk@166937 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-22 00:21:13 +00:00