387 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
4d91fc7bff Improve error reporting on unknown function pseudo-classes. Bug 261073, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@177805 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 01:46:04 +00:00
bzbarsky%mit.edu
92b9eb9e93 Escapes should be allowed to start an id. Bug 299148, r+sr=dbaron, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176257 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 20:49:34 +00:00
dbaron%dbaron.org
a610dfc91e Send correct Referer when <base href> is involved. r+sr=bzbarsky a=bsmedberg b=300942
git-svn-id: svn://10.0.0.236/trunk@176256 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 20:44:49 +00:00
timeless%mozdev.org
931c321236 Bug 299560 nsCSSParser.cpp:935 Comparison between signed and unsigned integer expressions
patch by b.jacques@planet.nl r=dbaron sr=dbaron a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176022 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 18:16:00 +00:00
dbaron%dbaron.org
25b210b22c Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@175468 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 04:29:42 +00:00
bzbarsky%mit.edu
7178a28d71 Make sure to clean up before any early returns. Bug 295638, r=vlad, sr=dbaron,
a=shaver.


git-svn-id: svn://10.0.0.236/trunk@173923 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 15:41:12 +00:00
bzbarsky%mit.edu
13aba10e80 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.


git-svn-id: svn://10.0.0.236/trunk@172819 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 20:19:24 +00:00
vladimir%pobox.com
7689b69908 b=288796, add public ParseColorString method to CSSParser, r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@172384 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 02:51:40 +00:00
tor%cs.brown.edu
ff8b5cf88f Bug 277135 - addressing svg style sr comments. r=scooter, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171608 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 21:42:26 +00:00
dbaron%dbaron.org
72020748e5 Implement CSS2 counters. b=3247 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171473 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 23:07:00 +00:00
smfr%smfr.org
772e4ba0b2 Fix bug 288360 -- uninitialized return values caused failure to load CSS on various sites. r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171413 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 23:05:02 +00:00
dbaron%dbaron.org
be07cbe034 Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171350 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 00:36:57 +00:00
mats.palmgren%bredband.net
d5dcb62486 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


git-svn-id: svn://10.0.0.236/trunk@171246 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-27 11:36:08 +00:00
dbaron%dbaron.org
d70f0b01bf Add comment. b=286262 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@170885 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-18 06:56:03 +00:00
bryner%brianryner.com
5379a88c76 Rename nsNameSpaceMap to nsXMLNameSpaceMap to avoid symbol collision in static builds (bug 281728). r=dbaron.
git-svn-id: svn://10.0.0.236/trunk@169449 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 00:10:38 +00:00
bryner%brianryner.com
32c824e02b Remove nsINameSpace and replace with a simple array-based list of namespace mappings for CSS. Bug 281728, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@169414 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 19:18:37 +00:00
tor%cs.brown.edu
8e4cbfc529 Bug 193825 - <svg:clipPath> implementation.
r=scooter, sr=dbaron for shared moz files.


git-svn-id: svn://10.0.0.236/trunk@168283 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 03:55:03 +00:00
tor%cs.brown.edu
308eece6d8 Bug 238050 - implement SVG markers. r=scooter, moz common files sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@166471 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 03:16:15 +00:00
mats.palmgren%bredband.net
b48e73a4be Skip leading space inside :not(). b=271916 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165849 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-28 15:04:13 +00:00
mats.palmgren%bredband.net
13cfc53916 Making invalid selectors ignore the following rule in more cases. b=265542 r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165818 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 21:05:45 +00:00
tor%cs.brown.edu
b5ae075b44 Bug 103294 - improve parsing of SVG stroke-dasharray property. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@165164 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-09 18:19:28 +00:00
bzbarsky%mit.edu
fe32860667 Make it possible to use the string input stream without heap-allocating a
string.  Bug 263973, r=darin, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@164487 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 02:19:43 +00:00
aaronleventhal%moonset.net
53a4f4090a Bug 251498. Implement outline-offset. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164430 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-26 12:57:15 +00:00
dbaron%dbaron.org
307067aa6d Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@164265 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 04:32:21 +00:00