Commit Graph
202 Commits
Author SHA1 Message Date
df515a41ed Don't ship link to the head from <body>. <link> and <style> will still prefer the head in the absense of an explicit body, but will stay still if there is one. bug 387691, r=sicking/sayrer sr=jst 2007-07-20 17:40:59 -07:00
ba9688b987 This isn't ready for checkin, yet. <link> ends up in the body too much. 2007-07-13 14:58:11 -07:00
6e4125dca0 Don't move <link> to the head, to match <style>. bug 387691, r+sr=sicking 2007-07-13 14:29:10 -07:00
86f4652299 Allow noscript in the head so that it doesn't push <style> into the body, causing the style's text to prematurely open a body. bug 379025, r=sicking sr=jst 2007-06-22 14:47:26 -07:00
a7444e56df Allow <style> to appear anywhere in the document, don't force it to be in the <head>. bug 308145, r+sr=jst 2007-03-29 11:53:30 -07:00
martijn.martijn@gmail.com 12d868647f Bug 334227 � embed shouldn't close p, r=mrbkap, sr=jst 2007-02-16 12:18:56 +00:00
martijn.martijn@gmail.com 83fcce4720 Bug 369326 � Allow marquee inside p, r=mrbkap, sr=dbaron 2007-02-16 12:12:44 +00:00
mrbkap@gmail.com eb865ab286 Keep the DTD's stack in sync with the content sink's stack to avoid miscommunication. bug 333497, r=sicking sr=jst 2006-06-22 21:34:35 +00:00
mrbkap@gmail.com 128959b755 Force noscript to be either in the head or the body. bug 312704, r=bzbarsky sr=sicking 2006-06-08 01:21:50 +00:00
mrbkap@gmail.com 8dd9eed451 Remove obsolete and wacky support for the <sound> element, which not even IE supports. bug 333057, r=sicking sr=jst 2006-04-10 20:49:02 +00:00
mrbkap@gmail.com 93f189284e Allow flow elements to contain <noframes> for interoperability with other browsers. bug 327250, r+sr=jst 2006-03-22 21:22:25 +00:00
mrbkap@gmail.com 388cfcd3f2 Don't allow <object> to be contained in <head> since the DTD can't really handle it. bug 329399, 328751, r=sicking sr=jst 2006-03-07 21:47:25 +00:00
bzbarsky@mit.edu b06c161cd4 Remove the random <server> tag silliness. Bug 321877, patch by Martijn Wargers
<martijn.martijn@gmail.com>, r=mrbkap, sr=jst
2006-02-12 22:05:33 +00:00
mrbkap@gmail.com 41dd047091 bug 243056: legend tags containing invalid HTML don't cope very well. r=jst sr=bzbarsky 2005-10-27 21:51:37 +00:00
mrbkap@gmail.com dc6dcddff4 bug 314092: <object> prefers to be in the body, not the head. r+sr=jst 2005-10-27 21:46:31 +00:00
mrbkap@gmail.com 02fc0abdc9 bug 309040: Exclude kHeadMisc in <option> since we need to exclude userdefined tags (and the autoclose code can't cope otherwise). r+sr=jst 2005-09-19 19:02:59 +00:00
mrbkap@gmail.com fad5b88520 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 2005-09-16 00:01:30 +00:00
mrbkap@gmail.com 76dfbf78a6 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 2005-09-09 18:03:47 +00:00
mrbkap@gmail.com a05bb9e5ba 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 2005-09-07 03:35:58 +00:00
mrbkap@gmail.com e7022600f2 bug 301416: Don't allow residual styles to open inside <textarea>. r+sr=jst a=asa 2005-07-21 02:51:32 +00:00
mrbkap@gmail.com a3b202f67f 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 2005-07-07 18:30:32 +00:00
mrbkap@gmail.com ac40852a0e 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 2005-06-28 21:09:48 +00:00
mrbkap@gmail.com c94e8421c8 bug 289537: Automatically open <body> for more tags by using the kRequiresBody special property. r=jst sr=rbs a=asa 2005-06-25 21:09:28 +00:00
mrbkap@gmail.com 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
mrbkap@gmail.com 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
mrbkap@gmail.com 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
vladimir@pobox.com 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
vladimir@pobox.com aca0ebc12a b=288714, html canvas implementation, r=various,a=brendan 2005-04-18 06:33:23 +00:00
mrbkap@gmail.com 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
mrbkap@gmail.com 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
mats.palmgren@bredband.net f9821de778 Make gHTMLElements table const. b=286916 r=mrbkap sr=dbaron 2005-03-21 00:45:02 +00:00
mrbkap@gmail.com 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
timeless@mozdev.org dd32e2c9d4 Bug 160095 NOEMBED tag causes leaks as the skipped content is not consumed.
patch by mrbkap@gmail.com r=rbs sr=brendan
2005-03-17 19:38:01 +00:00
mrbkap@gmail.com 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
mats.palmgren@bredband.net 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
mats.palmgren@bredband.net 8f20ffd731 Remove dead code. b=210238 r=mrbkap sr=dbaron 2005-01-16 17:07:39 +00:00
mrbkap@gmail.com 892cbad806 bug 117738: <dl> within <font> nested in <table> is ignored. r=rbs sr=jst 2005-01-13 03:34:18 +00:00
mrbkap@gmail.com 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
mrbkap@gmail.com 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
mrbkap@gmail.com 9c75c23d66 bug 100175: innerHTML smushes multiple options together on select r+sr=bzbarsky 2004-11-23 04:40:46 +00:00
mrbkap@gmail.com 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
mrbkap@gmail.com 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
bzbarsky@mit.edu 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
bzbarsky@mit.edu 7d3a109855 Remove bogus "support" for <sourcetext> and <parsererror>. Bug 210658, patch
by Blake Kaplan <mrbkap@rice.edu>, r+sr=bzbarsky
2004-09-13 20:43:15 +00:00
bzbarsky@mit.edu b14e8d7bc1 Allow nested <marquee>s. Bug 167075, patch by Martijn Wargers
<m.wargers@hccnet.nl>, r+sr=bzbarsky
2004-07-29 19:15:13 +00:00
bryner@brianryner.com 702740f30e oops, this wasn't supposed to go on the trunk. backing out. 2004-06-21 23:41:30 +00:00
bryner@brianryner.com 35bc7e588f bringing branch changes forward 2004-06-21 23:35:56 +00:00
bzbarsky@mit.edu 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
peterv@propagandism.org 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
peterv@propagandism.org 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