135 Commits

Author SHA1 Message Date
blakeross%telocity.com
694fbc6383 Use more efficient command structure, refactor commands, broadcasters and keys, remove unused attributes, do some other optimization (72923). Landing navigator part only; this should help new window opening and some other areas. r=ben sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@91473 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 19:53:13 +00:00
dbaron%fas.harvard.edu
6657eede2c Fix bustage (if CSS_REPORT_PARSE_ERRORS is defined) from scc's string branch landing. nsLiteralChar was removed, so use nsLocalString instead. r=disttsc@bart.nl sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@91050 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 21:14:23 +00:00
glazman%netscape.com
ea38e16949 Support for :last-child pseudoclass; checking in for Ian Hickson ; b=46916, r=pierre, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90881 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 10:20:57 +00:00
glazman%netscape.com
710439fbb7 adds support for :not() css3 pseudo-class; b=71647, r=pierre, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@89901 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 11:49:20 +00:00
hyatt%netscape.com
7eeaba98a2 Fix for 70704 and 71261. r=pierre, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89435 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:34:02 +00:00
glazman%netscape.com
a96dbca975 Cleanup of ParseSelector() ; b=71100, r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89008 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:27:39 +00:00
glazman%netscape.com
c51ab80308 mSourceString in SelectorList was allocated, filled with a
reconstructed copy of ALL selectors in chrome and document,
unused and then deallocated ! b=70995, r=hewitt, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@88711 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 23:07:33 +00:00
hyatt%netscape.com
e887dceb91 Fix for 70809. r=attinasi, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@88615 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:30:30 +00:00
dbaron%fas.harvard.edu
14ad030646 Work in progress on CSS error reporting: fix the known false positives and duplicate messages and improve the error messages. It's still a hack that I wouldn't really want to enable by default, but it should be useful for debugging chrome CSS. r=glazman@netscape.com sr=attinasi@netscape.com b=65469
git-svn-id: svn://10.0.0.236/trunk@88605 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 01:57:30 +00:00
glazman%netscape.com
0c17ea7bbc enhancement for the 3 new attributes selectors in CSS 3. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@88435 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:54:04 +00:00
hyatt%netscape.com
3f460ba63e Fix for 67739. r=pierre,attinasi, sr=ben
git-svn-id: svn://10.0.0.236/trunk@87132 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:25:31 +00:00
glazman%netscape.com
d1b1be34d9 patch for #65448 : css parser refused multiple ID selectors in same sequence; r=dbaron,attinasi sr=attinasi (buster's delegation)
git-svn-id: svn://10.0.0.236/trunk@86915 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 14:06:29 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
hewitt%netscape.com
89e5dd1e29 52381 - DOM selectorText implementation, r=attinasi/jst, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@85251 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 04:03:48 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
dbaron%fas.harvard.edu
3ccf2a2ea4 Clean up reporting of CSS parser errors: Use |nsAReadableString|s and an additional macro to allow all the error reporting to be done by macros. Also clean up a few comments. Not part of the default build (you must define CSS_REPORT_PARSE_ERRORS).
Make namespace prefixes case insensitive within CSS by normalizing to lower-case.  b=35813

r=attinasi


git-svn-id: svn://10.0.0.236/trunk@78476 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:05:09 +00:00
dbaron%fas.harvard.edu
58582b97ac Add code to allow the CSS parser to report errors. This code is not enabled by default in any builds, but it could be useful for chrome authors to catch CSS errors. We may want to turn it on in debug builds at some point, but it needs some work first. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@78236 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:27:46 +00:00
rods%netscape.com
cd160a660f Temporarily changed outline to be mozoutline, this will enable us to get links
to show a focus rect. When we get outlines really working, then mozoutline will go away.
b=48973 r=attinasi


git-svn-id: svn://10.0.0.236/trunk@77076 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 13:45:48 +00:00
jst%netscape.com
7e0575bfee DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
pierre%netscape.com
7393600e1b 47138: Some invalid units are not resulting in dropped declarations.
15174: counter() and counters() should not be recognized by CSS parser.


git-svn-id: svn://10.0.0.236/trunk@75744 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 00:34:42 +00:00
pierre%netscape.com
6e8b05fbf3 9816 (Outlines should be disabled completely for FCS)
46562 ('display: run-in' disables whole declaration block)
45804 (In quirks mode, 0 in 'border' should set the width, not the color)
46547 (Background image not centered correctly)
Thanks to emk <VYV03354@nifty.ne.jp>


