Commit Graph
171 Commits
Author SHA1 Message Date
[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] 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] 9a84fd1174 Remove MAP as a valid child of TABLE, THEAD and TFOOT. b=147446 r=harishd sr=dbaron 2005-01-26 00:40:55 +00:00
[email protected] 8f20ffd731 Remove dead code. b=210238 r=mrbkap sr=dbaron 2005-01-16 17:07:39 +00:00
[email protected] 892cbad806 bug 117738: <dl> within <font> nested in <table> is ignored. r=rbs sr=jst 2005-01-13 03:34:18 +00:00
[email protected] a598093188 bug 272293: phrase-level tags do not close when there is an open kInlineEntity r=bzbarsky sr=dmose 2004-12-14 23:32:35 +00:00
[email protected] 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
[email protected] 9c75c23d66 bug 100175: innerHTML smushes multiple options together on select r+sr=bzbarsky 2004-11-23 04:40:46 +00:00
[email protected] 0dd4ba9f3b bug 181697: <li> prevents phrasals from closing when its end tag is not used. r=bzbarsky sr=rbs 2004-10-30 16:47:12 +00:00
[email protected] e1bfebb9e5 bug 256731: unclosed userdefined tags inside phrasal tags cause the phrasal tags to be unable to close. r=rbs sr=bzbarsky 2004-10-25 23:33:04 +00:00
[email protected] 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
[email protected] 7d3a109855 Remove bogus "support" for <sourcetext> and <parsererror>. Bug 210658, patch
by Blake Kaplan <[email protected]>, r+sr=bzbarsky
2004-09-13 20:43:15 +00:00
[email protected] b14e8d7bc1 Allow nested <marquee>s. Bug 167075, patch by Martijn Wargers
<[email protected]>, r+sr=bzbarsky
2004-07-29 19:15:13 +00:00
[email protected] 702740f30e oops, this wasn't supposed to go on the trunk. backing out. 2004-06-21 23:41:30 +00:00
[email protected] 35bc7e588f bringing branch changes forward 2004-06-21 23:35:56 +00:00
[email protected] 4777a12936 Make <input>, <textarea>, and <select> autoclose <option>, <optgroup> and
<select>.  Bug 171713 and bug 140657, r+sr=peterv
2004-05-31 20:23:19 +00:00
[email protected] 924f41819d 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
2004-05-02 11:12:34 +00:00
[email protected] 1ed76a83d6 Merging patch by gerv (from mozilla/htmlparser).
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-23 13:24:28 +00:00
[email protected] 25caf87fc6 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.
2004-04-23 12:29:54 +00:00
[email protected] 0eeed8163a Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:24:21 +00:00
[email protected] 7ea683269f P should not be allowed to contain TABLE in standards mode. Patch by Mats Palmgren <[email protected]>. r=harishd sr=dbaron b=91927 2003-06-11 04:24:25 +00:00
[email protected] 509c1c3399 Make tag lists more maintainable by using sizeof to determine the array length. b=208846 r=harishd sr=jst 2003-06-10 22:12:28 +00:00
[email protected] b0d136abf4 fix for bug 200330 - const the heck out of htmlparser!
sr=sfraser, r=jag
2003-04-02 22:59:51 +00:00
[email protected] d575ba72ae 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.
2003-03-15 01:04:32 +00:00
[email protected] decef170ad Make /applet close things inside applet tag (bug 129888), patch by [email protected], [email protected], [email protected] 2002-12-17 01:28:16 +00:00
[email protected] 799c45c5a2 Backing out fix for bug 149887 because of bug 184029. a=asa 2002-12-09 19:30:10 +00:00
[email protected] 008e42a222 Prevent content inside IFRAME from evaluating ( specifically SCRIPT ). b=149887, r=heikki, sr=jst 2002-12-03 22:31:38 +00:00
[email protected] d16b5928cc bug 167493 - Backing out the patch based on the bug report 2002-11-14 00:38:53 +00:00
[email protected] 18d0430bf2 DD should be allowed to contain DL. Bug 179071 and company, r=harishd, sr=heikki 2002-11-13 21:55:36 +00:00
[email protected] 5541b0bdfb Bug 167493: userdefined tags should be allowed in <head>. r=harishd, sr=jst 2002-09-12 20:04:43 +00:00
[email protected] b4a66781e3 use prefix ++, not postfix ++. Bug 82615, r=heikki, sr=jst 2002-09-03 22:23:22 +00:00
[email protected] fff3bf6fe2 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
[email protected] fb897f6ece Make marquee tag a block level element. b=154173, r=heikki, sr=jst 2002-06-27 01:49:38 +00:00
[email protected] 75160d9ea3 bug 143168:remove ilayer layer tag from mozilla code
r=harishd, sr=jst
Check in for Jerry Tan([email protected])'s fix
2002-05-16 03:08:15 +00:00
[email protected] 467f504d91 Treat NOLAYER like any undeclared tag (from Antonio Xu). Bug 61443, [email protected], [email protected] 2002-05-09 02:33:34 +00:00
[email protected] 02ef0b1767 106746 - Do not allow DD to contain DT and vice versa.
103095 - Ignore forward slash, in short hand tags, in html.
96861 - Ignore nested FORMS.
94269 - Do not allow P to contain FORM.
84592 - Ignore body after FRAMESET.

