glazman%netscape.com
5fecca8a3f
CSS parser drops negations if attached to universal selector and a pseudo-element; b=87999, r=peterv, sr=hyatt
2001-06-27 10:41:49 +00:00
dbaron%fas.harvard.edu
b659af71e9
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
2001-06-09 01:32:19 +00:00
dbaron%fas.harvard.edu
d4918d0cb3
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
2001-06-05 01:00:11 +00:00
hyatt%netscape.com
b135c5b55a
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
dbaron%fas.harvard.edu
cfd9a7e6ca
Fix build bustage within |#ifdef CSS_REPORT_PARSE_ERRORS| resulting from scc's string changes for bug 75220. Not part of default build. r=glazman a=tor
2001-05-23 14:18:38 +00:00
pierre%netscape.com
e9070a9f0a
14448 'border' property not resetting 'border-color' to initial value. tested=dbaron/hixie
2001-05-02 10:31:31 +00:00
pierre%netscape.com
7e44a669bf
#12386 "Matching of case sensitive attribute values should be case sensitive" sr=waterson
2001-04-18 04:36:52 +00:00
blakeross%telocity.com
80bf68ccea
Implement css3 :empty selector (75186). Patch by the evil QA-turned-engineer Ian Hickson <ian@hixie.ch> who insists on using me shamelessly for my cvs account. r=pierre sr=attinasi
2001-04-11 02:55:41 +00:00
blakeross%telocity.com
c9b9689e26
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
2001-04-05 19:53:13 +00:00
dbaron%fas.harvard.edu
2045177b94
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
2001-04-02 21:14:23 +00:00
glazman%netscape.com
2fd3ed5466
Support for :last-child pseudoclass; checking in for Ian Hickson ; b=46916, r=pierre, sr=attinasi
2001-03-30 10:20:57 +00:00
glazman%netscape.com
4fc3eb0ce3
adds support for :not() css3 pseudo-class; b=71647, r=pierre, sr=hyatt
2001-03-20 11:49:20 +00:00
hyatt%netscape.com
a540a46a90
Fix for 70704 and 71261. r=pierre, sr=attinasi
2001-03-13 02:34:02 +00:00
glazman%netscape.com
e0f5ee4898
Cleanup of ParseSelector() ; b=71100, r=peterl, sr=attinasi
2001-03-08 23:27:39 +00:00
glazman%netscape.com
0c9d22b2c9
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
2001-03-06 23:07:33 +00:00
hyatt%netscape.com
6946f71e1b
Fix for 70809. r=attinasi, sr=brendan
2001-03-06 02:30:30 +00:00
dbaron%fas.harvard.edu
1261245491
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
2001-03-06 01:57:30 +00:00
glazman%netscape.com
99f88218ba
enhancement for the 3 new attributes selectors in CSS 3. r=dbaron, sr=attinasi
2001-03-03 00:54:04 +00:00
hyatt%netscape.com
e050817098
Fix for 67739. r=pierre,attinasi, sr=ben
2001-02-15 21:25:31 +00:00
glazman%netscape.com
9968e71541
patch for #65448 : css parser refused multiple ID selectors in same sequence; r=dbaron,attinasi sr=attinasi (buster's delegation)
2001-02-13 14:06:29 +00:00
dbaron%fas.harvard.edu
6a1cef6f9a
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
2001-01-27 23:06:33 +00:00
hewitt%netscape.com
b061c11ad1
52381 - DOM selectorText implementation, r=attinasi/jst, sr=waterson
2001-01-22 04:03:48 +00:00
rods%netscape.com
edb0c6270c
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
dbaron%fas.harvard.edu
c2cbfd2d6d
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
2000-09-08 02:05:09 +00:00
dbaron%fas.harvard.edu
c9392da530
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
2000-09-06 02:27:46 +00:00
rods%netscape.com
7f0dcda2ea
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
2000-08-24 13:45:48 +00:00
jst%netscape.com
9abec73fbe
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
2000-08-23 17:27:06 +00:00
pierre%netscape.com
8c26256cb6
47138: Some invalid units are not resulting in dropped declarations.
15174: counter() and counters() should not be recognized by CSS parser.
2000-08-08 00:34:42 +00:00
pierre%netscape.com
1d4805ae87
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>
2000-08-05 04:40:03 +00:00
attinasi%netscape.com
c115636333
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
2000-06-02 21:45:06 +00:00
jst%netscape.com
ef8e746fdd
WIP for supporting setting the cssText property on css declarations through the CSS DOM, approved and partly reviewed by Pierre.
2000-05-03 21:42:00 +00:00
pierre%netscape.com
ef1931a1f8
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.
2000-04-28 10:02:12 +00:00
dbaron%fas.harvard.edu
2ac24b8966
Fix bugs 12398, 12450, and 35215, and comment out some unused code. r=pierre@netscape.com
2000-04-27 00:12:25 +00:00
attinasi%netscape.com
31410d2cca
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
2000-04-23 02:01:40 +00:00
scc%netscape.com
0012d27605
making string conversions explicit
2000-04-15 20:15:37 +00:00
jim_nance%yahoo.com
dc0e139673
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
2000-03-30 03:21:26 +00:00
warren%netscape.com
727f312b32
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.
2000-03-29 03:58:50 +00:00
pierre%netscape.com
a367200997
Bugs 18218. 'display:inline-table' should not be recognized by the CSS parser.
2000-03-25 21:26:14 +00:00
pierre%netscape.com
ae30bfa13f
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.
2000-03-23 14:45:04 +00:00
rickg%netscape.com
ffe78e83e5
removed calls to deprecated string methods
2000-03-12 09:14:14 +00:00
attinasi%netscape.com
0722a164fa
font-size in QuirksMode will now be ignored if the units are not specified. r=pierre b=23461
2000-02-11 01:22:47 +00:00
pierre%netscape.com
421af19ae9
Bug 24676 ("Need -moz-outline-radius feature"). Fixed the parsing of -moz-outline-radius.
2000-01-28 10:03:10 +00:00
pierre%netscape.com
0ff017366d
Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'.
2000-01-24 11:19:55 +00:00
hyatt%netscape.com
21a48fa26a
adding behavior property to CSS. r=brendan
2000-01-11 03:40:41 +00:00
pierre%netscape.com
f1d11fe977
Bug 23236: In quirks mode, accept 'xxyyzz' colors even without '#' prefix
2000-01-08 10:11:10 +00:00
pierre%netscape.com
bdf8bc768d
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
1999-12-22 11:27:10 +00:00
warren%netscape.com
2db26922a6
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
1999-11-30 04:50:42 +00:00
dmose%mozilla.org
5312eacf8c
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
cls%seawood.org
bee74e223b
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +00:00
peterl%netscape.com
cc76d235e4
store system colors as int rather than enums
...
return proper result code when setting system color
r=rods
1999-10-12 01:31:33 +00:00