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

1230 Коммитов

Автор SHA1 Сообщение Дата
mstoltz%netscape.com 322df16c00 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 e25f992804 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 688ef92fd4 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 c510ff0346 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
glazman%netscape.com 03ecce53c5 fixing brad Tbox warning; b=142019, r=bzbarsky, sr=jst 2002-05-21 13:33:25 +00:00
glazman%netscape.com ce5dba1038 output of CSS border and background shorthand properties was buggy ; the new code implements a proposal by Hixie that tries to output the minimal number of properties.
b=142019, r=bzbarsky, sr=jst
2002-05-21 08:16:42 +00:00
jst%netscape.com 5ef2ac2f34 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00
dbaron%fas.harvard.edu d434ae0342 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
dougt%netscape.com e96df2ad1b Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
bzbarsky%mit.edu dd0159d886 Initialize the hint, just in case. Bug 139968, r=jkeiser, sr=jst 2002-05-11 23:26:44 +00:00
bzbarsky%mit.edu 5235519ece make clip:inherit work. Bug 141734, r=dbaron, sr=attinasi 2002-05-09 20:05:25 +00:00
dbaron%fas.harvard.edu a9f4662b47 Add command-line tool for parsing CSS files. b=139943 sr=waterson r=attinasi 2002-05-01 00:03:57 +00:00
caillon%returnzero.com 41eb1a590f 139343, zapping build warnings from computed style. r=bzbarsky,sr=jst 2002-04-26 18:10:14 +00:00
caillon%returnzero.com 5bdc053b13 Bug 113273. Implement computed style for '-moz-appearance', '-moz-box-*', '-moz-float-edge', and '-moz-user-*'. r=bzbarsky, sr=jst 2002-04-20 14:30:57 +00:00
bzbarsky%mit.edu a4982e7979 Fix the "style rules" display for display:table elements. Bug 122557,
r=caillon, sr=hewitt
2002-04-19 22:29:24 +00:00
gerv%gerv.net 8ac92b6724 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
caillon%returnzero.com 81a2ba67f8 Bug 137297. Alphabetize computed style's queryableProperties list. r=bzbarsky, sr=hewitt 2002-04-17 14:30:58 +00:00
jst%netscape.com 21ff37f2ef 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 b1fcef11d3 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 324f543007 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
smontagu%netscape.com 19ad9f37f8 Make stylesheet loading recover from decoding errors. Bug 128896, r=ftang, sr=attinasi, a=asa 2002-04-09 00:29:03 +00:00
timeless%mac.com 2f543f9a66 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 0a42ceaaf0 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 96d1e84dc6 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 af0cf0c5e7 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
karnaze%netscape.com 579848a101 bug 133997 - Bernd's patch to fix compiler warnings. a=asa, sr=attinasi, r=karnaze. 2002-03-31 23:17:38 +00:00
dbaron%fas.harvard.edu 93f1c722f2 Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa 2002-03-31 16:59:00 +00:00
hewitt%netscape.com 07d96867f1 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
caillon%returnzero.com 3c1e4a4686 Bug 129960. Special characters in computed URI values should be backslash escaped. r=hixie, sr=jst, a=asa 2002-03-27 07:39:54 +00:00
bryner%netscape.com 4101d11520 Revert to using an attribute for menuactive (bug 133610). r=ben/jkeiser, sr=jst, a=asa. 2002-03-27 07:01:26 +00:00
seawood%netscape.com f9479b8517 Remove xp_core.h & xp_mem.h and all build references to them.
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski
2002-03-27 06:02:39 +00:00
sicking%bigfoot.com 81ae46d39e Bug 41983: Make (x)html-elements support namespaced attributes.
r=heikki sr=jst a=roc+moz
2002-03-27 00:13:57 +00:00
attinasi%netscape.com 159525bdf5 Support for proprietary style property to allow composer to force broken image icons. b=58646 r=karnaze sr=kin a=asa 2002-03-26 20:14:05 +00:00
bryner%netscape.com f2bcde7f5c 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 39fae96f8c 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-24 01:08:17 +00:00
dbaron%fas.harvard.edu 2407cfe7f8 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
caillon%returnzero.com 6ced451a8d Bug 119807, Computed color values should support getRGBColorValue(). r=bzbarsky, sr=jst, a=asa 2002-03-22 20:18:42 +00:00
dp%netscape.com 64fc514b8b 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 0fb5a715ab 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 f23e2691e2 Fixing windows bustage. 2002-03-20 23:28:48 +00:00
darin%netscape.com 819ce1f98f b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
bryner%netscape.com 93114688c3 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
bzbarsky%mit.edu 3d23ee1924 |foo.style.cssText = "";| should work (need to take old hint into
account).  Bug 131905, r=caillon, sr=jst, a=scc.
2002-03-19 22:38:08 +00:00
alecf%netscape.com ecdb77e394 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
bzbarsky%mit.edu 5cd7f2eea8 Make RemoveProperty notify the doc. Bug 131397, r=dbaron, sr=jst, a=asa 2002-03-19 00:09:15 +00:00
bzbarsky%mit.edu 7b9816f44a Speed up edge case in RemoveProperty. Bug 131614, r=caillon, sr=jst,
a=dbaron
2002-03-18 05:08:23 +00:00
karnaze%netscape.com 75c5058a42 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov 2002-03-17 21:35:08 +00:00
bzbarsky%mit.edu e1ba4cc0d0 "More computed style property implementations". Bug 129843, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi, a=dbaron
2002-03-16 17:04:35 +00:00
dbaron%fas.harvard.edu c8956a075d 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 3a8bd6be8c 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
bzbarsky%mit.edu 29b601faaf XBL expects computed -moz-binding to not have "url()" and to be empty
string for no binding.  Bug 128428 redux, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=shaver,
a=brendan
2002-03-13 02:33:09 +00:00
bryner%netscape.com f0da73b96a 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
bzbarsky%mit.edu c2bac81816 Implement directional, list, cursor properties. Bug 128428, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=jst, a=asa
2002-03-12 21:16:22 +00:00
bzbarsky%mit.edu d132dca405 Fix hang when style.cssText is set to an unrecognized value. Bug
129927, r=dbaron, sr=jst, a=roc+moz
2002-03-12 15:28:27 +00:00
bzbarsky%mit.edu d15b2c9b20 Shrink nsROCSSPrimitiveValue and add support for CSS_NUMBER type. Bug
129469, r=caillon, sr=jst, a=roc+moz
2002-03-08 19:04:15 +00:00
dbaron%fas.harvard.edu cf1e007f02 Fix |#ifdef CSS_REPORT_PARSE_ERRORS| (not part of default build) bustage from darin's checkin for bug 124042. 2002-03-08 02:25:59 +00:00
bryner%netscape.com ec00895936 - 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 026dda9f95 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu f1c96951a2 Implement getComputedStyle for text properties. Bug 126319, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi,
a=roc+moz
2002-03-03 19:44:41 +00:00
bzbarsky%mit.edu efd070925d Alternate sheets should be able to import other alternate sheets with no
trouble.  Bug 52105, r=dbaron, sr=attinasi, a=shaver
2002-02-25 22:26:26 +00:00
timeless%mac.com 0f21fe2a10 Bug 126667 ../../../../dist/include/content/nsCSSDeclaration.h:657: warning: comparison is always true due to limited range of data type
r=bbaetz,pink sr=alecf a=roc+moz
2002-02-22 11:58:22 +00:00
bzbarsky%mit.edu 7dcb11a1d4 Fix parsing of some edge cases of background shorthand. Bug 124193,
r=pierre, sr=attinasi, a=roc+moz
2002-02-22 00:25:57 +00:00
alecf%netscape.com 5ec5cd62b2 one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag
2002-02-19 22:49:12 +00:00
bryner%netscape.com 33a262cf6e fixing 152 compiler warnings (bug 126336). r=glazman, sr=ben. 2002-02-19 22:19:44 +00:00
karnaze%netscape.com 1fcd9538d3 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
bzbarsky%mit.edu 27cc7977ea Leave rules with empty decl blocks in the sheet so they're picked up by
the DOM.  Bug 112854, r=dbaron, sr=attinasi
2002-02-19 02:27:38 +00:00
dbaron%fas.harvard.edu f82bd370c6 Create a small service in the content library to allow inspector to avoid bad link-time dependencies on CSS code. b=79091 r=attinasi,beard sr=shaver 2002-02-19 02:09:06 +00:00
timeless%mac.com 59db3abbc9 Bug 125778 Implement getComputedStyle() for {min|max}-{height|width} properties
patch by caillon@returnzero.com r=bzbarsky sr=attinasi
2002-02-18 22:54:15 +00:00
dbaron%fas.harvard.edu 15fa975817 Make debugging |List| functions |#ifdef DEBUG|. b=122817 r=glazman sr=attinasi 2002-02-16 16:50:45 +00:00
cbiesinger%web.de 0d38c44470 bug 125716 r=bzbarsky sr=attinasi patch by caillon@returnzero.com
Implement getComputedStyle() for 'overflow' property
2002-02-16 13:16:10 +00:00
bzbarsky%mit.edu e3b541a10c Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu 45ad330784 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
cathleen%netscape.com 31f584b51c eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan 2002-02-08 01:11:33 +00:00
timeless%mac.com 6a49b05b3b Bug 33601�fixing warnings about switch(enumVar){case onlyOne: {}}
adds a default case. also removing an else after return.

