dbaron%dbaron.org
f91cb66f02
Apply the quirk that simple selectors of the form ':hover' apply only to links to those of the form '.class:hover' as well. b=169078 r+sr=bzbarsky
2003-01-14 21:50:27 +00:00
dbaron%dbaron.org
1e96329338
Implement CSS3 :target pseudo-class, which matches the target of the fragment identifier of the document's URL. Change the semantics of nsIPresShell::GoToAnchor by requiring that it be called whenever the current target changes, with an additional boolean parameter specifying whether to scroll. b=188734 r=glazman sr=bzbarsky
2003-01-13 23:10:53 +00:00
dbaron%dbaron.org
48544669f3
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
2003-01-08 19:24:38 +00:00
peterv%netscape.com
d96051a4a2
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
2002-12-11 14:24:49 +00:00
bzbarsky%mit.edu
fe53f95e60
Make the CSSLoader correctly order stylesheets as they are dynamically added
...
and removed via the DOM. Clean up the nsIDocument stylesheet accessors. Clean
up nsIDocumentObserver stylesheet stuff a bit. Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off. Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking, sr=peterv.
2002-12-03 05:48:14 +00:00
peterv%netscape.com
2cd27f702a
Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
2002-11-29 23:44:07 +00:00
sicking%bigfoot.com
8d87d5e285
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
dbaron%fas.harvard.edu
f6b1702067
Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
2002-11-17 15:37:56 +00:00
dbaron%fas.harvard.edu
9c32fa806d
Remove unused ability to optionally arena-allocate certain stylesheet objects. b=174256 r=kin sr=bzbarsky a=rjesup
2002-10-14 23:57:17 +00:00
alecf%netscape.com
b15e45e72d
re-fix bug 166147 - autoinitialize mRefCnt to 0 for more efficient constructors
...
r=dougt, sr=jag, this time including some CSS stuff that has 31-bit refcounts.
2002-09-17 04:49:28 +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
bzbarsky%mit.edu
cff9eae530
Clean up the mLanguage string. Bug 35768 add-on, rs=dbaron, r=sicking
2002-08-14 22:37:33 +00:00
dbaron%fas.harvard.edu
f9fe875d87
Remove extraneous line pointed out by peterv. b=35768
2002-08-14 14:23:56 +00:00
dbaron%fas.harvard.edu
768c965b07
Attempt to fix page load regression. b=35768
2002-08-14 14:01:39 +00:00
dbaron%fas.harvard.edu
79638e5f49
Implement CSS2 :lang() selector. Fix problems with dynamic changes of 'quotes' property. Patch mostly by Ulrich Drepper (drepper@redhat.com), with some changes by Pierre Saslawsky and dbaron. r=rbs, dbaron sr=bzbarsky b=35768
2002-08-14 12:34:39 +00:00
bzbarsky%mit.edu
485200387c
dynamically adding @import rules does not trigger all the updates it
...
should. Bug 160065, r=peterv, sr=dbaron
2002-08-06 05:08:47 +00:00
seawood%netscape.com
0597412383
The c++ standard requires that the throw list be used when declaring functions as well as defining them.
...
commercial compiler fixes for bug #149032
2002-07-03 17:14:41 +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
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
mstoltz%netscape.com
6f5d99be4c
133170 - Need to re-check host for security on a redirect after a call to
...
XMLHttpRequest.open(). For xmlextras, r=heikki, sr=jband. For caps,
r=bzbarsky, sr=jst
147754 - Add same-origin check to XMLSerializer. Patch by jst. r=mstoltz,
sr=jband
113351 - Add same-origin check to XSL Include. Patch by peterv and jst,
r=mstoltz, sr=rpotts
135267 - Add same-origin check to stylesheets included via LINK tags.
r=dveditz, sr=scc
2002-06-14 23:54:18 +00:00
glazman%netscape.com
2bc07ba87c
fixing crasher due to outbounds index in nsCSSStyleSheet.cpp; b=151198, r=brade, sr=jst
2002-06-13 08:29:51 +00:00
mstoltz%netscape.com
0f1432a6c5
Backing out fix for 135267 - this patch requires another change that hasn't gone in yet.
2002-06-12 22:49:14 +00:00
mstoltz%netscape.com
dfd61675d7
Fixing 135267 - don't allow access to style rules loaded from a different
...
host. r=dveditz, sr=scc.
2002-06-12 21:20:17 +00:00
dbaron%fas.harvard.edu
30dcd428ab
Convert the 4 tables of the RuleHash from nsHashtable to pldhash. Encapsulate the differences between tables, and the quirks/strict differences within the id and class tables, in the 6 sets of hashtable ops. Remove mCaseSensitive member and related code from AtomKey and remove nsInt32Key completely. Null-terminate lists of RuleValues rather than using a special mEndValue, and build the lists in the reverse order (reversing the meaning of their index). Store universal rules in their own list rather than using magic key. b=112318 sr=waterson r=brendan
2002-05-29 00:49:44 +00:00
jst%netscape.com
1075a3f80d
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
2002-05-23 00:00:34 +00:00
dbaron%fas.harvard.edu
71e2043a88
Limit the quirk that prevents dynamic pseudo-classes from applying to quirks mode, to :hover and :active only, and to a stricter definition of global selectors, since we no longer have to worry about performance problems. b=96984 sr=attinasi r=bzbarsky
2002-05-19 02:05:29 +00:00
gerv%gerv.net
0f7ebbdfe9
Bug 3935 - mozilla-native psuedo classes and properties should be marked as such. This fixes a number of them; still a few more to do. Patch by gerv, r=dbaron, sr=jst, a=asa.
2002-04-19 08:07:11 +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
dbaron%fas.harvard.edu
31405a1069
Remove bitrotted DEBUG_RULES code. Clean up RULE_HASH_STATS debugging code. Add comments to HasStateDependentStyle, and speed it up by making IsStateSelector match only what it needs to. Clean up GetRuleCascade by sorting the final array in non-reversed order and merging BuildStateEnum and BuildHashEnum. b=128743 r=bzbarsky sr=waterson
2002-04-15 22:49:26 +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
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
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
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
a68d8f9629
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:56:05 +00:00
dp%netscape.com
aa74baaa2e
bug 131249 Using arena for RuleHash r=dbaron@fas.harvard.edu,
...
sr=sfraser, a=asa
2002-03-22 06:28:16 +00:00
bryner%netscape.com
2a55a8bbfb
Backing out my checkin from earlier (bug 130778), it seems to be the culprit for the Tp increase.
2002-03-21 07:33:51 +00:00
bryner%netscape.com
65ba075a1d
Bug 130778 - fixing Txul regression from changing 'menuactive' attribute to :-moz-menuactive pseudoclass. Get the menuactive state from the frame instead of the content node so that we don't have to call through xpconnect and js. r=dbaron, sr=hyatt, a=asa.
2002-03-20 22:48:24 +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
dbaron%fas.harvard.edu
775467a042
Improve performance of SelectorMatches using nsIContent::HasAttr, which was added a few months ago. r=bzbarsky sr=attinasi a=asa b=128739
2002-03-16 15:24:08 +00:00
bryner%netscape.com
db8461403c
Hook up the :checked CSS pseudoclass for input elements and use that instead of the _moz-input-checked attribute. Bug 128947, r=jkeiser, sr=ben, a=brendan.
2002-03-13 10:12:33 +00:00
bryner%netscape.com
a34c68fa0b
Changing XUL menus to use a :-moz-menuactive pseudoclass rather than a menuactive attribute for styling the active item. This will allow XBL select widgets to not modify the HTML DOM. Bug 128947, r=dbaron, sr=hyatt, a=asa.
2002-03-12 21:49:23 +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
darin%netscape.com
f1a6738b6c
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu
97aad157b6
Relanding the Compare --> Equals conversion. a=mcafee
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
7fbffdf125
Testing performance impact of backout of part of patch from bug 115289.
...
See bug 123947 for details.
2002-02-09 16:10:51 +00:00
bzbarsky%mit.edu
40d60f39ec
Convert Compare() to Equals() where possible now that we can do
...
case-insensitive Equals(). Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
cathleen%netscape.com
740d95a0a9
eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
2002-02-05 01:41:13 +00:00