1041 Commits

Author SHA1 Message Date
rjesup%wgate.com
977fe6eac8 Bug 96710: Misuse of string.Mid() - uses should be string.Right().
r=kin, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102436 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:38:20 +00:00
rjesup%wgate.com
3d0a34aaca 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


git-svn-id: svn://10.0.0.236/trunk@102430 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:16:03 +00:00
bzbarsky%mit.edu
bafa24e23a 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


git-svn-id: svn://10.0.0.236/trunk@102406 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 13:14:35 +00:00
glazman%netscape.com
99716e4ffe getComputedStyle answered for background-color #ffffff instead of transparent; b=97771, r=pierre, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@102395 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 08:20:50 +00:00
dbaron%fas.harvard.edu
10a638521f 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
git-svn-id: svn://10.0.0.236/trunk@102260 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:13:58 +00:00
bzbarsky%mit.edu
0f2651a119 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


git-svn-id: svn://10.0.0.236/trunk@102234 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 00:00:18 +00:00
rjesup%wgate.com
288182f644 Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.


git-svn-id: svn://10.0.0.236/trunk@101822 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 06:15:54 +00:00
dbaron%fas.harvard.edu
c9b9e16848 Fixing MOZ_TRACK_MODULE_DEPS bustage by adding pref to REQUIRES (for nsRuleNode.cpp).
git-svn-id: svn://10.0.0.236/trunk@101505 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 14:27:36 +00:00
rods%netscape.com
48fbd4f113 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


git-svn-id: svn://10.0.0.236/trunk@101502 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 14:01:55 +00:00
dbaron%fas.harvard.edu
3485888237 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
git-svn-id: svn://10.0.0.236/trunk@101462 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:48:11 +00:00
bryner%netscape.com
7da361b479 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@101283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 08:14:14 +00:00
cathleen%netscape.com
f541238cb0 enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@101263 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 02:03:34 +00:00
ian%hixie.ch
9e1e50cfdc Treat classes case-insensitively in quirks mode. Bug 93371; r=pierre sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@101199 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 07:42:15 +00:00
cls%seawood.org
3b8b92a2e8 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@101008 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 07:59:59 +00:00
dbaron%fas.harvard.edu
2ae7573be9 Fix errors in my patch for bug 90791 that were causing a crash. b=93106 r=waterson, brendan, pierre sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@100990 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 02:54:35 +00:00
jaggernaut%netscape.com
5f71d7fa3e Bug 92623: ``Adjust the nsCSSParser quirks'', patch by Hixie, r=pierre@netscape.com, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@100836 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 22:46:53 +00:00
pierre%netscape.com
1bc2d99656 bug 94248: uninitialized variable in nsCSSUserInterface::mCursor. fix from rjesup@wgate.com, r=pierre
git-svn-id: svn://10.0.0.236/trunk@100562 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-08 04:21:53 +00:00
harishd%netscape.com
065f184032 83119 - Added support for visibility in GetComputedStyle(). r=heikki,sr=jst.
84000 - Preserve NOFRAMES content - patch submitted by scoda@alias.it. r=me, sr=jst.
65467 - DT is an inline element. r=heikki, sr=jst.
88992 - OBJECT should be able to close unclosed block level elements within it. r=heikki, sr=vidur
84491 - IFRAME should be treated similar to NOFRAMES. r=pollmann, sr=vidur
92530 - FORM should behave as a container if the parent is TD or TH. r=heikki,sr=vidur
88243 - For percentage attribute value do not assume that '%' will always be the last character. r=heikki,sr=vidur.


