193 Commits

Author SHA1 Message Date
mrbkap%gmail.com
0e40b92d36 Remove obsolete and wacky support for the <sound> element, which not even IE supports. bug 333057, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@194040 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 20:49:02 +00:00
mrbkap%gmail.com
c34b04b287 Allow flow elements to contain <noframes> for interoperability with other browsers. bug 327250, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@192805 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 21:22:25 +00:00
mrbkap%gmail.com
5fc69803ec Don't allow <object> to be contained in <head> since the DTD can't really handle it. bug 329399, 328751, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@191925 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 21:47:25 +00:00
bzbarsky%mit.edu
f3768bfe85 Remove the random <server> tag silliness. Bug 321877, patch by Martijn Wargers
<martijn.martijn@gmail.com>, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@189804 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-12 22:05:33 +00:00
mrbkap%gmail.com
bf40412018 bug 243056: legend tags containing invalid HTML don't cope very well. r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@183145 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 21:51:37 +00:00
mrbkap%gmail.com
54f04df573 bug 314092: <object> prefers to be in the body, not the head. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@183143 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 21:46:31 +00:00
mrbkap%gmail.com
15bb2d7dd2 bug 309040: Exclude kHeadMisc in <option> since we need to exclude userdefined tags (and the autoclose code can't cope otherwise). r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@180588 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 19:02:59 +00:00
mrbkap%gmail.com
8981ec9fc2 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
git-svn-id: svn://10.0.0.236/trunk@180335 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 00:01:30 +00:00
mrbkap%gmail.com
4045b60295 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
git-svn-id: svn://10.0.0.236/trunk@179916 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 18:03:47 +00:00
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
0a9cec8bcb bug 301416: Don't allow residual styles to open inside <textarea>. r+sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@176380 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 02:51:32 +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
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
mrbkap%gmail.com
1fb28bddae bug 289537: Automatically open <body> for more tags by using the kRequiresBody special property. r=jst sr=rbs a=asa
git-svn-id: svn://10.0.0.236/trunk@175146 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-25 21:09:28 +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
6f39bbf718 bug 287990: Bring back <plaintext> support. This supports it "properly" (i.e., no end tag). r=jst sr=dbaron a=shaver
git-svn-id: svn://10.0.0.236/trunk@173992 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:11:30 +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
vladimir%pobox.com
99efffd5fc b=291216, canvas should not be an empty element, default width/height, fallback content should not be rendered, r+sr=bzbarsky, a=brendan/shaver
git-svn-id: svn://10.0.0.236/trunk@173165 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-07 03:45:06 +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
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
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
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
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
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
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
eb255ea8f6 bug 272293: phrase-level tags do not close when there is an open kInlineEntity r=bzbarsky sr=dmose
git-svn-id: svn://10.0.0.236/trunk@166728 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-14 23:32:35 +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
b176e92bcd bug 100175: innerHTML smushes multiple options together on select r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165613 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 04:40:46 +00:00
mrbkap%gmail.com
e97f4f0a2b bug 181697: <li> prevents phrasals from closing when its end tag is not used. r=bzbarsky sr=rbs
git-svn-id: svn://10.0.0.236/trunk@164670 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 16:47:12 +00:00
mrbkap%gmail.com
01a99739f8 bug 256731: unclosed userdefined tags inside phrasal tags cause the phrasal tags to be unable to close. r=rbs sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@164399 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 23:33:04 +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
9207bef62c Remove bogus "support" for <sourcetext> and <parsererror>. Bug 210658, patch
by Blake Kaplan <mrbkap@rice.edu>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@162244 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 20:43:15 +00:00
bzbarsky%mit.edu
afdf9c3fb3 Allow nested <marquee>s. Bug 167075, patch by Martijn Wargers
<m.wargers@hccnet.nl>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@160064 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:15:13 +00:00
bryner%brianryner.com
c69233d235 oops, this wasn't supposed to go on the trunk. backing out.
git-svn-id: svn://10.0.0.236/trunk@158278 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-21 23:41:30 +00:00
bryner%brianryner.com
ea5334a7ce bringing branch changes forward
git-svn-id: svn://10.0.0.236/trunk@158277 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-21 23:35:56 +00:00
bzbarsky%mit.edu
12dd10eae3 Make <input>, <textarea>, and <select> autoclose <option>, <optgroup> and
<select>.  Bug 171713 and bug 140657, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@157194 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 20:23:19 +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
peterv%propagandism.org
11636d178a Merging patch by bzbarsky (from mozilla/htmlparser).
Don't strip out whitespace inside <dl> and <fieldset> tags.  Bug 238989 and bug
48376, r=choess, sr=peterv, a=brendan and asa respectively.


git-svn-id: svn://10.0.0.236/trunk@155377 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 12:29:54 +00:00
bryner%brianryner.com
23af8f3c42 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146618 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:24:21 +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
dbaron%dbaron.org
bbaafe049d Make tag lists more maintainable by using sizeof to determine the array length. b=208846 r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@143538 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 22:12:28 +00:00
alecf%netscape.com
a06219c70d fix for bug 200330 - const the heck out of htmlparser!
sr=sfraser, r=jag


git-svn-id: svn://10.0.0.236/trunk@140605 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:59:51 +00:00
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
jkeiser%netscape.com
a18add6468 Make /applet close things inside applet tag (bug 129888), patch by adu@sparc.spb.su, r=harishd@netscape.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@135376 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 01:28:16 +00:00
harishd%netscape.com
f03d0cf199 Backing out fix for bug 149887 because of bug 184029. a=asa
git-svn-id: svn://10.0.0.236/trunk@134995 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 19:30:10 +00:00
harishd%netscape.com
852bb4c5cf Prevent content inside IFRAME from evaluating ( specifically SCRIPT ). b=149887, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@134728 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 22:31:38 +00:00