r=heikki, sr=jst
2001-12-07 21:33:12 +00:00
[email protected] 5364ba74c5 106746 - DD/DT should not contain each other. r=heikki, sr=attinasi.
99388 - Avoid PR_GetEnv(). sr=attinasi.
2001-11-06 00:48:11 +00:00
[email protected] f3cbdc8377 97769 - Replace nsITagStack with a simple nsVoidArray. Also, nuked nsITagStack since it is not of a big help.r=heikki, sr=jst.
99282  - Make sure only HEAD attributes get added to the attribute list in ::OpenHead(). r=heikki, sr=jst.
100466 - Stop DT from containing DL.r=heikki,sr=jst.
102370 - DT should not close DD and vice versa.r=heikki,sr=jst.
100397 - In order for residual style to kick in...disable the check for wellformedness in quirks mode.r=alexandru,sr=attinasi.
102376 - Release nsIRequest in nsParser::DidBuildModel() since nsIRequest is not required past DidBuildModel.r=heikki,sr=darin.
2001-10-19 20:48:18 +00:00
[email protected] d0430dd000 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
[email protected] 9a421db1b4 License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1). 2001-09-26 00:40:45 +00:00
[email protected] deae227991 98187 - Make sure that the end tag, inline element, does not close tags in the root tag list. r=heikki,sr-vidur 2001-09-19 00:01:42 +00:00
[email protected] 909d908b40 98645 - Added SELECT to the set of tags that cannot be crossed over when an end tag ( block-level ) tries to close it's matching open tag on the stack. r=heikki, sr=vidur 2001-09-10 21:29:27 +00:00
[email protected] faedc2e79a 96031 - Made LI's parent model to be flow entity. This would allow inline elements, such as I,B,FONT, etc., to contain LI such that bullets / numbers would also inherit the parent properties.
93574 -  nsLoggingSink and nsHTMLNullSink  should not be a part of the optimized build. Wrapped 'em under MOZ_DEBUG flag.
r=heikki, sr=vidur, a=asa.
2001-08-31 21:22:16 +00:00
[email protected] 2de10260f7 56245 - Misplaced /FONT was closing out TABLE. I've added logic such that if a residual style tag ( inline element ) cannot contain a tag ( block element ) then it
cannot close it either. Which implies that the end tag is misplaced. Also, made userdefined tags to act as inline elements.
r=heikki,sr=vidur,a=tor.
2001-08-22 23:43:43 +00:00
[email protected] 176ba79629 93365 - Allow FONT to contain TABLE so that we can control what properties can and cannot propagate inside TABLE in layout. r=heikki, sr=jst 2001-08-17 01:20:47 +00:00
[email protected] 793108f5aa 83119 - Added support for visibility in GetComputedStyle(). r=heikki,sr=jst.
84000 - Preserve NOFRAMES content - patch submitted by [email protected]. r=me, sr=jst.
65467 - DT is an inline element. r=heikki, sr=jst.
88992 - OBJECT should be able to close unclosed block level elements within it. r=heikki, sr=vidur
84491 - IFRAME should be treated similar to NOFRAMES. r=pollmann, sr=vidur
92530 - FORM should behave as a container if the parent is TD or TH. r=heikki,sr=vidur
88243 - For percentage attribute value do not assume that '%' will always be the last character. r=heikki,sr=vidur.
2001-08-07 19:05:21 +00:00
[email protected] 5ecb9322a7 82500 - Make sure that DidBuildModel gets called only once per document.
79492 - In collecting skipped content make sure that entity-like-markup is not mistaken for an entity.
80009 - PRE should be treated as a block-level element - per spec.
82498 - Do not process script content in a frameset document.
82544 - Beginning/ending quotes in attribute values are now removed by the parser.
77145 - Fix off-by-one error.

r=heikki
sr=vidur
a=asa
2001-06-18 21:18:37 +00:00
[email protected] c0885841e3 75641 - Fixing MLK caused by unclosed FONT tags ( penguin.html )
r=heikki sr=waterson
77352 - Making sure that the heading tags' size takes precedence over
residual style tags' size info.
r=pollmann sr=attinasi
57248 - Moved attribute entity parsing to the parser land.
r=heikki sr=jst.
2001-05-15 22:32:26 +00:00
[email protected] 1bdcb3ac31 77746 - Remove style from the style stack on encountering the appropritate end tag.
78202 - Added text-decoration property for GetComputedStyle.
26347 - Anchor ( special element ) should be able to close phrasel elements
78140 - Putting back list-style-image support for getComputedStyle that got removed accidently.

r=heikki
sr=jst
2001-05-09 03:29:09 +00:00