git-svn-id: svn://10.0.0.236/trunk@100508 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 19:05:21 +00:00
bzbarsky%mit.edu
8cca381b47 Making import rules implement the nsIDOMCSSImportRule interface. Bug 90290, r=pierre, sr=jst
git-svn-id: svn://10.0.0.236/trunk@100358 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-04 21:19:53 +00:00
dbaron%fas.harvard.edu
fa070e6118 Fix crash bug 93270 by ensuring that the nsHTMLStyleSheetImpl always has a non-null mDocumentColorRule and mTableTHRule. r=pierre sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@100345 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-04 02:43:05 +00:00
glazman%netscape.com
ea8347db88 BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@100205 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 14:34:55 +00:00
hyatt%netscape.com
d5f1d5af70 Fix for 71471. r=blake, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@100159 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 00:09:27 +00:00
glazman%netscape.com
88bfc464bc backing out fix for 88681 due to merge conflicts
git-svn-id: svn://10.0.0.236/trunk@100104 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 14:53:15 +00:00
glazman%netscape.com
77425d8395 BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@100101 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 14:38:30 +00:00
hyatt%netscape.com
a31dfd024c Fix for table color quirk bug. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@100093 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 07:51:27 +00:00
brendan%mozilla.org
f5bc62edea FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@100030 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-31 19:05:34 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
hyatt%netscape.com
6206b55be6 Fix for 90081, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@99897 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 06:33:06 +00:00
jaggernaut%netscape.com
56ae52c17a Bug 73353: clean up the REQUIRES lines in Makefiles.
git-svn-id: svn://10.0.0.236/trunk@99764 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-23 22:36:12 +00:00
hyatt%netscape.com
d2e6a382ec More hot 90081 action. Needed to tweak it a little to avoid crash.
git-svn-id: svn://10.0.0.236/trunk@99541 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 23:25:16 +00:00
hyatt%netscape.com
02fae71136 Fix for 90081, r/sr=waterson,attinasi
git-svn-id: svn://10.0.0.236/trunk@99536 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 22:48:35 +00:00
bzbarsky%mit.edu
e200a7a6f7 Make CSSParserImpl::ParseAndAppendDeclaration keep parsing even when it
encounters an error. Bug 88421, r=pierre, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@99496 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 19:43:39 +00:00
jst%netscape.com
21ce7f8ced Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99476 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 07:48:12 +00:00
dbaron%fas.harvard.edu
c09758cc43 Replace the mMediumCascadeTable nsHashtable with a linked list of rule cascades since searching a linked list of at most two elements (and usually just one) is *much* faster than doing a hashtable lookup. r=waterson sr=attinasi b=90791
git-svn-id: svn://10.0.0.236/trunk@99340 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 20:59:28 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
bernd.mielke%snafu.de
5d386068cf Inherit color into the table elements in quirks mode
bug 46480 patch by fantasai@escape.com r=bernd sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@98810 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-06 14:17:08 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
waterson%netscape.com
eaaf7f4149 Bug 87229. Replace giant switch statements with bit-ops and jump tables where appropriate. r=attinasi, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@98315 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 22:42:46 +00:00
dbaron%fas.harvard.edu
ee486fee11 Fix BiDi regression from style system landing by correcting implementation of 'unicode-bidi' to be a non-inherited property, correctly mapping attributes to it, splitting text frames with both strong RTL and LTR characters, and stripping BiDi control characters. Code by me and lkemmel@il.ibm.com r=simon@softel.co.il sr=hyatt b=83958
git-svn-id: svn://10.0.0.236/trunk@98239 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 03:15:58 +00:00
glazman%netscape.com
701df9fa73 CSS parser drops negations if attached to universal selector and a pseudo-element; b=87999, r=peterv, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@98057 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-27 10:41:49 +00:00
hyatt%netscape.com
bc4c630bd4 Fix for 83658, font size=7 broken, r=dbaron, sr=waterson, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@97578 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 06:43:28 +00:00
dbaron%fas.harvard.edu
e3ce81b2b0 Correct matching of dashmatch (|=) according to recent CSS WG discussions and fix :not() bugs with class selectors, id selectors, and $= and ^= attribute selectors. r=hixie sr=attinasi a=asa b=83616
git-svn-id: svn://10.0.0.236/trunk@97467 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:46:08 +00:00
cls%seawood.org
88aedd461b Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
hyatt%netscape.com
3a2a81e806 Fix for 84046, unable to dynamically change bgcolors. r=cmanske, sr=attinasi, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@97344 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 20:49:57 +00:00
dbaron%fas.harvard.edu
649e5141cf Fix bustage from scc's checkin for bug 85271.
git-svn-id: svn://10.0.0.236/trunk@97296 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 07:38:01 +00:00
dbaron%fas.harvard.edu
78ac4ca4b3 Make implied universal selectors be equivalent to ns|* where ns is the default namespace, and make appropriate changes to our CSS files. This brings us into conformance with the CSS3 selectors draft and improves performance by reducing the number of universally hashed selectors. Most of this patch is by attinasi. (35847, 83482) Also make first-node/last-node rules in quirks.css non-universal to improve performance. (83839) r=rbs sr=waterson a=asa b=35847
git-svn-id: svn://10.0.0.236/trunk@96767 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 01:32:19 +00:00
rods%netscape.com
64b6905ac0 Need to get the default font size and use that depending on Quirks or Strict
Bug 78526 r=kmcclusk sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@96673 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 02:17:09 +00:00
dbaron%fas.harvard.edu
d1140fa5b3 Miscellaneous performance fixes related to selector matching:
* cut in half the number of (expensive, universally hashed) selectors needed for many UA-stylesheet :link and :visited rules by implementing :-moz-any-link (bug 83484)
 * remove most of EnumerateTagRules since most of it does no useful work (bug 83506)
 * avoid refcounting of atoms for stack-based hash keys (bug 83511)
 * add logging (turned off, except for me) to evaluate effectiveness of RuleHash
 * add a namespace hash, which will be a big win once bug 35847 is fixed (bug 83497)
 * avoid repeated reallocation of mEnumList by setting the initial length to a minimum of 8
 * remove an unneeded variable in the beginning of SelectorMatches
 * fix one case in CSS error reporting (bug 65469), not part of default build
b=83482  r=attinasi@netscape.com  sr=waterson@netscape.com  a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@96389 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 01:00:11 +00:00
hyatt%netscape.com
b4905f36bc Fix for 83613. r=dbaron, sr=brendan, a=leaf
git-svn-id: svn://10.0.0.236/trunk@96189 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-01 21:04:23 +00:00
dbaron%fas.harvard.edu
47e48fa66e Adding newline to end of file to fix HP bustage.
git-svn-id: svn://10.0.0.236/trunk@96146 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 23:59:22 +00:00