Commit Graph

1270 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
0142249857 Followup for bug 314920, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r+sr=bzbarsky 2005-11-11 18:38:54 +00:00
bzbarsky@mit.edu
d305863a78 Make parsing out of a string just parse out of the string instead of wrapping
it in a stream.  Bug 314920, patch by Alfred Kayser <alfredkayser@nl.ibm.com>,
r=dbaron, sr=bzbarsky
2005-11-10 22:26:06 +00:00
dbaron@dbaron.org
6374a6f10b Change storage of :not() selectors so that there is one item in mNegations per :not(), and simplify various code accordingly. Simplify SelectorMatches a little more. b=315567 r+sr=bzbarsky 2005-11-09 04:17:26 +00:00
bzbarsky@mit.edu
7a1f8ef6f0 Implement :-moz-empty-except-children-with-localname() pseudo-class. Bug
309067, r+sr=dbaron
2005-10-16 15:57:13 +00:00
bryner@brianryner.com
cf2eb512d9 Convert CSSGroupRule and CSSStyleSheet to use nsCOMArray. Bug 312491, r+sr=bzbarsky. 2005-10-15 20:21:20 +00:00
bzbarsky@mit.edu
84dc2e8e5f Allow EOF to end declarations. Bug 311617, r+sr=dbaron 2005-10-09 18:22:51 +00:00
cbiesinger@web.de
48e0476e31 bug 308409 convert ParseTextShadow to nsCSSValue::Array and nsCSSValueList
r+sr=dbaron
2005-09-20 12:04:45 +00:00
bzbarsky@mit.edu
a6c8685ff9 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron
2005-09-18 18:05:40 +00:00
tor@cs.brown.edu
d0df8f3f9d Bug 301234 - implement subset of SVG filters. r=scooter 2005-09-06 22:30:40 +00:00
bzbarsky@mit.edu
c9817f91e2 Improve error reporting on unknown function pseudo-classes. Bug 261073, r+sr=dbaron 2005-08-16 01:46:04 +00:00
bzbarsky@mit.edu
6e0f24c983 Escapes should be allowed to start an id. Bug 299148, r+sr=dbaron, a=bsmedberg 2005-07-19 20:49:34 +00:00
dbaron@dbaron.org
083a25c4f0 Send correct Referer when <base href> is involved. r+sr=bzbarsky a=bsmedberg b=300942 2005-07-19 20:44:49 +00:00
timeless@mozdev.org
e048e6d397 Bug 299560 nsCSSParser.cpp:935 Comparison between signed and unsigned integer expressions
patch by b.jacques@planet.nl r=dbaron sr=dbaron a=bsmedberg
2005-07-13 18:16:00 +00:00
dbaron@dbaron.org
74365f5a11 Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa 2005-07-01 04:29:42 +00:00
bzbarsky@mit.edu
361a6b4efe Make sure to clean up before any early returns. Bug 295638, r=vlad, sr=dbaron,
a=shaver.
2005-06-01 15:41:12 +00:00
bzbarsky@mit.edu
d1609c3f26 Don't call ValueAppended on every single inline style mutation. Should be a
tad faster, and actually serialize better.  Bug 288574, r+sr=dbaron, a=asa.
2005-04-28 20:19:24 +00:00
vladimir@pobox.com
c97b2d5306 b=288796, add public ParseColorString method to CSSParser, r+sr=dbaron,a=asa 2005-04-18 02:51:40 +00:00
tor@cs.brown.edu
6d5c02b904 Bug 277135 - addressing svg style sr comments. r=scooter, sr=dbaron 2005-04-04 21:42:26 +00:00
dbaron@dbaron.org
4a88021355 Implement CSS2 counters. b=3247 r+sr=bzbarsky 2005-04-01 23:07:00 +00:00
smfr@smfr.org
6c7bd1123a Fix bug 288360 -- uninitialized return values caused failure to load CSS on various sites. r/sr=bzbarsky 2005-03-30 23:05:02 +00:00
dbaron@dbaron.org
b1497c8162 Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky 2005-03-30 00:36:57 +00:00
mats.palmgren@bredband.net
acd42ad508 Fix a few -moz-outline* problems and drop the prefix.
Change WARNING to ERROR in nsComputedDOMStyle.cpp and add a few more.
b=281972 r+sr=dbaron
2005-03-27 11:36:08 +00:00
dbaron@dbaron.org
082bca0dad Add comment. b=286262 r+sr=bzbarsky 2005-03-18 06:56:03 +00:00
bryner@brianryner.com
cf349ccb13 Rename nsNameSpaceMap to nsXMLNameSpaceMap to avoid symbol collision in static builds (bug 281728). r=dbaron. 2005-02-19 00:10:38 +00:00
bryner@brianryner.com
480cafec28 Remove nsINameSpace and replace with a simple array-based list of namespace mappings for CSS. Bug 281728, r+sr=bzbarsky. 2005-02-18 19:18:37 +00:00
tor@cs.brown.edu
ad25976c22 Bug 193825 - <svg:clipPath> implementation.
r=scooter, sr=dbaron for shared moz files.
2005-01-25 03:55:03 +00:00
tor@cs.brown.edu
6b90fd9660 Bug 238050 - implement SVG markers. r=scooter, moz common files sr=dbaron 2004-12-09 03:16:15 +00:00
mats.palmgren@bredband.net
216fbe19f7 Skip leading space inside :not(). b=271916 r+sr=dbaron 2004-11-28 15:04:13 +00:00
mats.palmgren@bredband.net
ca39724482 Making invalid selectors ignore the following rule in more cases. b=265542 r=bzbarsky sr=dbaron 2004-11-26 21:05:45 +00:00
tor@cs.brown.edu
a3166aaf62 Bug 103294 - improve parsing of SVG stroke-dasharray property. r+sr=bz 2004-11-09 18:19:28 +00:00
bzbarsky@mit.edu
9448781884 Make it possible to use the string input stream without heap-allocating a
string.  Bug 263973, r=darin, sr=dbaron
2004-10-27 02:19:43 +00:00
aaronleventhal@moonset.net
83234e98f1 Bug 251498. Implement outline-offset. r+sr=roc 2004-10-26 12:57:15 +00:00
dbaron@dbaron.org
389ae5fa02 Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa 2004-10-24 04:32:21 +00:00
tor@cs.brown.edu
2afdbb439a Bug 244917 - implement SVG gradients. Patch by scootermorris@comcast.net.
r=sicking,afri,tor,jwatt.  Shared mozilla code sr=tor,dbaron.
2004-10-14 23:02:53 +00:00
bzbarsky@mit.edu
1fbd5e43cb Make sure to set mScannerInited when it is. Bug 263959, caught by jag 2004-10-14 15:06:04 +00:00
bzbarsky@mit.edu
d920c3ffe0 Don't create new nsCSSScanners all the time. Just make nsCSSScanner a
non-pointer member of nsCSSParser so when we recycle parsers scanners get
recycled automatically.  Bug 263959, r+sr=dbaron
2004-10-14 03:30:55 +00:00
dbaron@dbaron.org
36e94730ff Move CSS error reporting functions from parser to scanner so that scanner can report errors, and fix up the one existing error report in the scanner that I'd forgotten about. b=262249 r+sr=bzbarsky 2004-10-12 18:44:14 +00:00
bzbarsky@mit.edu
51035d24df Fix "normal" and "-moz-initial" values for "content" to do the right thing.
Bug 262624, r+sr=dbaron
2004-10-06 00:45:42 +00:00
mats.palmgren@bredband.net
69be1b62eb Make window.setCursor() use CSS 'cursor' property values. b=260272 r+sr=dbaron 2004-10-01 17:15:15 +00:00
bzbarsky@mit.edu
f3eba60164 Remove parsing of play-during property, since we don't support it anyway and
it's gone from CSS2.1 and CSS3.  Bug 258079, r+sr=dbaron
2004-09-30 22:32:28 +00:00
dbaron@dbaron.org
77d470613d Fix bustage when CSS error reporting disabled. b=187007 2004-09-20 20:08:20 +00:00
dbaron@dbaron.org
49e74a5f92 Make CSS errors localizable. b=187007 r+sr=bzbarsky 2004-09-20 19:38:11 +00:00
dbaron@dbaron.org
41e94af61f Separate sheet URI and base URI for style attributes and for CSS parsing from DOM APIs. b=258707 r+sr=bzbarsky 2004-09-10 23:31:48 +00:00
dbaron@dbaron.org
45709672af Fix DEBUG bustage. b=255538 2004-09-10 09:31:10 +00:00
dbaron@dbaron.org
de930a6ef8 Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky 2004-09-10 06:45:59 +00:00
bzbarsky@mit.edu
ccd5aa2f41 Add nsCSSValuePair type and use it for storage of some properties. Bug 208729,
r+sr=dbaron
2004-09-10 03:26:58 +00:00
dbaron@dbaron.org
bba50d621a Pass line number information for style elements through to the CSS parser so we can give correct line numbers in error reports. b=240420 r+sr=bzbarsky 2004-09-09 17:32:35 +00:00
dbaron@dbaron.org
9921526bf4 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
dbaron@dbaron.org
0ee0dd0b76 Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
dbaron@dbaron.org
f2ad5967af Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00