361 Commits

Author SHA1 Message Date
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
sharparrow1%yahoo.com
25ec94e5eb Bug 387044: cleanup string usage in nsCSSParser. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@229402 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-06 01:21:56 +00:00
dbaron%dbaron.org
2f24fe473a Implement -moz-border-start and -moz-border-end. Patch by Simon Montagu <smontagu@smontagu.org> and me. b=74880 r/sr=smontagu/dbaron
git-svn-id: svn://10.0.0.236/trunk@229329 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 18:51:40 +00:00
dbaron%dbaron.org
0d40d0c7e0 Rewrite handling of CSS system fonts to fix bugs in cascading and serialization. b=377947 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@227883 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 18:29:11 +00:00
mats.palmgren%bredband.net
263b383ccf Treat a property value with trailing non-whitespace the same as a parse error. b=383075 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@227593 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-06 17:56:18 +00:00
martijn.martijn%gmail.com
7382c8822c Bug 383030 – Negative values for -moz-border-radius/-moz-outline-radius should be ignored, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@227437 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-03 21:15:46 +00:00
masayuki%d-toybox.com
605efe68cb Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226522 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 15:51:39 +00:00
dbaron%dbaron.org
08ee109ec4 Handle -moz-initial for 'font' shorthand (and fix bugs in some of its subproperties). b=377521 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226419 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 05:13:50 +00:00
dbaron%dbaron.org
d2a2e4419b 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>.
git-svn-id: svn://10.0.0.236/trunk@225556 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-04 00:05:16 +00:00
dbaron%dbaron.org
03a83ad9f2 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
git-svn-id: svn://10.0.0.236/trunk@225554 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 23:11:02 +00:00
bzbarsky%mit.edu
c6a333df55 Propagate a stylesheet's principal to the URI and Image CSSValues derived from
that sheet.  Bug 377091, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225504 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 01:15:54 +00:00
bzbarsky%mit.edu
e68352cec4 Fixing parsing of opacity components of rgba() and hsla() that are out of the
0 <= x <= 1 range.  Bug 379316, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225320 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 03:50:31 +00:00
bzbarsky%mit.edu
afde507a3b Implement "content: none". Bug 378535, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225126 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 04:43:06 +00:00
bzbarsky%mit.edu
db4a0905b7 Round instead of truncating when converting a percentage color into an
integer.  Bug 340613, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@224859 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-22 22:03:30 +00:00
dbaron%dbaron.org
0d353ca4ab A bunch of one-liners to fix bugs found by CSS mochitests. b=377731 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224819 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-21 00:16:52 +00:00
dbaron%dbaron.org
3480ec552c Fix regression of background-position serialization. b=258080 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224700 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-18 20:41:15 +00:00
dbaron%dbaron.org
1337feb9b0 Convert background-position to use nsCSSValuePair rather than acting like a shorthand property. b=258080 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224557 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 22:25:21 +00:00
dbaron%dbaron.org
7c4a569eb6 Fix handling of initial and -moz-inherit for -moz-broken-image-icon, quotes, and -moz-box-ordinal-group. b=375363 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@222660 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 22:02:10 +00:00
masayuki%d-toybox.com
7aac338174 Bug 335394 We should remove support for the 'invert' value ifdef MOZ_CAIRO_GFX r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@221918 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-15 16:16:20 +00:00
roc+%cs.cmu.edu
2da351febf 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
git-svn-id: svn://10.0.0.236/trunk@221857 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-14 01:42:42 +00:00
dbaron%dbaron.org
535f44f6e4 Round the alpha component in computed style as well. b=372782 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@221563 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 18:44:45 +00:00
longsonr%gmail.com
0f7134181a Bug 307708 û filters should operate in linearRGB color space by default r=dbaron,r=tor,sr=roc
git-svn-id: svn://10.0.0.236/trunk@219177 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 13:19:55 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
dbaron%dbaron.org
3052400d5e Implement CSS display types inline-block and inline-table. b=9458, 18217 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219045 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:36:57 +00:00
dbaron%dbaron.org
a2e9f4177e Remove const that doesn't make any sense. b=364049 r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218961 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 06:38:58 +00:00
dbaron%dbaron.org
f910247453 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
git-svn-id: svn://10.0.0.236/trunk@218881 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 02:03:02 +00:00
dbaron%dbaron.org
73ebb32115 Correct punctuation in CSS error reports. b=315250 r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@218817 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 22:49:49 +00:00
roc+%cs.cmu.edu
7bc222b695 Bug 366880. -moz-column-gap should support 'normal', which should be the initial value. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218489 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 03:25:38 +00:00
longsonr%gmail.com
e20fd15388 Bug 264132 û Implement fallback for SVG paint servers r=dbaron,sr=tor
git-svn-id: svn://10.0.0.236/trunk@218053 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 11:02:17 +00:00
tor%cs.brown.edu
6dff24dcdc Bug 326143 - Implement feFlood and feTurbulence filter elements.
Patch by tor and malex@cs.utexas.edu, r=tor, sr=roc


