Commit Graph

560 Commits

Author SHA1 Message Date
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
tor@cs.brown.edu
be5463c12b Bug 234789 - SVG text ignores font-size if no unit specified.
Patch by scootermorris@comcast.net, r=tor, sr=dbaron.
2004-08-10 00:02:47 +00:00
dbaron@dbaron.org
cbf836f0d2 Implement @-moz-document at-rule for site-specific rules, particularly in user stylesheets. b=238099 r+sr=bzbarsky 2004-08-05 18:26:14 +00:00
dbaron@dbaron.org
69ed631e04 Don't allocate and leak selectors that we don't need. b=252510 r+sr=bzbarsky 2004-07-21 21:20:14 +00:00
roc+@cs.cmu.edu
fa6c1b5822 Bug 251162. Add -moz-column-gap to the style system. r+sr=dbaron 2004-07-18 12:12:46 +00:00
dbaron@dbaron.org
7bf96a5781 Send the stylesheet as the HTTP Referer header for images loaded from CSS stylesheets. b=249168 r=bzbarsky sr=darin 2004-07-14 21:56:23 +00:00
roc+@cs.cmu.edu
1600f68744 Bug 245297. Add basic style system support for columns. r+sr=dbaron 2004-06-17 11:57:37 +00:00
roc+@cs.cmu.edu
d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
bzbarsky@mit.edu
e4e1b8add4 Use property ids from the property list, as long as we're using preprocessing
to create all the Set/Get* functions for nsIDOMCSS2Properties.  Bug 243728, r+sr=dbaron
2004-06-08 01:32:29 +00:00
caillon@redhat.com
9912e763f8 Remove '-moz-resizer' from the style system.
Bug 242712. r+sr=dbaron
2004-05-05 21:37:32 +00:00
bzbarsky@mit.edu
771e8572b7 Don't allow negative line-heights to make it past the CSS parser. Bug 240900,
r+sr=dbaron
2004-04-18 20:10:09 +00:00