Граф коммитов

1551 Коммитов

Автор SHA1 Сообщение Дата
jst%netscape.com ee8ed3b2e1 De-tabifying. Die tabs, die! :-) 2002-09-13 23:10:58 +00:00
hyatt%netscape.com fec7cccf7a Fix for 168352, getElementByID assertions, r/sr=bryner,brendan 2002-09-12 23:13:14 +00:00
brade%netscape.com 12c6df67d8 fix api for JS usage (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:10:32 +00:00
hyatt%netscape.com b815570db2 A collection of broadcaster fixes. Make sure observes are unhooked when removed from the doc. ALso suppress notifications on hookup, since they result in double frame construction. Bug 167445. r/sr=ben/bryner 2002-09-12 04:40:22 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
bryner%netscape.com 11659c8e1c Bug 141295 and 153681 - fix some timing problems with initial focus. Make sure that window watcher's activeWindow accurately reflects the last window to receive an NS_ACTIVATE. Remove the GetFocusController API from nsIDocument, since the focus controller can now be obtained for the entire lifetime of the document by using GetContainer(). Cleaned up some methods on nsEventStateManager/nsIEventStateManager that were virtual for no reason. r=danm, sr=jst. 2002-09-06 00:19:58 +00:00
sicking%bigfoot.com 3dcee9b795 Bug 159314: Fastload is wasteful wrt nodenames. Instead of serializing nodename+namespaceURI for each element/attribute, serialize a table of all nodename+namespaces used by a document and then serialize pointers into that.
r=jst sr=hyatt
2002-09-03 22:31:38 +00:00
jkeiser%netscape.com 32844f7719 Make anonymous content inaccessible to web content (bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-29 04:05:39 +00:00
bbaetz%student.usyd.edu.au e1742b6500 Backing out jkeiser's checkin for bug 164086 (not bug 96537) because he
left a file out, and the tree turned red....
2002-08-28 10:13:28 +00:00
jkeiser%netscape.com 8aa6968431 Make anonymous content inaccessible to web content (bug 96537), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-28 08:19:43 +00:00
roc+%cs.cmu.edu cb32a0f906 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2002-08-24 14:41:28 +00:00
bryner%netscape.com 025fb3a058 Get rid of gcc3's numerous warnings about using <new.h> instead of <new> by creating a new #define, NEW_H, which should be used instead of <new.h> or <new>. This is so we can continue to support a couple of braindead compilers that don't accept <new>. Bug 155852, r=cls. 2002-08-19 03:50:27 +00:00
caillon%returnzero.com cbbdd9ee40 119044 - Prevent a crash when trying to append/insert the current element or one of its ancestors into itself. Throw the correct exception in this case per the DOM spec.
Thanks to Neil Deakin <ndeakin@sympatico.ca> for pinpointing this and providing a patch.
r=bryner/caillon sr=jst
2002-08-17 01:43:07 +00:00
alecf%netscape.com f34730c3ac fix off-by-one error from bug 162947, found by rbs@maths.uq.edu.au
(no functional change, just prevents assertion)
2002-08-16 21:47:12 +00:00
dbaron%fas.harvard.edu d4cc4f7061 Handle style attribute changes in XUL through the normal style change mechanism rather than forcing a reframe. Change nsIStyledContent::WalkInlineStyleRules to nsIStyledContent::GetInlineStyleRule to simplify nsCSSFrameConstructor::AttributeChanged. b=156971 sr=hyatt r=bzbarsky 2002-08-16 11:29:20 +00:00
alecf%netscape.com fa6fe66780 fix bug 162947 - small leak in nsXULDocument
sr=jst, r=timeless
2002-08-16 01:04:40 +00:00
caillon%returnzero.com 0b39911bf1 155794 Make nsXULElement::SetPersist() do the right thing.
Patch by ndeakin@sympatico.ca
r=jrgm sr=blake
2002-08-15 08:41:36 +00:00
heikki%netscape.com aada8cb19a Fix OS/2 bustage - const should not be here. 2002-08-13 23:57:36 +00:00
heikki%netscape.com 3c4832e229 Bug 63558, we now store XML declaration in the document and can serialize it. There is fix for 158617 as well, newlines behave properly around doctype. r=bzbarsky, sr=jst. 2002-08-13 18:41:16 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
seawood%netscape.com 301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
dbaron%fas.harvard.edu b4de133022 Propagate |aNotify| parameter through XBL to attribute changes of XBL-inherited attributes. b=156547 sr=hyatt r=bryner 2002-08-06 13:39:22 +00:00
sicking%bigfoot.com 39c966dd38 Use principals instead of URIs for same-origin checks.
b=159348, r=bz, sr=jst, a=asa
2002-07-30 21:26:32 +00:00
alecf%netscape.com e9e1a39573 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
alecf%netscape.com 47b3f07056 more prep for bug 119923 - use chrome registry ContractID rather than CID, so that we can drop in a new embedding-only chrome registry
r=bnesse, sr=dveditz, a=asa
2002-07-23 23:30:04 +00:00
sicking%bigfoot.com a51a99a196 Make sure it is possible to get URI of xul elements even if they share nodeinfo with their prototype and are removed from the document tree.
b=156452 r=bz sr=jst a=asa
2002-07-23 22:16:45 +00:00
timeless%mac.com 975a3e12c6 Bug 158202 crash opening venkman and closing navigator [@nsXULElement::GetOwnerDocument]
patch by sicking@bigfoot.com r=bz sr=jst a=scc checkin authorized by scc
2002-07-19 17:03:03 +00:00
sicking%bigfoot.com c2e51f12c5 Reenable same-origin checks. Patch by me and jst.
b=156452 r=peterv/sicking/jst sr=bz/jst a=chofmann
2002-07-18 05:53:28 +00:00
sicking%bigfoot.com 17bc6e66e4 Add same-origin checks in a few DOM methods. Patch by me and jst.
b=156452, r=jst/me, sr=bz, a=pending
2002-07-16 13:09:15 +00:00
mjudge%netscape.com 47e8fbc7bf r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled. 2002-07-15 22:04:13 +00:00
sicking%bigfoot.com e19f713214 Add sameorigin checks to treewalker
b=156452, r=mstoltz, sr=jst, a=chofmann
2002-07-15 19:25:27 +00:00
jst%netscape.com e6ddef4fe9 Fixing security bug 134315. Make sure we clear the JS scope in cases where it's needed. r=mstoltz@netscape.com, sr=brendan@mozilla.org 2002-07-09 03:23:56 +00:00
waterson%netscape.com 9e904c1573 Bug 132905. Wallpaper to avoid crash when we can't find a match. r=rjc, sr=alecf. 2002-07-03 16:59:29 +00:00
seawood%netscape.com 03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu 6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu e63a11c0e8 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
varga%utcru.sk 6671a0756a Fix for bug 127842 - Reload the Bookmark and History tab context menu in
sidebar crashes mozilla
r=bryner, sr=shaver
2002-06-21 12:18:48 +00:00
dbaron%fas.harvard.edu 32d8cc878c XUL fastload shouldn't call ParseStyleAttribute when there is no style attribute. b=151262 r=waterson sr=brendan 2002-06-13 22:14:36 +00:00
ben%netscape.com fa148fdef3 Fix for topcrashers bug 143118 and bug 146891 - prevent continued deserialization after a a deserialization failure of the XUL PD by aborting on failure, also, ensure that that propagates up so we can catch it. Fix an oops (trying to remove the fasl file before closing the stream to it) and hack around a nsLocalFileWin bug (bug 150156) in the process. r=waterson, sr=brendan, a=asa 2002-06-09 10:31:00 +00:00
alecf%netscape.com bcf192e308 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
timeless%mac.com c3741ef7d1 Bug 144763 tolerate do_QueryReferent() returning null [@nsXULPrototypeScript::Compile]
r=harishd sr=jst
2002-06-03 19:17:46 +00:00
dbaron%fas.harvard.edu 8d231a5fae Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst 2002-05-23 23:09:31 +00:00
harishd%netscape.com 1e4585c9ba Ensuring complete consumption of DOCTYPE content. b=142625, r=heikki, sr=jst 2002-05-22 00:46:16 +00:00
dbaron%fas.harvard.edu d2188e6086 Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst 2002-05-22 00:14:51 +00:00
jst%netscape.com 262f28f900 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00
jst%netscape.com c68cadcb79 Fixing bug 131841. Don't make calls on weak XPCOM (nsIPresShell in this case) pointers since the objects might go away during the call, this lead to a crash in this particular case. r=sicking@bigfoot.com, sr=vidur@netscape.com, brendan@mozilla.org 2002-05-18 00:02:50 +00:00
varga%utcru.sk 0cc2ec0655 Fix for bug 142404 - nsXULTreeBuilder::Drop should enable drop if canDropBeforeAfter is true
r=varga, sr=hewitt
2002-05-15 19:51:08 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
caillon%returnzero.com ddd3d5d711 Initial implementation of DOM Level 3 Core methods Node.compareTreePosition() and Node.isSameNode(), Bug 139344, r=jkeiser, sr=jst 2002-05-14 01:28:17 +00:00
timeless%mac.com ed1ec0e54d Bug 142853 disabling XUL cache causes assertions, eats ram
honor pref: nglayout.debug.disable_xul_cache
this fixes the assertion
r=waterson sr=alecf
2002-05-14 01:15:27 +00:00
hewitt%netscape.com 804cbe3128 129980 - crash right clicking while loading page, r=peterl, sr=ben 2002-05-09 01:43:18 +00:00
waterson%netscape.com bb36eb4d2b Bug 132905. Tweak CreateTemplatecontents slightly to help isolate a topcrash. r=rjc, sr=alecf 2002-05-08 18:50:41 +00:00
darin%netscape.com 6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
ben%netscape.com 399e766e81 bug 142165, crash and fasl file invalidation when loading non-chrome XUL files.
Ensure that we only poke the chrome cache for prototype documents that are chrome
URIs. Also, ensure that we only cache the fasl'ed prototype when it was read
without hiccup.
r=blake, sr=brendan.
2002-05-07 01:29:44 +00:00
mkaply%us.ibm.com c355d8c308 OS/2 bustage 2002-05-05 03:26:52 +00:00
mkaply%us.ibm.com dd81682347 OS/2 bustage - its either remove PR_CALLBACK or add it to the header. I don't have an OS/2 machine since I am in San Antonio where my new son was born. See http://www.kaply.com 2002-05-04 18:49:30 +00:00
bryner%netscape.com 7801134817 Make the XUL cache lock gc'ing of script objects while they are in the cache, to prevent pulling out a bogus JSObject. Bug 132216, r=waterson, sr=brendan. 2002-05-04 09:15:04 +00:00
ben%netscape.com 4d1250c271 Forgot to mention that all prior checkins were for bug 112064 :-) 2002-05-03 03:10:23 +00:00
ben%netscape.com a67d1f4b6f [Chrome FastLoad]
Implement XUL Prototype Document and Prototype Element serialization/deserialization scheme for FastLoad of chrome documents.
r=brendan, sr=hyatt
2002-05-03 03:04:34 +00:00
shaver%mozilla.org 32e2ad6d6b Fix Forte bustage resulting from fix for 124335 (private, unused |operator new|
not returning a value).  Trading for warnings on gcc, which would really
rather have me throw an exception.
2002-04-30 12:44:49 +00:00
shaver%mozilla.org f4d99037e1 Use an nsFixedSizeAllocator to legalize the bit-packing's assumption that
all nsXULAttributes pointers will be 8-byte aligned.  Bug 124335, r=brendan,
sr=waterson.
2002-04-29 21:28:29 +00:00
alecf%netscape.com 9348ce8ac8 fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
r=jag, sr=darin
2002-04-29 20:29:54 +00:00
darin%netscape.com e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
jst%netscape.com d2298f34f2 Fixing bugs 138138 and 138663. Making boxobjects clear their presentation related data when a XUL document is hidden. r=jkeiser@netscape.com, sr=rpotts@netscape.com 2002-04-22 23:48:14 +00:00
jaggernaut%netscape.com 7e4e14d8c5 Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux. 2002-04-20 01:48:32 +00:00
joki%netscape.com bdfd051dfb Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface).  These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
2002-04-19 02:52:01 +00:00
pinkerton%netscape.com 51e2faee6d removing nsControllerCommandManager. r=ccarlen/sr=sfraser. bug# 137647. 2002-04-18 22:09:52 +00:00
jst%netscape.com ea45ab47a7 Fixing crasher bug 138138. Clear the box object table in xul documents when a xul document is hidden since the box object table may contain references to non-refcounted frames that will be destroyed when the document is hidden. r=jkeiser@netscape.com, sr=heikki@netscape.com 2002-04-18 19:50:31 +00:00
jst%netscape.com cd9afd67e1 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2002-04-17 04:17:16 +00:00
dougt%netscape.com ccf4243cd6 fix mac build bustage 2002-04-16 01:25:24 +00:00
dougt%netscape.com 4c7faccac7 removing #error to fix build bustage 2002-04-15 23:57:42 +00:00
dougt%netscape.com f4cf458eb8 Use flat strings when constructing string keys. This fixes a few high volume string key constructors. See 135781. r=dp@netscape.com, sr=darin@netscape.com 2002-04-15 22:39:43 +00:00
alecf%netscape.com c86e3e23b8 fix bustage by switching from nsIChromeRegistry to nsIXULChromeRegistry 2002-04-12 02:42:13 +00:00
dbaron%fas.harvard.edu 07103ecbea Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt 2002-04-11 03:49:30 +00:00
peterv%netscape.com 083b5b8143 Fix for bug 34849 (dynamically added STYLE element doesn't alter style). r=sicking, sr=jst, a=roc+moz, adt=jaimejr. 2002-04-05 11:29:40 +00:00
hyatt%netscape.com 08d1853958 Fix for 99344, inline styles not being recognized under certain DHTML circumstances. r=dbaron, sr=waterson, a=asa 2002-04-05 08:05:33 +00:00
timeless%mac.com a84a7e233f http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com bf7702387e Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 22:42:19 +00:00
jst%netscape.com 020632bdc1 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers. 2002-04-04 07:31:16 +00:00
jst%netscape.com aa9f71957d Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 02:09:19 +00:00
jdunn%netscape.com ec18a46eda fixing 64bit'ism found on AIX
r=Roland.Mainz@informatik.med.uni-giessen.de
sr=brendan@mozilla.org
a=roc@mozilla.org
# 133801
2002-04-01 20:54:30 +00:00
jkeiser%netscape.com e95bf883e6 Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2002-03-31 10:14:01 +00:00
jkeiser%netscape.com 31e41094ef Backing out 108308 due to pageload spike 2002-03-29 07:35:09 +00:00
jkeiser%netscape.com 39fe8af27c Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org) 2002-03-29 05:35:47 +00:00
hewitt%netscape.com 0bd9ddf1cf fixing btek bustage 2002-03-29 03:49:56 +00:00
hewitt%netscape.com d38a0937d9 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2002-03-29 02:46:01 +00:00
bryner%netscape.com 2ebd0f2677 Fixing mac bustage - updating the project file, also getting rid of these source files that I meant to remove. 2002-03-27 09:13:28 +00:00
bryner%netscape.com 653df3043e Revert to using an attribute for menuactive (bug 133610). r=ben/jkeiser, sr=jst, a=asa. 2002-03-27 07:01:26 +00:00
bryner%netscape.com f9924338ba Fixing crash in navigating context menu, caused by my checkin for bug 130778. r=pavlov, sr=scc, a=asa. 2002-03-25 05:30:50 +00:00
bryner%netscape.com 54e3bd6266 Second try at fixing bug 130778. Create a new content interface, nsIMenuElement, which is implemeneted on nsHTMLSelectElement, nsHTMLOptGroupElement, and the newly-created nsXULMenuElement. Create a nsXULMenuElement instance for XUL menubar and menupopup tags. Use this interface to set and get the active item from the XUL menuframe code and the :-moz-menuactive pseudoclass matching code. Should eliminate the Txul slowdown resulting from fetching the active item through js from the pseudoclass matching code. r=jkeiser, sr=jst, a=scc. 2002-03-24 22:38:21 +00:00
dbaron%fas.harvard.edu a4acc9eb7b Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:46:13 +00:00
darin%netscape.com 9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
alecf%netscape.com 451df7d6c3 a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc 2002-03-19 06:46:56 +00:00
timeless%mac.com dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
hyatt%netscape.com 5deeb90b2d Landng boomar groups. 119599 r ben sr jag a asa 2002-03-19 00:45:04 +00:00
rbs%maths.uq.edu.au 8f6916c2d9 perf bug 124570 - configure mathml.css as a catalog stylesheet that is loaded on demand rather than at startup, r=harishd, sr=jst, a=asa 2002-03-15 09:45:31 +00:00
ben%netscape.com 830cc28946 Fix for 128815 - numerous bookmarks improvements, including fixes for bugs: 77411, 114142, 126748, 128571.
- update outliner builder to expose "Sort" method publicly.
r=blake, sr=hyatt, a=asa
2002-03-12 22:45:05 +00:00
heikki%netscape.com bf57164cba Bug 129608, moving XML parsererror into its own namespace along with the CSS rules so it won't mess up with web pages using parsererror and sourcetext tags. Clean up the content tree before parser error. Also removing dead files. r=harishd, sr=jst, a=roc+moz@cs.cmu.edu. 2002-03-12 22:17:18 +00:00
darin%netscape.com 281c86ec58 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +00:00
bryner%netscape.com d2229cbf68 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00