Commit Graph

120 Commits

Author SHA1 Message Date
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
kipp%netscape.com
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
mgleeson1%netscape.com
675530c17a r=kipp changed illegal escape \{ to { 1999-10-06 01:41:38 +00:00
peterl%netscape.com
2fb6714797 fixed fix to bug 15373. Now it won't crash on EOF conditions 1999-10-02 04:23:00 +00:00
kipp%netscape.com
d26d687ef6 r=peterl; bug=15373; Fixed atom memory leaky 1999-10-01 20:13:39 +00:00
kipp%netscape.com
c37ecb974c Removed atom table hacks 1999-09-30 21:17:28 +00:00
peterl%netscape.com
341ec82a84 reset pushback buffer when creating a new scanner
factored scanner creation code
1999-09-22 01:19:29 +00:00
kipp%netscape.com
3ced381a1a Zapped mCompatFloatMargin hack 1999-09-17 00:57:06 +00:00
kipp%netscape.com
aed7845101 Added in mCompatFloaterMargin 1999-09-16 19:55:28 +00:00
peterl%netscape.com
2c450d66f9 added first-node pseudo class (extension) 1999-09-11 00:08:30 +00:00
peterl%netscape.com
03b11a90a5 added system color parsing
fixed font weight parsing to be more strict
1999-09-10 05:55:36 +00:00
peterl%netscape.com
a8e65ff2a6 tracking UI & forms proposal changes 1999-09-03 23:40:35 +00:00
kipp%netscape.com
ca2b2003c6 Fixed an nsString usage oopsie 1999-09-02 18:02:52 +00:00
peterl%netscape.com
f12ab5112a made change hint smarter 1999-08-08 01:17:29 +00:00
peterl%netscape.com
7e3bd063e3 removed assert 1999-08-04 05:06:19 +00:00
peterl%netscape.com
3bf8f6b907 added experimental CSS3 properties 1999-07-24 19:04:42 +00:00
mscott%netscape.com
8392da15eb 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
784b45d3ce minor warning fix 1999-07-20 20:24:28 +00:00
peterl%netscape.com
6de833e76e 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
838f5a972b NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski 1999-07-11 15:46:10 +00:00
peterl%netscape.com
ac97bf4bb2 hook up quirk mode 1999-07-07 01:29:49 +00:00
andreas.otte%primus-online.de
001ff1afea NECKO only: replacing GetBuffer with ToNewCString and some error checking 1999-07-06 23:08:16 +00:00
valeski%netscape.com
32de4bf808 various #ifdef NECKO fixes. 1999-06-27 16:12:20 +00:00
warren%netscape.com
fbd6d1dc57 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00