Commit Graph

1156 Commits

Author SHA1 Message Date
L. David Baron
c56a3ac62e Implement dppx units [css3-images] for resolution media query. (Bug 741644) r=bzbarsky 2012-07-07 21:41:27 -07:00
Masatoshi Kimura
eb2dd03221 Bug 752187 - Part 9: Implement unprefixed radial-gradient parsing. r=dbaron 2012-07-07 10:27:08 -04:00
Masatoshi Kimura
cff81ab924 Bug 752187 - Part 8: Implement unprefixed linear-gradient parsing. r=dbaron 2012-07-07 10:27:08 -04:00
Masatoshi Kimura
b46ffb53c6 Bug 752187 - Part 7: Add aIsLegacy parameter to parsing functions. r=dbaron 2012-07-07 10:27:08 -04:00
Masatoshi Kimura
dbd00414b2 Bug 752187 - Part 6: Rename mIsToCorner to mIsLegacySyntax. r=dbaron 2012-07-07 10:27:08 -04:00
Masatoshi Kimura
f1974daa77 Bug 752187 - Part 5: Remove "to" corner parsing from ParseRadialGradient. r=dbaron 2012-07-07 10:27:08 -04:00
Masatoshi Kimura
a8f80c5ffb Bug 752187 - Part 4: Remove aIsRadial parameter. r=dbaron 2012-07-07 10:27:07 -04:00
Masatoshi Kimura
fd4035d69b Bug 752187 - Part 3: Separate linear gradient parsing and radial gradient parsing. r=dbaron 2012-07-07 10:27:07 -04:00
Masatoshi Kimura
4b6e28edee Bug 752187 - Part 2: Separate legacy gradient line parsing. r=dbaron 2012-07-07 10:27:07 -04:00
Masatoshi Kimura
7f2012411a Bug 752187 - Part 1: Separate color stops parsing. r=dbaron 2012-07-07 10:27:07 -04:00
Daniel Holbert
3f1d242779 Bug 696253, patch 8: implement parsing/computation for CSS shorthand property 'flex'. r=dbaron 2012-07-06 17:06:23 -07:00
Boris Zbarsky
fda89340da Bug 766798. Throw SYNTAX_ERR, not NAMESPACE_ERR, from querySelector(All) on unknown namespaces. r=dbaron 2012-06-22 16:18:50 -04:00
Ms2ger
02552d94c3 Bug 629882 - Support currentColor in the 2D canvas context; r=dbaron
This changes nsCSSParser::ParseColorString to fill in an nsCSSValue instead
of an nscolor, and exposes nsRuleNode::ComputeColor to turn this nsCSSValue
into an nscolor.

