mrbkap%gmail.com
158803e6c9
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
...
git-svn-id: svn://10.0.0.236/trunk@230406 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 00:41:00 +00:00
mrbkap%gmail.com
6a7ce2899b
This isn't ready for checkin, yet. <link> ends up in the body too much.
...
git-svn-id: svn://10.0.0.236/trunk@229917 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 21:58:11 +00:00
mrbkap%gmail.com
d774707dd7
Don't move <link> to the head, to match <style>. bug 387691, r+sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@229914 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 21:29:10 +00:00
mrbkap%gmail.com
027a48b341
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
...
git-svn-id: svn://10.0.0.236/trunk@228602 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-22 21:47:26 +00:00
mrbkap%gmail.com
45b2729a3a
Allow <style> to appear anywhere in the document, don't force it to be in the <head>. bug 308145, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@222602 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-29 18:53:30 +00:00
martijn.martijn%gmail.com
5e31e514c3
Bug 334227 embed shouldn't close p, r=mrbkap, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@220408 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 12:18:56 +00:00
martijn.martijn%gmail.com
c1bac63212
Bug 369326 Allow marquee inside p, r=mrbkap, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@220407 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 12:12:44 +00:00
mrbkap%gmail.com
5df1c5a7a6
Keep the DTD's stack in sync with the content sink's stack to avoid miscommunication. bug 333497, r=sicking sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@200623 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 21:34:35 +00:00
mrbkap%gmail.com
8709655ef9
Force noscript to be either in the head or the body. bug 312704, r=bzbarsky sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@199479 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 01:21:50 +00:00
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