git-svn-id: svn://10.0.0.236/trunk@217993 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 16:48:56 +00:00
bzbarsky%mit.edu
7bb79c2d4b Fix warning. Bug 347705, no review.
git-svn-id: svn://10.0.0.236/trunk@217032 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 23:15:58 +00:00
bzbarsky%mit.edu
f7370ae6b5 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


git-svn-id: svn://10.0.0.236/trunk@216939 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 15:49:36 +00:00
bzbarsky%mit.edu
2a4880f3a6 Don't use LookupKeyword to deal with CSS units. Bug 347705, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@216876 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 15:34:43 +00:00
dbaron%dbaron.org
cdf4085ccb Update list of case-sensitive HTML attributes. Patch by Niels Leenheer (rakaz) <niels.leenheer@gmail.com>. r+sr=dbaron b=356936
git-svn-id: svn://10.0.0.236/trunk@213978 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-22 19:04:26 +00:00
ted.mielczarek%gmail.com
2493c7f2c3 bug 308928, Invalid input for the canvas fillStyle/strokeStyle throws an exception but should be ignored. Patch by asqueella@gmail.com, r+sr=vlad
git-svn-id: svn://10.0.0.236/trunk@213644 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-14 19:28:20 +00:00
bzbarsky%mit.edu
a2132179a7 Deal with flex values that add up to too much. Bug 345709, r=neil, sr=roc
git-svn-id: svn://10.0.0.236/trunk@207402 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 01:08:00 +00:00
dbaron%dbaron.org
6bf2db1853 Fix incorrectly-written assertion. b=345620 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@203728 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-26 16:23:49 +00:00
roc+%cs.cmu.edu
29cf24ae1d Bug 331883. Restrict anonymous box selectors to agent/user style sheets. r+sr=dbaron/bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199937 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 03:20:19 +00:00
dbaron%dbaron.org
a02fd2d2f8 File comments that show up in LXR and provide a quick summary of what's in each file.
git-svn-id: svn://10.0.0.236/trunk@192979 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 05:47:31 +00:00
vladimir%pobox.com
fcf33f61ad b=147017, Support rgba and hsla colors in CSS (cairo only), r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@189553 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 07:08:43 +00:00
tor%cs.brown.edu
fe2017034e Bug 316764 - implement <mask> and fix <clipPath> for multiple
overlapping children.  r=scootermorris


git-svn-id: svn://10.0.0.236/trunk@187897 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 17:00:43 +00:00
bzbarsky%mit.edu
790bc6c11e Followup for bug 314920, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@184464 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 18:38:54 +00:00
bzbarsky%mit.edu
f80c7c537d 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


git-svn-id: svn://10.0.0.236/trunk@184431 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 22:26:06 +00:00
dbaron%dbaron.org
175a29a940 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
git-svn-id: svn://10.0.0.236/trunk@184337 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-09 04:17:26 +00:00
bzbarsky%mit.edu
d56d5db506 Implement :-moz-empty-except-children-with-localname() pseudo-class. Bug
309067, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@182333 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 15:57:13 +00:00
bryner%brianryner.com
604090c485 Convert CSSGroupRule and CSSStyleSheet to use nsCOMArray. Bug 312491, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@182319 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 20:21:20 +00:00
bzbarsky%mit.edu
d47b8e0f93 Allow EOF to end declarations. Bug 311617, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@181860 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-09 18:22:51 +00:00
cbiesinger%web.de
90208b4cf2 bug 308409 convert ParseTextShadow to nsCSSValue::Array and nsCSSValueList
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@180642 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-20 12:04:45 +00:00
bzbarsky%mit.edu
26af641d58 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


git-svn-id: svn://10.0.0.236/trunk@180509 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 18:05:40 +00:00
tor%cs.brown.edu
4a3e054bee Bug 301234 - implement subset of SVG filters. r=scooter
git-svn-id: svn://10.0.0.236/trunk@179732 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 22:30:40 +00:00