Commit Graph

1270 Commits

Author SHA1 Message Date
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
pierre@netscape.com
893dab5694 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
5cb4b4ee81 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
a750d76173 adding behavior property to CSS. r=brendan 2000-01-11 03:40:41 +00:00
pierre@netscape.com
cabc01e8fe Bug 23236: In quirks mode, accept 'xxyyzz' colors even without '#' prefix 2000-01-08 10:11:10 +00:00
pierre@netscape.com
37a1ed2e42 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
3abca0bf7e 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
796280940b 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
824ba18df3 Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
peterl@netscape.com
aba7ebc9ea 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
kipp@netscape.com
ea36a75c90 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
mgleeson1@netscape.com
0070eb9c7e r=kipp changed illegal escape \{ to { 1999-10-06 01:41:38 +00:00
peterl@netscape.com
597ae15c20 fixed fix to bug 15373. Now it won't crash on EOF conditions 1999-10-02 04:23:00 +00:00
kipp@netscape.com
f32195ce79 r=peterl; bug=15373; Fixed atom memory leaky 1999-10-01 20:13:39 +00:00
kipp@netscape.com
14498bdaac Removed atom table hacks 1999-09-30 21:17:28 +00:00
peterl@netscape.com
ee50644c1f reset pushback buffer when creating a new scanner
factored scanner creation code
1999-09-22 01:19:29 +00:00
kipp@netscape.com
9b9133a12d Zapped mCompatFloatMargin hack 1999-09-17 00:57:06 +00:00
kipp@netscape.com
1497ca1836 Added in mCompatFloaterMargin 1999-09-16 19:55:28 +00:00
peterl@netscape.com
96be2b8cde added first-node pseudo class (extension) 1999-09-11 00:08:30 +00:00
peterl@netscape.com
107b0de8fa added system color parsing
fixed font weight parsing to be more strict
1999-09-10 05:55:36 +00:00
peterl@netscape.com
5d37fbe7cd tracking UI & forms proposal changes 1999-09-03 23:40:35 +00:00
kipp@netscape.com
a6e79a2e46 Fixed an nsString usage oopsie 1999-09-02 18:02:52 +00:00
peterl@netscape.com
ec2a7404a6 made change hint smarter 1999-08-08 01:17:29 +00:00
peterl@netscape.com
11c9da96a4 removed assert 1999-08-04 05:06:19 +00:00
peterl@netscape.com
1c4963abec added experimental CSS3 properties 1999-07-24 19:04:42 +00:00
mscott@netscape.com
fae27eb844 Necko Only!! Yuck. something was pretty bogus here...whenever we were parsing a url we'd create an empty
base url then try to turn the empty url into an absolute url which was returning an error. Looks like ParseURL would
never work.
1999-07-20 23:53:03 +00:00
mcafee@netscape.com
c17fc7dd50 minor warning fix 1999-07-20 20:24:28 +00:00
peterl@netscape.com
8b925a3c19 update to new property and keyword enums and apis
added 'ch' unit support
1999-07-18 00:31:37 +00:00
andreas.otte@primus-online.de
152adcbe71 NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski 1999-07-11 15:46:10 +00:00
peterl@netscape.com
b4b53b5a74 hook up quirk mode 1999-07-07 01:29:49 +00:00
andreas.otte@primus-online.de
b7a7d8272b NECKO only: replacing GetBuffer with ToNewCString and some error checking 1999-07-06 23:08:16 +00:00
valeski@netscape.com
3b026e97ba various #ifdef NECKO fixes. 1999-06-27 16:12:20 +00:00
warren@netscape.com
0dddd47c95 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00