pierre@netscape.com
545d6a81d5
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
bzbarsky@mit.edu
cef335acb4
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
bzbarsky@mit.edu
1a0ef9ade7
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
dbaron@fas.harvard.edu
4c647ea08a
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
ian@hixie.ch
07aaaf83cc
Treat classes case-insensitively in quirks mode. Bug 93371; r=pierre sr=attinasi
2001-08-16 07:42:15 +00:00
jaggernaut@netscape.com
b78c4290f5
Bug 92623: ``Adjust the nsCSSParser quirks'', patch by Hixie, r=pierre@netscape.com, sr=attinasi
2001-08-10 22:46:53 +00:00
bzbarsky@mit.edu
4a02ef7311
Making import rules implement the nsIDOMCSSImportRule interface. Bug 90290, r=pierre, sr=jst
2001-08-04 21:19:53 +00:00
hyatt@netscape.com
f70a2dc890
Fix for 71471. r=blake, sr=hewitt
2001-08-02 00:09:27 +00:00
bzbarsky@mit.edu
1115eb3909
Make CSSParserImpl::ParseAndAppendDeclaration keep parsing even when it
...
encounters an error. Bug 88421, r=pierre, sr=attinasi
2001-07-18 19:43:39 +00:00
glazman@netscape.com
c3e93c4623
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
e0c7882dcc
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
4fa00f5da7
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
dfdfa14592
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
dbaron@fas.harvard.edu
7847ede72d
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
3f41e886fb
14448 'border' property not resetting 'border-color' to initial value. tested=dbaron/hixie
2001-05-02 10:31:31 +00:00
pierre@netscape.com
b4d9c4baca
#12386 "Matching of case sensitive attribute values should be case sensitive" sr=waterson
2001-04-18 04:36:52 +00:00
blakeross@telocity.com
0674d7f5ab
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
db982c61c8
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
f53ad79876
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
6dbfef609d
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
9dba57c714
adds support for :not() css3 pseudo-class; b=71647, r=pierre, sr=hyatt
2001-03-20 11:49:20 +00:00
hyatt@netscape.com
6b67cda8b9
Fix for 70704 and 71261. r=pierre, sr=attinasi
2001-03-13 02:34:02 +00:00
glazman@netscape.com
4a7fe66551
Cleanup of ParseSelector() ; b=71100, r=peterl, sr=attinasi
2001-03-08 23:27:39 +00:00
glazman@netscape.com
cd08a6f539
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
a2bb8fb719
Fix for 70809. r=attinasi, sr=brendan
2001-03-06 02:30:30 +00:00
dbaron@fas.harvard.edu
7e8f7c9944
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
628b594235
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
fad68d0d9c
Fix for 67739. r=pierre,attinasi, sr=ben
2001-02-15 21:25:31 +00:00
glazman@netscape.com
02eef09908
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
15267f2b5c
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
104080feff
52381 - DOM selectorText implementation, r=attinasi/jst, sr=waterson
2001-01-22 04:03:48 +00:00
rods@netscape.com
c0ed0d0271
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
4409cb873c
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
ec61ec627d
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
187457d951
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
3ba32f670e
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
7f2eee4344
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
feef260bc9
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
00fed3cdd3
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
2da3548568
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
7a6dfd6fd6
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
ee8c8aa2a9
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
d3598ad5c0
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
5e49be25a8
making string conversions explicit
2000-04-15 20:15:37 +00:00
jim_nance@yahoo.com
112be9f648
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
a2fb078809
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
b473c4acc5
Bugs 18218. 'display:inline-table' should not be recognized by the CSS parser.
2000-03-25 21:26:14 +00:00
pierre@netscape.com
64694bfd57
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
f893513a91
removed calls to deprecated string methods
2000-03-12 09:14:14 +00:00
attinasi@netscape.com
d0a8308a75
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