Because gradients can be used with different canvas elements in different
documents, these cannot pass useful values for nsRuleNode::ComputeColor's
aPresContext and aStyleContext arguments. This patch also changes SetColor
to deal with those parameters being null.
2012-06-06 09:36:38 +02:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Boris Zbarsky
5232d422f0 Bug 753397. Add a field to nsCSSPropList for a preference that controls the property. r=dbaron
The actual controlling is not hooked up yet; that will happen in bug 753522 for
the DOM reflections of properties.
2012-05-09 21:29:37 -04:00
Ms2ger
8a6d4090b9 Bug 745523 - Part a: prepare for unprefixing transforms by removing the prefix from internal APIs; r=dbaron 2012-05-05 11:00:04 +02:00
John Daggett
67617f9a5d Bug 718539. Update font-feature-settings to latest spec syntax. r=dbaron 2012-04-26 15:24:26 +09:00
Boris Zbarsky
bc00bad8e7 Bug 748254. When we encounter an unexpected '}' terminating a font-face descriptor's value, correctly close the font-face rule instead of eating the rest of the stylesheet. r=dbaron 2012-04-26 00:42:00 -04:00
Robert Longson
3df528e688 Bug 746632 - If no fallback colour is specified we shouldn't draw anything when the URL fails to resolve. r=dbaron 2012-04-25 13:33:47 +01:00
Kang-Hao (Kenny) Lu
35ee49287f Bug 744243 - Forbid odd trailing slash in CSS 'border-image' property. r=dbaron 2012-04-12 10:02:33 +02:00
Ms2ger
667a3a5740 Backout changeset 986091dac358 (bug 744234) for M4 oranges. 2012-04-11 12:30:11 +02:00
Kang-Hao (Kenny) Lu
590eb6dfb8 Bug 744234 - Forbid odd trailing slash in CSS 'border-image' property. r=dbaron 2012-04-11 00:28:01 -07:00
Aryeh Gregor
cde53b9a3d Bug 734953 - Remove skew() transformation function; r=dbaron 2012-03-20 13:39:57 -04:00
Jacob Holzinger
bfaddb970e Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden 2012-03-08 18:22:57 -08:00
Lazar Sumar
dab3e2b171 Bug 548375 - Implement css3-background background-repeat property two value syntax. r=dbaron 2012-02-24 21:23:14 -08:00
Zack Weinberg
cb5a4ee507 Bug 729142 - Convert layout/style to MOZ_STATIC_ASSERT. r=dbaron 2012-02-23 08:19:00 -08:00
Lazar Sumar
9ce1964cd3 Bug 522607 - New css3-background background-position syntax. r=dbaron 2012-02-20 13:14:42 +13:00
Aryeh Gregor
19f0356f74 Bug 721136 - transform property serialization doesn't normalize case; r=dbaron 2012-02-13 16:23:15 -05:00
Aryeh Gregor
cbeecd14b8 Bug 393910 - Serialize "0" as "0px" for lengths instead of "0pt"; r=dbaron 2012-02-14 10:54:08 -05:00
Boris Zbarsky
e59e8d9572 Bug 716628. Implement support for 'turn' unit in CSS. r=dbaron 2012-02-04 00:01:23 -05:00
Kyle Huey
f824ec7508 Bug 563318: Work around what appears to be a compiler bug. r=bz 2012-02-01 13:49:31 -05:00
L. David Baron
a21d295c87 Fix error report for unexpected character terminating style attribute. (Bug 720163) r=bzbarsky 2012-01-24 17:21:28 -08:00
William Chen
97a3dc759f Bug 497995: Part 1 - Implement border-image revisions in latest css3-background spec. r=dbaron 2011-12-22 18:34:45 -05:00
Jet Villegas
66b31665b5 Bug 511909. Allow @-rules to nest when parsing CSS. In particular, allow them inside @media and @-moz-document. r=dbaron 2011-12-14 23:42:15 -05:00
Ali Juma
50ad438851 Bug 586863 - Eliminate #ifdef GFX_HAS_INVERT blocks since GFX_HAS_INVERT is never defined. r=dbaron 2011-12-09 14:18:05 -05:00
Mark Banner
e7e4bd8568 Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Jesse Ruderman
0908f338ec Bug 675553 followup: remove tautologous assertions. r=ehsan 2011-10-24 16:21:09 -07:00
Masatoshi Kimura
ce2f103148 Bug 685400 - add "to" syntax and "magic corner" feature to CSS linear gradient. r=dbaron 2011-10-22 21:41:11 +02:00
Zack Weinberg
0bdf036262 Bug 659963: consistently use infallible malloc in the CSS parser. r=dbaron 2011-05-28 15:38:48 -07:00
Zack Weinberg
d9cb327746 Bug 543151 part 1: Remove stream-processing code from nsCSSScanner.cpp. r=dbaron 2011-05-18 10:33:16 -07:00
Simon Montagu
ad59178831 Support for unicode-bidi: -moz-isolate and -moz-plaintext in style system. Bug 613149, r=dbaron 2011-10-18 14:51:57 +02:00
L. David Baron
93037cac25 Update to rules in current css3-mediaqueries spec for handling malformed media queries: all of the handling is now at the query level rather than the query list level. (Bug 689319) r=bzbarsky 2011-10-17 16:49:22 -04:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
7d613942b0 Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones 2011-10-10 22:50:08 -07:00
Jeff Walden
c5e5f873d1 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
946f2ae0e3 Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 22:50:08 -07:00
Mats Palmgren
c655d8daff Bug 684266 - Do ellipsing on the end-edge only when a single value was specified for text-overflow. r=bzbarsky r=roc 2011-10-12 18:20:46 +02:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Matt Woodrow
0e389faeb1 Bug 505115 - Part 19 - Make the matrix*() transform function handles both length and number values. r=dbaron 2011-09-27 10:54:30 +13:00
Matt Woodrow
ed8cb0c491 Bug 505115 - Part 18 - Make the perspective() transform function fail with numbers <= 0. r=dbaron 2011-09-27 10:53:39 +13:00