r=roc+moz@cs.cmu.edu sr=alecf
2002-02-08 00:05:16 +00:00
bzbarsky%mit.edu 580e33204e 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 bf3e08eb5f 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
roc+%cs.cmu.edu a25e3b704c Bug 33601. Force REFRAME style hints if views might need to be created in response to opacity or background-attachment style changes. r=dbaron,sr=waterson 2002-01-27 07:53:27 +00:00
cathleen%netscape.com 2431b85ca9 remove memcpy function from nsCRT, eliminate 2 new nsCRT::memcpy callers
and fix up alighment problems from previous patch, bug 118135, sr=brenda r=dp
2002-01-26 00:04:45 +00:00
bzbarsky%mit.edu 7815d37178 Make computed border-style and float be "none" by default. Bugs 120982
and 120965, patch by Christopher Aillon <caillon@returnzero.com>,
r=bzbarsky, sr=jst
2002-01-24 21:19:21 +00:00
blythe%netscape.com 2b95de033b Fix bug 120422
r=dbaron,rs=hyatt
Do not delete ref counted object.
2002-01-24 18:28:25 +00:00
bzbarsky%mit.edu 98b68a4340 computed list-style-image should be "none" if there is no image. Bug
120719, r=hixie, sr=attinasi
2002-01-24 04:22:59 +00:00
bzbarsky%mit.edu f2a9512382 Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst
2002-01-24 02:03:19 +00:00
cmanske%netscape.com 6e1a2239cf Fixed hasAttribute for non-mapped attributes, b=120607, r=bzbarsky@mit.edu, sr=jst, a=blizzard/drivers 2002-01-18 20:08:02 +00:00
dbaron%fas.harvard.edu 67fed4df15 Fix windows bustage. 2002-01-16 02:04:20 +00:00
dbaron%fas.harvard.edu a0d8e498d3 Fix inspector link errors by adding a method on nsICSSStyleRule that forwards GetValue to nsCSSDeclaration. 2002-01-16 01:34:47 +00:00
sfraser%netscape.com e500e5558b Fixing build bustage for blythe; fix header name in MANIFEST. 2002-01-15 23:15:02 +00:00
blythe%netscape.com 3a5aa3eab9 Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2002-01-15 22:43:37 +00:00
bzbarsky%mit.edu 4668370855 Change some users of GetAttr to HasAttr instead. Bug 113564, r=jag, sr=jst. 2002-01-13 04:03:52 +00:00
cathleen%netscape.com c2d19ad82a converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
bzbarsky%mit.edu 4482269f37 Implement computed position and clip, make computed style not round
values, fix font-style to say "normal" instead of "", and some random
cleanup.  Bugs 116032, 116033, 94080, 98052
2002-01-11 00:15:55 +00:00
bzbarsky%mit.edu e7224bcd65 Build system changes to build nsDOMCSSRect. Bug 116032, r=peterv, sr=jst 2002-01-11 00:12:10 +00:00
bzbarsky%mit.edu b9825bd07c Adding nsIDOMRect implementation to support computed clip. Not part of
build yet.  Bug 116032, r=peterv, sr=jst
2002-01-11 00:09:01 +00:00
brade%netscape.com 4ff2f15408 remove unused statics kCSSBreaksSID and kCSSPageSID for gain of 32 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:08:36 +00:00
brade%netscape.com c64135845d remove unused static kISupportsIID for gain of 16 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:07:59 +00:00
bzbarsky%mit.edu 98958d5139 Fix assertions when getting computed -moz-outline-width and
-moz-marker-offset and enable these in Inspector.  Bug 114086, r=fabian,
sr=attinasi
2002-01-10 02:20:17 +00:00
rbs%maths.uq.edu.au 23c8ff98a0 Grab a low hanging perf fruit by switching to an API that doesn't copy the font, b=118918, r=dbaron, sr=waterson 2002-01-10 00:04:35 +00:00
jst%netscape.com 4f0b3cba3a Fixing bug 118202. Make <link href='http://...'> send a HTTP referrer to the server. r=bzbarsky@mit.edu, sr=darin@netscape.com 2002-01-09 05:56:43 +00:00
dbaron%fas.harvard.edu 1db5b984db Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt 2002-01-07 23:46:07 +00:00
hyatt%netscape.com d4326b49d1 Checking in 115757, enabling of Windows XP Theme Support under Classic skin.,r=bryner,sr=hewitt 2002-01-04 00:28:01 +00:00
hwaara%chello.se ad74e6349e #117050, fix bustage for embeddors who turn XUL off.
r=dbaron, sr=blake
2001-12-29 22:07:54 +00:00
rjesup%wgate.com 2212861db9 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
glazman%netscape.com 4840531c8c oops, forgot to remove variable in previous check-in; b=95062, r=peterv, sr=jst 2001-12-20 11:21:01 +00:00
glazman%netscape.com c82636292e computed style for text-decoration was always answering ""; b=95062, r=peterv, sr=jst 2001-12-20 11:15:32 +00:00
seawood%netscape.com 874c54280c Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
hyatt%netscape.com d4065d8e54 Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +00:00
jaggernaut%netscape.com 7936b26225 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com 6ab111155d Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
bzbarsky%mit.edu 09aaa57bbb Implement (turn on, really) SetCssText for style declarations. Bug
91370, r=peterv, sr=jst
2001-12-15 04:33:11 +00:00
sfraser%netscape.com ed2ea32c59 Fix for bug 115157 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson 2001-12-14 23:10:42 +00:00
bbaetz%cs.mcgill.ca 43806ea8b2 Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT
2001-12-12 07:59:31 +00:00
hewitt%netscape.com 2da8bc104f 114184 - DrawCompositeSide can't deal with sides of differing widths, r=ben, sr=hyatt 2001-12-11 11:13:53 +00:00
hewitt%netscape.com 68c6307cb9 114535 - crash setting !important on a -moz-image-region property, 114132 - rounded multi-level borders use wrong radii, r=ben, sr=hyatt 2001-12-11 11:11:09 +00:00
shanjian%netscape.com 6d466ab1bb #105199 glyph search order is NOT lang dependent
lang is mapped to CSS Display structure and apply to document using
CSS rule tree.
r=dbaron sr=attinasi
2001-12-11 04:12:34 +00:00
hewitt%netscape.com 4ce7fafe54 113562 - nsIContent needs HasAttr method, r=jag, sr=jst 2001-12-11 02:57:52 +00:00
bzbarsky%mit.edu feff9ce486 Add an assertion to the CSS loader for cases when sheet decoding fails.
stopgap measure for bug 106843, r=pierre, sr=attinasi
2001-12-11 02:48:49 +00:00
dp%netscape.com 572e864ce7 bug 110555 Ignoring error when user css files not found. r=dveditz,
sr=hyatt
2001-12-09 16:14:02 +00:00
jaggernaut%netscape.com c892a468bd BUg 113228: Replace nsC?String::To(Lower|Upper)Case with global To(Lower|Upper)Case. r=dbaron, sr=jst 2001-12-08 07:08:38 +00:00
bzbarsky%mit.edu c0a317d56d Re-enable inspector showing positioning values. Bug 113863, r=timeless,
sr=hewitt
2001-12-06 22:29:53 +00:00
bzbarsky%mit.edu abe51bd33f Fix computed positioning style for static elements and computed
z-index.  Bug 109523, r=glazou, sr=attinasi
2001-12-06 21:15:54 +00:00
seawood%netscape.com 321acda7e6 Move inlined function nsCSSMargin::EnsureBorderColors() before the functions that use it in order to appease Sun's Workshop/Forte 6 compiler.
Fixing tinderbox bustage.
2001-12-06 10:10:15 +00:00
hyatt%netscape.com 1704f7364f Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988 2001-12-05 08:35:05 +00:00
leaf%mozilla.org 99e99b9ff7 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron 2001-12-05 03:43:29 +00:00
alecf%netscape.com a9418e11c9 fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter 2001-12-04 01:10:43 +00:00
alecf%netscape.com 3b010bd783 part of fix for bug 110531 - move CSS loader over to using nsIConverterStream instead of nsIUnicharInputStream
sr=darin, r=dougt
2001-12-03 23:03:18 +00:00
bzbarsky%mit.edu 313c7b7393 Fix typo in value returned by getComputedStyle. Bug 112866, sr=jst 2001-12-02 00:28:48 +00:00
jst%netscape.com d35ccb90ba Whitespace changes. 2001-11-29 09:59:31 +00:00
jst%netscape.com d1ad5c4205 Fixing bug 112473. Eliminate unnecessary allocations in the CSS parser and speed up NS_NewHTMLReflowCommand() a bit. r=dbaron@fas.harvard.edu, rs=waterson@netscape.com 2001-11-29 08:48:53 +00:00
alecf%netscape.com b54ba5fc69 first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake 2001-11-27 21:13:53 +00:00
seawood%netscape.com d8927fcc61 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
dbaron%fas.harvard.edu 43129c454a Bug 109431: Speed up ID selector matching, mainly by using nsDependentString instead of nsAutoString. Patch by rjesup and me. Bug 110815: Avoid an unneeded QI from nsICSSStyleRule to nsIStyleRule, which it inherits. r=jag sr=hyatt 2001-11-21 03:30:44 +00:00
dbaron%fas.harvard.edu a35e4effec Speed up HTMLAttributesImpl::HasClass, mostly by using nsDependentString instead of nsAutoString. Patch by rjesup and me. r=jag sr=jst b=109416 2001-11-21 03:27:14 +00:00
bzbarsky%mit.edu 875a2f3f41 Check the mimetype on the stylesheet channel and only
load the sheet if the type is text/css (strict mode change
only). bug 46225, r=dbaron, sr=attinasi
2001-11-19 20:30:29 +00:00
rbs%maths.uq.edu.au 46d52b2fe0 bug 110417 - no need to special-case the viewsource protocol anymore since security now knows about it. r=bzbasrky sr=jst 2001-11-17 02:36:05 +00:00
jaggernaut%netscape.com 9a2d10888f Clean up REQUIRES lines. r/sr=alecf 2001-11-16 01:54:59 +00:00
alecf%netscape.com 52cd89e71b win32 REQUIRES cleanup 2001-11-15 03:49:13 +00:00
dbaron%fas.harvard.edu ee1bd92fab Pull computation of loop invariants for rule matching out of outer loop (over rule processors) as well, from SelectorMatchesData in nsCSSStyleSheet to RuleProcessorData in nsStyleSet. Use the RuleProcessorData structure in nsHTMLStyleSheet as well. Simplify matching of :-moz-bound-element pseudo-class. b=83836 r=waterson, pierre sr=hyatt 2001-11-10 23:51:45 +00:00
bzbarsky%mit.edu 6b7a004035 Fix getComputedStyle() position/size calculations. Bug 84599 and bug
94855, r=glazou, sr=attinasi
2001-11-10 17:29:04 +00:00
dbaron%fas.harvard.edu 34d1af779a Add omitted NS_INIT_ISUPPORTS. b=108750 a=blizzard 2001-11-08 02:17:43 +00:00
dbaron%fas.harvard.edu eb251b5691 Move nsDOMCSSAttributeDeclaration into its own file to progress towards moving all of the style system code back into the layout library. r=jst sr=hyatt b=108750 2001-11-07 07:06:31 +00:00
rods%netscape.com 285b4b3292 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-06 12:18:51 +00:00
bzbarsky%mit.edu 26febe2b6b Fix the strings returned by .newValue/.prevValue for mutation events
(get rid of extra quotes, always set .prevValue if it exists).  Bug
107526, r=fabian, sr=jst.
2001-11-05 13:19:10 +00:00
jst%netscape.com 9055fdc206 Fixing bug 108321. Don't waste time using the component manager when creating an nsHTMLAttributes when setting attributes on an element, call NS_NewHTMLAttributes() directly in stead. Also doing some cleaning up in nsHTMLStyleSheet.cpp. r=dbaron@fas.harvard.edu, sr=hyatt@netscape.com 2001-11-03 08:13:48 +00:00
kin%netscape.com 3b3a81d15b Backout glazman's fix for bug 107567, pending investigation
on why it causes the tinderbox Leak count to go up.

