dbaron%dbaron.org
39d7b6c84c
Miscellaneous cleanup of selector matching code:
...
* remove extra |if| around loop, and convert it from |while| to |for|.
* remove extra test for |result|
* rename |curdata| -> |prevdata| and |newdata| -> |data|.
* use |IsContentOfType| instead of |GetTag|
b=221531 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147925 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 21:54:33 +00:00
bzbarsky%mit.edu
ff3a7b042c
Make sure to notify document observers even about content that gets added to
...
the document before StartLayout(). Block those notifications from getting
passed on to the frame constructor before StartLayout(), though. Bug 220930,
r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@147865 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 00:27:45 +00:00
dbaron%dbaron.org
b4f655f45c
Bustage fixes for bug 221316 no longer needed thanks to bug 221525.
...
git-svn-id: svn://10.0.0.236/trunk@147721 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 23:21:50 +00:00
cls%seawood.org
75faa3566d
what dbaron said
...
git-svn-id: svn://10.0.0.236/trunk@147716 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 22:43:54 +00:00
dbaron%dbaron.org
2419d717b2
Fix HP-UX and AIX bustage. b=221316
...
git-svn-id: svn://10.0.0.236/trunk@147712 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 22:15:26 +00:00
bzbarsky%mit.edu
4651d2cebb
Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147623 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 13:24:55 +00:00
hpradhan%hotpop.com
1c581a3fca
still bug 218837 : backing out all the backouts. they did not work.
...
git-svn-id: svn://10.0.0.236/trunk@147582 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 11:28:06 +00:00
hpradhan%hotpop.com
155cccf24e
One final attempt to fix Tp regression from bug 218837
...
git-svn-id: svn://10.0.0.236/trunk@147581 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 10:20:56 +00:00
hpradhan%hotpop.com
b17a745241
backing out part of bug 218837. hoping to fix Tp regression
...
git-svn-id: svn://10.0.0.236/trunk@147580 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 09:21:41 +00:00
hpradhan%hotpop.com
3197ccf7ad
bug 218837 : Refactor some code duplicated in the xml and html
...
content sinks into a base class r=sicking sr=peterv
git-svn-id: svn://10.0.0.236/trunk@147577 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 07:29:50 +00:00
bzbarsky%mit.edu
62c2420626
Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
...
notifications). Bug 200931, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@147516 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-02 21:29:40 +00:00
dbaron%dbaron.org
37de3855c7
Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147501 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-01 22:53:56 +00:00
hpradhan%hotpop.com
178edea0eb
Bug 170985 follow up : get rid of some unused code r=peterv sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@147395 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 08:52:31 +00:00
bzbarsky%mit.edu
6218fccfa7
Make imagemaps work again. Bug 220519, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147392 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 06:28:39 +00:00
stephend%netscape.com
a0d49a147a
Trivial grammatical comment change (from 'is that when it recurs' to 'in that when it recurs'... r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@147391 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 06:20:24 +00:00
dbaron%dbaron.org
430fe54987
Spelling too. b=220464
...
git-svn-id: svn://10.0.0.236/trunk@147388 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 05:39:03 +00:00
dbaron%dbaron.org
bf3d007e09
Fix 80th column violations in code that I just reindented. b=220464
...
git-svn-id: svn://10.0.0.236/trunk@147387 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 05:35:25 +00:00
dbaron%dbaron.org
d62ef933ed
Eliminate excess variables and their baroque (and broken, thanks to the previous checkin) reference counting. b=220464 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147386 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 05:30:09 +00:00
jst%mozilla.jstenback.com
ef67a47aab
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
...
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
bsmedberg%covad.net
68b719e05c
Bug 184686 - convert HTMLFormElement to use nsTHashtable
...
r=jkeiser sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147341 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-26 19:26:17 +00:00
bzbarsky%mit.edu
af8ba69ee3
Make charset-detection code work with just a BOM (no @charset rule) in the
...
sheet. Bug 218915, r=smontagu, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147288 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 05:57:28 +00:00
dbaron%dbaron.org
7f83c6facc
Fix regression of scrolling attribute and overflow property on frame and iframe elements. Make the two interact correctly according to CSS cascading rules. b=220195 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147278 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 03:55:04 +00:00
hpradhan%hotpop.com
3dd9b150e5
Bug 170985 : fix for gcc3.4 bustage
...
git-svn-id: svn://10.0.0.236/trunk@147226 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 07:30:16 +00:00
hpradhan%hotpop.com
2386bca751
Bug 170985 : table-based content object creation r=peterv sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@147220 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 06:16:52 +00:00
bzbarsky%mit.edu
bb9f55d007
Make DOM CSS declarations smaller by mRefCnt, since they are refcounted
...
together with their DOM rules (except for inline style). Bug 215735,
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147214 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 03:34:27 +00:00
dbaron%dbaron.org
f627142fa1
Fix --disable-xul bustage. b=219058
...
git-svn-id: svn://10.0.0.236/trunk@147128 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-22 23:53:07 +00:00
dbaron%dbaron.org
68981b901b
Accept :-moz-tree-* pseudo elements with a single colon in them. b=219058 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147100 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-21 05:21:40 +00:00
jst%mozilla.jstenback.com
b678c75d2c
Fixing bug 217000. Make sure the content sink gets a docshell even if we don't have a script global object (fixed document.write in some javascript: [i]frame cases). r=caillon@aillon.org, sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@147070 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-19 20:00:24 +00:00
dbaron%dbaron.org
2f071d5ceb
Don't create style rule DOM wrappers for inline style, since we are not supposed to, and ours crash when used on inline style. b=218222 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@146845 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 19:18:52 +00:00
timeless%mozdev.org
da927140fb
Bug 217089 Compiler warnings
...
patch by mbockelkamp@web.de r=jst sr=jst
git-svn-id: svn://10.0.0.236/trunk@146729 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 03:18:49 +00:00
dbaron%dbaron.org
ef866f2827
Remove unneeded null checks in attribute mapping functions. r+sr=bzbarsky b=127269
...
git-svn-id: svn://10.0.0.236/trunk@146697 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 01:34:29 +00:00
bryner%brianryner.com
978d05c917
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@146614 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 21:50:21 +00:00
caillon%returnzero.com
d55b44719f
Backing out the patch to bug 83536.
...
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
git-svn-id: svn://10.0.0.236/trunk@146256 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-22 03:06:53 +00:00
dbaron%dbaron.org
27cf2ed74a
Fix attribute mapping for image inputs by always mapping the attributes that work on image inputs. b=214077 r+sr=bzbarsky a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@145883 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-11 21:53:24 +00:00
bzbarsky%mit.edu
edbe6382af
Don't use uninitialiazed hashtable. Bug 214941, r=bsmedberg, sr=peterv, a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@145875 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-11 18:16:48 +00:00
jag%tty.nl
c96cf7021a
Bug 212793: crash when following link when a file upload box is on the screen with XSLT generated content. r=Pike, sr=jst, a=choffman
...
git-svn-id: svn://10.0.0.236/trunk@145702 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-07 18:58:30 +00:00
roc+%cs.cmu.edu
c0bc42c584
Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145645 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-06 03:07:12 +00:00
brendan%mozilla.org
95220b5330
Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron).
...
git-svn-id: svn://10.0.0.236/trunk@145624 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 20:09:21 +00:00
axel%pike.org
2da9322e74
bugs 151002, 212892, CDATA should be eTEXT, add nsIContent::ePROCESSING_INSTRUCTION and nsITextContent::AppendTextTo for XSLT perf
...
git-svn-id: svn://10.0.0.236/trunk@145449 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-01 11:44:17 +00:00
bzbarsky%mit.edu
8f8f987c9c
Don't override earlier attrs on <body> with later ones from a separate <body>
...
tag (we merge all the attrs onto the single <body> node; oh, the insanity!)
Bug 214577, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@145423 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-31 14:07:17 +00:00
bzbarsky%mit.edu
91bfd993dc
Fix issues with ScriptAvailable() not firing for some scripts. Bug 214081, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@145410 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-31 01:28:16 +00:00
bzbarsky%mit.edu
feff597227
Fix border-side parsing to not mess up the color. Bug 214487, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145404 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 23:45:34 +00:00
caillon%returnzero.com
c8612ff038
Bug 38370.
...
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@145375 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu
a7dde4e815
Fix crash when an event handler removes the submitting element from the
...
document. Bug 194582, patch by mats.palmgren@bredband.net (Mats Palmgren),
r=jkeiser, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@145358 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-29 22:59:37 +00:00
bzbarsky%mit.edu
a0f8a29dd2
Fixing more windows bustage
...
git-svn-id: svn://10.0.0.236/trunk@145304 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-29 01:15:55 +00:00
caillon%returnzero.com
0faa02efe6
Introduce a weak ptr here to avoid extra addref/releases in this loop. r+sr=bzbarsky@mit.edu on irc.
...
git-svn-id: svn://10.0.0.236/trunk@145297 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 22:32:31 +00:00
bzbarsky%mit.edu
8d4d0761b1
Left this out. Bug 213823, r=caillon, sr=build-bustage
...
git-svn-id: svn://10.0.0.236/trunk@145295 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 22:23:06 +00:00
bzbarsky%mit.edu
67e7a64c5d
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@145285 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:17:26 +00:00
bzbarsky%mit.edu
0147d8d4a6
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@145284 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:09:56 +00:00
bsmedberg%covad.net
f24d69bc30
Fix assertion from bug 211470, rs=bz
...
git-svn-id: svn://10.0.0.236/trunk@145261 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 01:12:36 +00:00