Commit Graph

560 Commits

Author SHA1 Message Date
7a47b226a1 Bug 387044: cleanup string usage in nsCSSParser. r+sr=bzbarsky 2007-07-05 18:21:56 -07:00
3ec01a1b7b Implement -moz-border-start and -moz-border-end. Patch by Simon Montagu <smontagu@smontagu.org> and me. b=74880 r/sr=smontagu/dbaron 2007-07-04 11:51:16 -07:00
ee8f140282 Rewrite handling of CSS system fonts to fix bugs in cascading and serialization. b=377947 r+sr=bzbarsky 2007-06-12 11:28:56 -07:00
f7f92fe034 Treat a property value with trailing non-whitespace the same as a parse error. b=383075 r+sr=dbaron 2007-06-06 10:56:18 -07:00
8fd307cb91 Bug 383030 - Negative values for -moz-border-radius/-moz-outline-radius should be ignored, r+sr=dbaron 2007-06-03 14:15:45 -07:00
825177fb97 Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron 2007-05-16 08:51:37 -07:00
48f7695672 Handle -moz-initial for 'font' shorthand (and fix bugs in some of its subproperties). b=377521 r+sr=bzbarsky 2007-05-14 22:13:49 -07:00
6a0557443f Fix bad string comparison preventing 'none' and 'initial' values of 'counter-increment' and 'counter-reset' from being parsed correctly. b=379555 r+sr=dbaron Patch by Daniel Holbert <dholbert@mozilla.com>. 2007-05-03 17:05:16 -07:00
263d44e417 Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky 2007-05-03 16:11:00 -07:00
9e4b29a9ba Propagate a stylesheet's principal to the URI and Image CSSValues derived fromthat sheet. Bug 377091, r+sr=dbaron 2007-05-02 18:15:53 -07:00
0b40990adf Fixing parsing of opacity components of rgba() and hsla() that are out of the0 <= x <= 1 range. Bug 379316, r+sr=dbaron 2007-04-30 20:50:31 -07:00
780b39170e Implement "content: none". Bug 378535, r+sr=dbaron 2007-04-26 21:43:06 -07:00
972388505e Round instead of truncating when converting a percentage color into aninteger. Bug 340613, r+sr=dbaron 2007-04-22 15:03:30 -07:00
aaecd9d578 A bunch of one-liners to fix bugs found by CSS mochitests. b=377731 r+sr=bzbarsky 2007-04-20 17:16:52 -07:00
695d509bd1 Fix regression of background-position serialization. b=258080 r+sr=bzbarsky 2007-04-18 13:41:14 -07:00
51785f18a6 Convert background-position to use nsCSSValuePair rather than acting like a shorthand property. b=258080 r+sr=bzbarsky 2007-04-15 15:25:20 -07:00
a8ebe14534 Fix handling of initial and -moz-inherit for -moz-broken-image-icon, quotes, and -moz-box-ordinal-group. b=375363 r+sr=bzbarsky 2007-03-30 15:02:09 -07:00
masayuki@d-toybox.com
a22c0c11e9 Bug 335394 We should remove support for the 'invert' value ifdef MOZ_CAIRO_GFX r+sr=dbaron 2007-03-15 16:16:20 +00:00
roc+@cs.cmu.edu
9d59d74e81 Bug 336682. Fix online/offline events to target and bubble propertly, and so that <body ononline= onoffline=> works. Patch by Chris Double, r+sr=jst,r=dbaron 2007-03-14 01:42:42 +00:00
dbaron@dbaron.org
a22fce1765 Round the alpha component in computed style as well. b=372782 r+sr=bzbarsky 2007-03-08 18:44:45 +00:00
longsonr@gmail.com
0ecf382f71 Bug 307708 � filters should operate in linearRGB color space by default r=dbaron,r=tor,sr=roc 2007-01-30 13:19:55 +00:00
cvshook@sicking.cc
e80f1dba4e Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
dbaron@dbaron.org
2b7e956478 Implement CSS display types inline-block and inline-table. b=9458, 18217 r+sr=bzbarsky 2007-01-27 18:36:57 +00:00
dbaron@dbaron.org
ca10294778 Remove const that doesn't make any sense. b=364049 r=bzbarsky 2007-01-26 06:38:58 +00:00
dbaron@dbaron.org
9a1b56477d Make computed style output the a part of rgba/hsla colors, and also implement the 'transparent' keyword from css3-color. b=347912 r+sr=bzbarsky 2007-01-25 02:03:02 +00:00
dbaron@dbaron.org
7280409657 Correct punctuation in CSS error reports. b=315250 r+sr=bzbarsky. 2007-01-23 22:49:49 +00:00
roc+@cs.cmu.edu
27f54d87ad Bug 366880. -moz-column-gap should support 'normal', which should be the initial value. r+sr=dbaron 2007-01-17 03:25:38 +00:00
longsonr@gmail.com
f0d28e5bea Bug 264132 � Implement fallback for SVG paint servers r=dbaron,sr=tor 2007-01-09 11:02:17 +00:00
tor@cs.brown.edu
b01dcfacaa Bug 326143 - Implement feFlood and feTurbulence filter elements.
Patch by tor and malex@cs.utexas.edu, r=tor, sr=roc
2007-01-08 16:48:56 +00:00
bzbarsky@mit.edu
ac272a55e5 Fix warning. Bug 347705, no review. 2006-12-15 23:15:58 +00:00
bzbarsky@mit.edu
f0a555f582 Use string buffers to store strings in nsCSSValue so we don't have to alloc in
copy constructors and such.  Bug 350141, r+sr=dbaron
2006-12-13 15:49:36 +00:00
bzbarsky@mit.edu
7a43659a3d Don't use LookupKeyword to deal with CSS units. Bug 347705, r+sr=dbaron 2006-12-12 15:34:43 +00:00
dbaron@dbaron.org
ac8c590bd8 Update list of case-sensitive HTML attributes. Patch by Niels Leenheer (rakaz) <niels.leenheer@gmail.com>. r+sr=dbaron b=356936 2006-10-22 19:04:26 +00:00
ted.mielczarek@gmail.com
ecb84187e8 bug 308928, Invalid input for the canvas fillStyle/strokeStyle throws an exception but should be ignored. Patch by asqueella@gmail.com, r+sr=vlad 2006-10-14 19:28:20 +00:00
bzbarsky@mit.edu
df760b6ec1 Deal with flex values that add up to too much. Bug 345709, r=neil, sr=roc 2006-08-15 01:08:00 +00:00
dbaron@dbaron.org
310ab82061 Fix incorrectly-written assertion. b=345620 r+sr=bzbarsky 2006-07-26 16:23:49 +00:00
roc+@cs.cmu.edu
705abd8a75 Bug 331883. Restrict anonymous box selectors to agent/user style sheets. r+sr=dbaron/bzbarsky 2006-06-15 03:20:19 +00:00
dbaron@dbaron.org
bdeea6cda8 File comments that show up in LXR and provide a quick summary of what's in each file. 2006-03-25 05:47:31 +00:00
vladimir@pobox.com
b8b3ac5e99 b=147017, Support rgba and hsla colors in CSS (cairo only), r+sr=dbaron 2006-02-10 07:08:43 +00:00
tor@cs.brown.edu
3c86619c93 Bug 316764 - implement <mask> and fix <clipPath> for multiple
overlapping children.  r=scootermorris
2006-01-20 17:00:43 +00:00
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