Commit Graph

7851 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
0c5dc097d7 Don't bother reresolving style when empty stylesheets get added (eg from empty
<style> elements).  Also remove the methods for blowing away the ruletree
during a style reresolve, since ruletrees are now garbage-collected.  Bug
196557, r+sr=dbaron
2003-07-04 01:44:24 +00:00
bzbarsky%mit.edu
10600c0acd Add support for '::' notation for CSS pseudo-elements (bug 62843). Drop
selectors containing unrecognized pseudo-classes and pseudo-elements (bug
145968).  Fix some CSS rules in quirk.css and xul.css that were bogus (no
bug).  Patch in bug 62843.  r+sr=dbaron
2003-07-04 01:33:10 +00:00
caillon%returnzero.com
3659da7f9c Fixing member re-ordering warnings. r+sr=jst@netscape.com; No bug. 2003-07-03 23:33:36 +00:00
bzbarsky%mit.edu
a44b082965 Pass the right document to ParseColor() even when the node is not in a
document.  Bug 211440, r=jkeiser, sr=jst
2003-07-03 20:37:04 +00:00
bzbarsky%mit.edu
81acd2c428 Return already_AddRefed instead of a raw addrefed pointer. Bug 211195, r+sr=bryner 2003-07-03 20:34:52 +00:00
bzbarsky%mit.edu
49a70c351d Random array and already_AddRefed magic in XML content sink. Bug 211196,
r=caillon, sr=jst
2003-07-03 05:34:26 +00:00
bzbarsky%mit.edu
ccf7f1204b Follow-up tweak to bug 211030, r+sr=jst 2003-07-03 02:52:29 +00:00
bzbarsky%mit.edu
ddefad53cd Fix crash on fetching rowIndex of a row that's not in a table. Bug 211357, r+sr=jst 2003-07-03 02:47:33 +00:00
bzbarsky%mit.edu
0b0c3f7646 Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
caillon%returnzero.com
a9bfdfc246 Bug 210556 - Plaintext serialization with no formatting whatsoever should be possible.
This makes Node.textContent behave as defined in the DOM Level 3 draft.
r=harishd@netscape.com sr=jst@netscape.com
2003-07-03 00:34:34 +00:00
dbaron%dbaron.org
29254c752a Remove hints from CSS property list. b=158713 r+sr=bzbarsky 2003-07-02 22:17:23 +00:00
dbaron%dbaron.org
b10e90f02b Remove remaining user of CSS-property-based style hints. b=158713 r+sr=bzbarsky 2003-07-02 21:05:09 +00:00
bzbarsky%mit.edu
76858d0dcb Adjust hack dealing with the root scrollable frame to only map <body> to it in
quirks mode and to map <html> to it in both quirks and standards mode.  This is
more or less compatible with what IE6/Windows does.  Bug 211030, r+sr=jst
2003-07-01 23:47:27 +00:00
bzbarsky%mit.edu
648fe5ca55 Make it possible to set attrs in a non-null namespace on (X)HTML elements. Bug
211296, r+sr=jst
2003-07-01 23:32:18 +00:00
bryner%netscape.com
dfd3c1dd7a Fix some issues related to focus changes in onfocus and onblur handlers:
- Abort firing blur events on the document and/or window if one of the blur handlers focuses something else.  This ensures that the caret doesn't get confused about whether it should be active.
  - Release any mouse or key grab when the view manager sees a deactivate event; this fixes event targeting when a mousedown handler opens a modal dialog.
  - Make sure the editor element is actually focused before activating the caret. Just receiving a focus event isn't good enough, since a focus change does not cancel propagation of the original event.