git-svn-id: svn://10.0.0.236/trunk@75638 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 04:40:03 +00:00
attinasi%netscape.com
3da8003982 Implemented QuirkMode style sheet and moved some initial quirk style rules from html.css to the new quirk.css. b=38026 r=rods a=karnaze
git-svn-id: svn://10.0.0.236/trunk@71391 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 21:45:06 +00:00
jst%netscape.com
09a726c20d WIP for supporting setting the cssText property on css declarations through the CSS DOM, approved and partly reviewed by Pierre.
git-svn-id: svn://10.0.0.236/trunk@68135 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:42:00 +00:00
pierre%netscape.com
8be7e09c16 35261. Implement :last-node (P and Hx tags inside a cell do not collapse the cell). Change TD to collapse the bottom margin on the last-node.
git-svn-id: svn://10.0.0.236/trunk@67510 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 10:02:12 +00:00
dbaron%fas.harvard.edu
6b88c55779 Fix bugs 12398, 12450, and 35215, and comment out some unused code. r=pierre@netscape.com
git-svn-id: svn://10.0.0.236/trunk@67336 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:12:25 +00:00
attinasi%netscape.com
3c5099c351 Added support for @charset in external stylesheets, as well as support for charset being set byt HTML document for parsing HTML style attributes in other charsets. r=ftang b=2870,28500
git-svn-id: svn://10.0.0.236/trunk@66894 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 02:01:40 +00:00
scc%netscape.com
8a7f53cc88 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66101 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 20:15:37 +00:00
jim_nance%yahoo.com
b1ccfbf2cb Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
warren%netscape.com
9fa657f1cd Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
pierre%netscape.com
fa79d48cb8 Bugs 18218. 'display:inline-table' should not be recognized by the CSS parser.
git-svn-id: svn://10.0.0.236/trunk@64131 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 21:26:14 +00:00
pierre%netscape.com
97f14393e2 Bugs 2055, 2056, 14983 and 15432. Display:marker/run-in/compact are not supported. The CSS parser drops any declaration that contains one of these display types.
git-svn-id: svn://10.0.0.236/trunk@63861 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 14:45:04 +00:00
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
attinasi%netscape.com
de36ddd5b0 font-size in QuirksMode will now be ignored if the units are not specified. r=pierre b=23461
git-svn-id: svn://10.0.0.236/trunk@60392 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:22:47 +00:00
pierre%netscape.com
9c05019ba2 Bug 24676 ("Need -moz-outline-radius feature"). Fixed the parsing of -moz-outline-radius.
git-svn-id: svn://10.0.0.236/trunk@59055 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 10:03:10 +00:00
pierre%netscape.com
a0876134ef Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'.
git-svn-id: svn://10.0.0.236/trunk@58467 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 11:19:55 +00:00
hyatt%netscape.com
2c9879296b adding behavior property to CSS. r=brendan
git-svn-id: svn://10.0.0.236/trunk@57347 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 03:40:41 +00:00
pierre%netscape.com
69860e814f Bug 23236: In quirks mode, accept 'xxyyzz' colors even without '#' prefix
git-svn-id: svn://10.0.0.236/trunk@57197 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 10:11:10 +00:00
pierre%netscape.com
ab167ecc58 16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft):
nsCSSDeclaration.cpp
nsCSSParser.cpp
nsCSSPropList.h
nsCSSStyleRule.cpp
nsICSSDeclaration.h
nsIStyleContext.h
nsStyleContext.cpp
nsCSSRendering.cpp


git-svn-id: svn://10.0.0.236/trunk@56387 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 11:27:10 +00:00
warren%netscape.com
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
peterl%netscape.com
3295631735 store system colors as int rather than enums
return proper result code when setting system color
r=rods


git-svn-id: svn://10.0.0.236/trunk@50405 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:31:33 +00:00
kipp%netscape.com
e18af2d0ee Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
mgleeson1%netscape.com
8e1de98ab5 r=kipp changed illegal escape \{ to {
git-svn-id: svn://10.0.0.236/trunk@49934 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 01:41:38 +00:00
peterl%netscape.com
39323d24e7 fixed fix to bug 15373. Now it won't crash on EOF conditions
git-svn-id: svn://10.0.0.236/trunk@49649 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 04:23:00 +00:00
kipp%netscape.com
90f49df885 r=peterl; bug=15373; Fixed atom memory leaky
git-svn-id: svn://10.0.0.236/trunk@49589 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 20:13:39 +00:00
kipp%netscape.com
aa5496085d Removed atom table hacks
git-svn-id: svn://10.0.0.236/trunk@49466 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:17:28 +00:00
peterl%netscape.com
158d6f2176 reset pushback buffer when creating a new scanner
factored scanner creation code


git-svn-id: svn://10.0.0.236/trunk@48709 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 01:19:29 +00:00
kipp%netscape.com
ffc7966b7d Zapped mCompatFloatMargin hack
git-svn-id: svn://10.0.0.236/trunk@47887 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 00:57:06 +00:00
kipp%netscape.com
458a973efc Added in mCompatFloaterMargin
git-svn-id: svn://10.0.0.236/trunk@47812 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 19:55:28 +00:00