a=beard@netscape.com,jj@netscape.com
2001-10-31 19:03:46 +00:00
glazman%netscape.com d6b696191f Remove useless mSheetMap table from nsCSSLoader; b=107567, r=peterv,rjesup@wgate.com; sr=kin 2001-10-31 15:53:25 +00:00
dbaron%fas.harvard.edu 10e3bbbb58 Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi 2001-10-30 06:02:05 +00:00
jaggernaut%netscape.com 47f32d2efe Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-27 06:44:19 +00:00
alecf%netscape.com fae57cdd66 other changes for bug 100214, r=jag, sr=scc
include nsUnicharUtils.h for useful stuf
2001-10-26 02:38:29 +00:00
dbaron%fas.harvard.edu f56bfe4127 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974 2001-10-25 03:21:53 +00:00
bzbarsky%mit.edu 7f9eeaa84b Improve how we get our charset for stylesheets. Look at HTTP header,
charset attribute on <link> or <?xml-stylesheet?> and at the document's
charset.  Bugs 57164, 72658, 83207.  r=pierre, sr=attinasi
2001-10-25 00:34:20 +00:00
glazman%netscape.com 8ca86a0f51 STYLE attribute should not expand CSS shorthand property assignment to equivalent longhand assignments; b=18894, r=peterv, sr=attinasi 2001-10-24 08:08:30 +00:00
dbaron%fas.harvard.edu f9d32caae7 Moving nsRuleNode.cpp back to content/base/src from content/shared/src and inlining GetRule to fix linker errors on BeOS and probably also AIX, and since it doesn't need to be in content/shared and cvs won't like re-adding to content/html/style/src. b=104336 2001-10-24 06:25:08 +00:00
hyatt%netscape.com 0214ac3fdb Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
seawood%netscape.com 2c9d28eef9 Remove unused MOZ_ENDER_LITE & -DENDER_LITE from the tree. 2001-10-22 04:34:31 +00:00
dougt%netscape.com af7957c9e9 Remove extra exports. patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com 2001-10-19 21:02:39 +00:00
dougt%netscape.com 1f40b94136 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527 2001-10-19 20:59:33 +00:00
bzbarsky%mit.edu 9c3b205483 Last checkin was r=pierre, sr=jst 2001-10-19 14:02:36 +00:00
bzbarsky%mit.edu 94624dd288 Clean up handling of quirk doctypes and case-sensitivity in the CSSOM.
Mostly just uses the nodeinfo more and combines some redundant code into
helpers. Bug 95336, bug 10622, bug 102815
2001-10-19 13:50:30 +00:00
pierre%netscape.com a2a06d0656 97052 "getComputedStyle returns default value for border width when there is no border". GetBorderWidthFor() now returns 0 if NS_STYLE_BORDER_STYLE_NONE. r=bzbarsky / sr=jst 2001-10-17 00:05:05 +00:00
dbaron%fas.harvard.edu 3dac3645cb Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu 34fc404be7 Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
alecf%netscape.com 511a787492 convert nsCRT::strn?cmp to Convert() for bug 100214, to depend on string rather than xpcom for case-insensitive unicode support. r=sspitzer for mail stuff, r=jag for everything else, sr=sfraser 2001-10-13 00:16:32 +00:00
bzbarsky%mit.edu 657005872b Fix parsing of negative (illegal) values of border-spacing, padding, and
others.  Bug 102344, r=dbaron, sr=attinasi
2001-10-06 15:13:23 +00:00
dbaron%fas.harvard.edu 4021e7798d Remove duplication of code between implementations of nsILookAndFeel and nsIDeviceContext by removing system color and metric implementations from nsIDeviceContext implementations and changing nsIDeviceContext::GetSystemAttribute to nsIDeviceContext::GetSystemFont. b=96971 r=bryner sr=waterson 2001-10-02 03:10:56 +00:00
jaggernaut%netscape.com fdc4078bc4 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
glazman%netscape.com 925e600581 fixing erroneous DOM 2 name for bug 101925; rs=jst 2001-09-28 14:11:05 +00:00
glazman%netscape.com 2bbdd47a50 implements getComputedStyle() for float property + bad next-line argument indentation cleanup ; b=101925, r=bzbarsky, sr=jst 2001-09-28 07:39:41 +00:00
bzbarsky%mit.edu 64fb1452bf Make setting element.style.foo just parse the value instead of creating
a property:value pair and parsing that.  Speeds up setting of
element.style.top by about 5%.  Bug 99797, r=attinasi, sr=jst
2001-09-28 01:38:36 +00:00
rbs%maths.uq.edu.au 899f17f924 bug 99010 - font changes. r=attinasi@netscape.com, sr=hyatt@netscape.com 2001-09-27 18:33:58 +00:00
hewitt%netscape.com e7ad287a94 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt 2001-09-25 22:17:00 +00:00
gerv%gerv.net 2b0c9d0438 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
rjesup%wgate.com b3f93c53a1 Backout of commits for bug 97299. This causes assertions, which means we
missed some spots where name was getting set.
2001-09-24 15:26:39 +00:00
rjesup%wgate.com 9c4abfe094 Bug 97299: Store font names in lowercase. r=pavlov, sr=attinasi 2001-09-24 07:35:04 +00:00
mkaply%us.ibm.com 082d76fc60 OS/2 bustage
PR_STATIC_CALLBACK is not needed here
2001-09-20 02:38:56 +00:00
bzbarsky%mit.edu 6978d3d311 Implement the parentRule property of CSS rules. Bug 37470, r=pierre,
sr=jst
2001-09-19 14:16:34 +00:00
jaggernaut%netscape.com e25262c61f One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com 3826eb9902 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
dbaron%fas.harvard.edu 1c9cca516b Allow declarations in style attribute to be surrounded by braces in quirks mode. Rename ParseDeclarations to ParseStyleAttribute since that's what it does. b=99554 r=hixie,glazman sr=attinasi 2001-09-17 23:59:30 +00:00
alecf%netscape.com cf9912aa80 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
dbaron%fas.harvard.edu 232b3ee364 Add all extension properties to nsIDOMNSCSS2Properties, rather than just a few. Clean up nsDOMCSSDeclaration implementation of nsIDOM{,NS}CSS2Properties and implement new attributes in nsIDOMNSCSS2Properties. r=hixie sr=jst b=98500 2001-09-17 00:57:46 +00:00
bzbarsky%mit.edu c35a5645c6 Make insertRule() calls on a media rule which initially had no children
not fail.  Bug 98931, r=sicking, sr=jst
2001-09-15 01:27:49 +00:00
jaggernaut%netscape.com efc8c209fb Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +00:00
jaggernaut%netscape.com e055a4a2a4 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
alecf%netscape.com 898cb5872f add REQUIRES support to layou, content, gfx, gfx2, widget and modules/libpr0n b=98371 r=cls 2001-09-10 20:46:52 +00:00
dbaron%fas.harvard.edu e5077ef0df Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag sr=alecf b=45797 2001-09-10 19:54:27 +00:00
dp%netscape.com 874b32a20a Fixing build bustage. 2001-09-08 22:01:22 +00:00
dp%netscape.com dac8082a10 bug# 98786 Eliminating url cloning r=gagan,sr=jst 2001-09-08 21:13:20 +00:00
rjesup%wgate.com ee2b7e971b Bug 96710: (try 2). Right() takes number-of-chars-to-return, not position.
r=jag, sr=jst
2001-09-07 03:44:33 +00:00
dbaron%fas.harvard.edu 2bdb2c6812 Make getComputedStyle remove the extra default font that we add to the end of the font-family list so it returns the original computed value. b=94078 r=hyatt sr=jst 2001-09-07 02:28:10 +00:00
pierre%netscape.com d8e7adfe45 Bug 93371 (WRMB: Treat classes case insensitively in quirks mode). Back out ianh's patch in nsCSSParser.cpp and nsHTMLAttributes.cpp. Treat classes and IDs case insensitively as described in Bug 35522. r=glazman (+dbaron/jst) sr=hyatt 2001-09-07 00:23:37 +00:00
rjesup%wgate.com 083d490fea Bug 96710: Misuse of string.Mid() - uses should be string.Right().
r=kin, sr=jst
2001-09-06 19:38:20 +00:00
rjesup%wgate.com be7d4d271c Bug 92575: voidarray->autovoidarray changes in content/*, minus mChildren
changes in nsXULContentSink.cpp and nsGenericElement.cpp as per jst.
  r=hyatt r=pierre sr=jst
2001-09-06 19:16:03 +00:00
bzbarsky%mit.edu 3a86d88e76 Re-fix bug 93977 and fix bug 98358 (lack of underlining on links). The
CSS parser parses "foo, bar { decls }" into two separate rules -- one
for foo and one for bar.  So ParseRule() has to return an array of
rules, not just a rule.  r=dbaron, sr=jst
2001-09-06 13:14:35 +00:00
glazman%netscape.com a8d9fe32ae getComputedStyle answered for background-color #ffffff instead of transparent; b=97771, r=pierre, sr=hyatt 2001-09-06 08:20:50 +00:00
dbaron%fas.harvard.edu 07b983f8ab Replace per-struct Check*Properties with property tables and account for the possibility of having an explicit 'inherit' value. b=91054 r=hyatt sr=waterson 2001-09-05 03:13:58 +00:00
bzbarsky%mit.edu 168fa487a7 Fix the nsIDOMMediaList interface to have the right properties. Make
media rules implement nsIDOMCSSMediaRule.  Fix insertRule() to be able
to insert into the middle of a rule list.  Fix issues with stylesheets
not getting dirtied when media lists are modified.  bug 93977,
r=pierre, sr=jst
2001-09-05 00:00:18 +00:00
rjesup%wgate.com 21a61a2079 Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.
2001-08-27 06:15:54 +00:00
dbaron%fas.harvard.edu 3505e63425 Fixing MOZ_TRACK_MODULE_DEPS bustage by adding pref to REQUIRES (for nsRuleNode.cpp). 2001-08-21 14:27:36 +00:00
rods%netscape.com 974b9579d7 Disabling Quirks sizing for form controls, it can be put back in via a pref
and uncommenting a line in quirk.css
Bug 91602 r=dcone sr=attinasi
2001-08-21 14:01:55 +00:00
dbaron%fas.harvard.edu 716f9f4695 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
bryner%netscape.com 67f6aa83cb Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00