Bug 53579, r=jkeiser, sr=roc.
2003-07-01 22:46:55 +00:00
timeless%mozdev.org
7146549efc Bug 211281 optimization for 'rare' oom check
r=bz sr=bz
2003-07-01 18:41:39 +00:00
bzbarsky%mit.edu
e03846f19f removing unused string var 2003-07-01 14:59:12 +00:00
bzbarsky%mit.edu
fd57f310f1 Change GetHrefUTF8 to GetHrefURI to make sure that we don't lose track of the
origin charset.  Bug 166996, r=dbaron,darin sr=jst
2003-07-01 02:59:54 +00:00
dbaron%dbaron.org
c00fbe09c4 Clean up EnsureBlockDisplay and make it do the right thing for inner table display types. b=210873 r+sr=bzbarsky 2003-06-30 21:48:56 +00:00
dbaron%dbaron.org
97c994908a Remove change hints from CSS parser and replace with boolean indicating whether there was a change, computed a much simpler way. b=158713 r+sr=bzbarsky 2003-06-30 21:39:22 +00:00
dbaron%dbaron.org
ef811ed02b Fix crash bug 209575 by ensuring that mDeclaration is never null. Remove unneeded null checks. r+sr=bzbarsky 2003-06-30 21:31:25 +00:00
dbaron%dbaron.org
a835d37852 Fix missing AddRef that was causing crashes in inspector. b=208190 r+sr=roc 2003-06-27 21:06:45 +00:00
jkeiser%netscape.com
78ba276e17 Make NOSCRIPT show up normally when script disabled (bug 77296), r=bzbarsky@mit.edu, sr=dbaron@dbaron.org 2003-06-26 06:10:03 +00:00
jst%netscape.com
5132df367b Fixing more of bug 209884. Same change that was done all over the place in the original patch, sr=me. 2003-06-25 23:59:34 +00:00
neil%parkwaycc.co.uk
44cffa15b1 Bug 209911 XUL tree blob sort ignores sort direction r=varga sr=jag 2003-06-25 08:46:31 +00:00
rbs%maths.uq.edu.au
a3601b3e47 Helper patch for bug 15364. Expose an API to allow scripts to show the caret even in selections (a la Emacs). Users can also set the pref ui.caretVisibleWithSelection to 1, which gives a nice combination with caret browsing (hit F7). r=sfraser, sr=bzbarsky 2003-06-25 01:14:25 +00:00
caillon%returnzero.com
51b0528644 210451 - Make Node.textContent settable, followup to earlier checkin.
r+sr=jst@netscape.com
2003-06-24 23:05:59 +00:00
jst%netscape.com
abefba9053 Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com 2003-06-24 21:43:01 +00:00
caillon%returnzero.com
fd98991136 210451 - Implement getting Node.textContent (see the DOM3 WD)
r+sr=jst@netscape.com
2003-06-24 21:39:39 +00:00
roc+%cs.cmu.edu
542467a8bd deCOMtaminate nsIFrame::GetWindow; the COM wrapper doesn't ADDREF when it should, the easiest thing to do is to just not use the wrapper. r+sr=dbaron 2003-06-24 13:39:15 +00:00
bzbarsky%mit.edu
938220298d Add asserts on people attempting to fetch attributes in the
kNamespaceID_Unknown namespace or call HasAttr on such.  Bug 210314, r+sr=jst
2003-06-24 06:45:34 +00:00
dbaron%dbaron.org
1ce98378e3 Fix windows bustage. b=188803 2003-06-24 06:20:18 +00:00
dbaron%dbaron.org
06bb24f863 Implement the DOM interfaces for CSS style rules on a wrapper object which allows the immutable rule object to be swapped out underneath. b=188803 r+sr=bzbarsky 2003-06-24 05:40:37 +00:00
dbaron%dbaron.org
6a1ab46ff2 Fix dynamic changes to negated attribute or state selectors. b=210458 r+sr=bzbarsky 2003-06-24 05:34:30 +00:00
jst%netscape.com
6ec7a0e4d1 Fixing bug 210443. Cut down on the malloc's done when loading images. r=caillon@aillon.org, sr=bzbarsky@mit.edu. 2003-06-24 05:32:59 +00:00
bzbarsky%mit.edu
61a6512de2 Fix matching when attribute selectors with "*" as a namespace are involved.
Bug 210314, r+sr=dbaron
2003-06-24 04:50:05 +00:00
bzbarsky%mit.edu
3906cefb0c Make XBL methods and properties report useful line numbers and urls so that the
JS errors/warnings in the JS console point to the right place.  Bug 127567,
r=bryner, sr=alecf
2003-06-24 01:20:40 +00:00
bzbarsky%mit.edu
f75f9017d9 Make setting contentType or contentCharset act as hints if done before channel
open; use this in the CSSLoader to hint that we want text/css data.  Bug
120789, r=dougt, sr=darin
2003-06-23 21:00:46 +00:00
bsmedberg%covad.net
1a9cab373f Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz 2003-06-23 20:31:43 +00:00
bzbarsky%mit.edu
46701a74ea Fix some DEBUG_bzbarsky code people didn't bother to update. r+sr=whatever 2003-06-23 18:34:02 +00:00
alecf%flett.org
10e1d18eaf fix for bug 209780 - do UTF16->UTF8 conversion outside the recursion, so that we don't constantly convert the string we're looking for
r=dbaron, sr=jst
2003-06-23 18:32:10 +00:00
jshin%mailaps.org
d208f051a7 bug 206379 : additional patch : get rid of ResolveCharset() (static) and
rely on GetUnicodeDecoder() of nsICharacterSetConverterManager to take care of
the charset alias resolution. (r/sr=bzbarsky, sr=alecf)
2003-06-23 05:04:43 +00:00
caillon%returnzero.com
bdd9896fe3 [Bug 210254] nsEventListenerManager::mPrincipal is unused. Also reorganizes some members to better align them.
r+sr=bzbarsky.
2003-06-22 13:12:14 +00:00
bzbarsky%mit.edu
8d87ec2250 Seems to have no effect on Tp, so relanding. Who knows what btek is
thinking....
2003-06-22 06:34:08 +00:00
bzbarsky%mit.edu
16ff7adf5e Backing the rest of this out to see whether it affects Tp. 2003-06-22 03:33:33 +00:00
bzbarsky%mit.edu
35e16c1704 Backing out these last two checkins to see whether this is the cause of Tp troubles. 2003-06-22 01:13:59 +00:00
jst%netscape.com
2297bec5b0 Fixing typo in comment. 2003-06-21 18:03:15 +00:00
bzbarsky%mit.edu
a786eb9afb Only make the check for sameness if there are listeners or if we plan to fire
notifications.  Trying to fix small Tp regression. Bug still 209634, r=caillon,
sr=jag
2003-06-21 07:29:52 +00:00
dwitte%stanford.edu
b444fcb403 removing some unused default ctors now that nsDerivedSafe can handle it.
no bug, r+sr=bz
2003-06-21 07:01:42 +00:00
bzbarsky%mit.edu
1ba227c7d1 Make sure to fire no mutation events or internal notifications on attribute
changes that don't change the attr value.  Bug 209634, r=caillon, sr=jst
2003-06-21 04:55:32 +00:00