mrbkap%gmail.com
9d34cfcfa0
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
...
git-svn-id: svn://10.0.0.236/trunk@179781 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 03:35:58 +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
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
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
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
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
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
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
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
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
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
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
mrbkap%gmail.com
55015dd49f
bug 88952: Remove trailing content. This checkin fixes a whole slew of textarea bugs. r=jst sr=rbs
...
git-svn-id: svn://10.0.0.236/trunk@166010 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 04:37:36 +00:00
mrbkap%gmail.com
eef1038dfa
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
...
git-svn-id: svn://10.0.0.236/trunk@165334 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-13 06:37:43 +00:00
bryner%brianryner.com
0da729e8f7
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.
...
git-svn-id: svn://10.0.0.236/trunk@165246 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 03:46:51 +00:00
bzbarsky%mit.edu
ad59771509
Remove our broken attempt to support <plaintext> (which is very very
...
deprecated). Bug 88987, r=jst, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163474 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 16:55:54 +00:00
bzbarsky%mit.edu
53fef655c4
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
git-svn-id: svn://10.0.0.236/trunk@163400 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 23:23:18 +00:00
bzbarsky%mit.edu
043249f868
Followup to bug 143512, patch by patch by Chris Thomas <cst@andrew.cmu.edu>,
...
r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@160640 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 23:48:41 +00:00
bzbarsky%mit.edu
fad9e71dc3
Fix assert if an end tag has "attributes". Bug 143512, patch by Chris Thomas
...
<cst@andrew.cmu.edu>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@160555 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-09 22:09:06 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu
bdc7e5f59b
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu
6a3b796123
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
git-svn-id: svn://10.0.0.236/trunk@156393 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 23:39:06 +00:00
bzbarsky%mit.edu
a7b3731d67
The saga continues. Don't move around <script>, since that breaks pages... Bug
...
243064, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@156206 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-10 21:04:18 +00:00
bzbarsky%mit.edu
05cbb3e143
When hoisting misplaced content out of a table, bring along the various "legal
...
open" elements (script, whitespace, comments, etc) that are kids of the
misplaced content. This prevents the misplaced content from being closed too
early. Bug 242503, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@156044 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 22:23:10 +00:00
peterv%propagandism.org
512e303238
Merging patch by bz (from mozilla/htmlparser).
...
Remove the kOmitWS flag, make it possible to "open" whitespace and newline "tags" anywhere in the document. Bug 240139, r=choess, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@155821 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 11:12:34 +00:00
peterv%propagandism.org
7697906006
Merging patch by gerv (from mozilla/htmlparser).
...
Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155383 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 13:24:28 +00:00
alex.fritze%crocodile-clips.com
937a1cf846
Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
...
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).
Not part of default build; code is #ifdef'ed out.
r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
git-svn-id: svn://10.0.0.236/trunk@152468 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 12:39:26 +00:00
jst%mozilla.jstenback.com
6629ad58f7
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
bryner%brianryner.com
2097395338
Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@148857 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-05 05:17:07 +00:00
timeless%mozdev.org
822de7699e
Bug 217089 Compiler warnings
...
patch by mbockelkamp@web.de r=timeless sr=heikki
git-svn-id: svn://10.0.0.236/trunk@146730 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 03:18:50 +00:00
timeless%mozdev.org
45269ef258
Adding the ablity to disable view source.
...
patch by dougt r=bz,sr=darin,b=199335
git-svn-id: svn://10.0.0.236/trunk@145405 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 23:57:39 +00:00
timeless%mozdev.org
ff3c22c2a1
Bug 214445 View Page Source fails
...
Backing out:
Bug 199335 [minimo]make all viewsource stuff configurable
git-svn-id: svn://10.0.0.236/trunk@145381 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 17:02:52 +00:00
dougt%meer.net
c2677efc6d
Adding the ablity to disable view source. r=bz,sr=darin,b=199335
...
git-svn-id: svn://10.0.0.236/trunk@145367 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 02:39:05 +00:00
dbaron%dbaron.org
20a7c5ebb1
Remove unused content quality stubs. b=111346 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@145076 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 18:38:08 +00:00
jaggernaut%netscape.com
f34216bf2d
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
jkeiser%netscape.com
64ac997a95
Make NOSCRIPT show up normally when script disabled (bug 77296), r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
...
git-svn-id: svn://10.0.0.236/trunk@144183 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-26 06:10:03 +00:00
dbaron%dbaron.org
bb5ffac79b
P should not be allowed to contain TABLE in standards mode. Patch by Mats Palmgren <mats.palmgren@bredband.net>. r=harishd sr=dbaron b=91927
...
git-svn-id: svn://10.0.0.236/trunk@143569 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 04:24:25 +00:00
timeless%mozdev.org
8d5c2543d8
Bug 203391 InPlaceConvertLineEndings(class nsAString &)' defined but not used
...
r=harishd sr=heikki
git-svn-id: svn://10.0.0.236/trunk@143122 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 22:36:47 +00:00
bryner%netscape.com
9bf807ce6a
Remove some obsolete code from htmlparser. Bug 205730, r=harishd, sr=jst, a=sspitzer.
...
git-svn-id: svn://10.0.0.236/trunk@142525 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-16 00:59:04 +00:00
harishd%netscape.com
f692653e6e
Allow userdefined tags in the HEAD. b=167493, r=nisheeth@netscape.com, sr=jst@netscape.com, a=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@142067 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 20:57:52 +00:00
timeless%mozdev.org
55b1cade1d
Bug 201271 Fix interface inconsistencies in parser
...
patch by choess@stwing.upenn.edu r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@140945 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 22:44:25 +00:00
alecf%netscape.com
3554f2edec
fix for the first part of bug 200580, remove nsIDTD::ConvertEntityToUnicode, nobody is using it r=harishd, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@140862 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:54:56 +00:00