L. David Baron
4fafab5784
Require animation-duration and transtion-duration to be nonnegative at parse time. (Bug 773102, patch 3) r=bzbarsky
...
I believe there's some other code removal that can be done as a followup
to this patch, but that doesn't have to be done now.
2012-07-13 18:01:34 -07:00
L. David Baron
6fbdd2a91a
Rename VARIANT_POSITIVE_LENGTH to VARIANT_POSITIVE_DIMENSION since it also applies to times and frequencies. (Bug 773102, patch 1) r=bzbarsky
2012-07-13 18:01:34 -07:00
Ehsan Akhgari
dc7695ce0e
Backout changeset 4e1480ab5116, changeset 576f7d52de4b, and changeset 2a030d4733a0 (bug 773102) because of test failure
2012-07-13 20:12:02 -04:00
L. David Baron
50635ce7be
Require animation-duration and transtion-duration to be nonnegative at parse time. (Bug 773102, patch 3) r=bzbarsky
...
I believe there's some other code removal that can be done as a followup
to this patch, but that doesn't have to be done now.
2012-07-13 15:06:50 -07:00
L. David Baron
ac37feeb7e
Rename VARIANT_POSITIVE_LENGTH to VARIANT_POSITIVE_DIMENSION since it also applies to times and frequencies. (Bug 773102, patch 1) r=bzbarsky
2012-07-13 15:06:50 -07:00
Emmanuele Bassi
8e11d54d2a
Bug 762303 - Unprefix CSS Transition properties and provide temporary aliases for -moz-transition and exposed subproperties. r=dbaron
2012-07-08 21:25:10 -04:00
Emmanuele Bassi
0eecac73f7
Bug 762302 - Unprefix CSS Animation properties and @keyframes rule and provide temporary aliases for -moz-animation and exposed subproperties. r=dbaron
2012-07-08 21:25:10 -04:00
Daniel Holbert
50a133f460
Bug 696253, patch 8: implement parsing/computation for CSS shorthand property 'flex'. r=dbaron
2012-07-06 17:06:23 -07:00
Daniel Holbert
fc1301da05
Bug 696253, patch 7: implement parsing/computation for CSS property 'flex-basis'. r=dbaron
2012-07-06 17:06:23 -07:00
Daniel Holbert
1a2b565ce1
Bug 696253, patch 6: implement parsing/computation for CSS properties 'flex-grow' and 'flex-shrink'. r=dbaron
2012-07-06 17:06:22 -07:00
Daniel Holbert
905f2b0773
Bug 696253, patch 5: implement parsing/computation for CSS property 'align-self'. r=dbaron
2012-07-06 17:06:21 -07:00
Daniel Holbert
307261d50e
Bug 696253, patch 4: implement parsing/computation for CSS property 'align-items'. r=dbaron
2012-07-06 17:06:21 -07:00
Daniel Holbert
a64d2dea9d
Bug 696253, patch 3: implement parsing/computation for CSS property 'flex-direction'. r=dbaron
2012-07-06 17:06:20 -07:00
Daniel Holbert
83ce4b75fe
Bug 696253, patch 2: implement parsing/computation for CSS property 'order'. r=dbaron
2012-07-06 17:06:19 -07:00
Daniel Holbert
772477aae8
Bug 696253, patch 1: implement parsing/computation for CSS property 'justify-content'. r=dbaron
2012-07-06 17:06:19 -07:00
Ms2ger
09fca26b5a
Bug 745523 - Part b: Unprefix transforms; r=dbaron
...
This patch introduces unprefixed 'transform', 'transform-origin', 'perspective',
'perspective-origin', 'transform-style' and 'backface-visibility' properties, and
updates the mochitests in layout/style to use them.
2012-07-02 08:23:54 +02:00
Scott Johnson
2332c9b000
Bug 733614: Backout changes from bug 695222 for mozilla 16 branch [r=dbaron].
2012-06-13 11:00:56 -05:00
Daniel Holbert
12f6753057
Bug 763689: Add "auto" keyword for min-height and min-width, which for now just computes to 0. r=bz
2012-06-12 10:48:20 -07:00
L. David Baron
ef7ec688e3
Unprefix the border-image-* properties and add a temporary alias for -moz-border-image (but not for its subproperties, which we haven't shipped prefixed). (Bug 713643, patch 5) r=bzbarsky
2012-05-30 22:19:49 -07:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Robert Longson
3ca6774243
Bug 528332 - Implement non-scaling-stroke vector-effect. Part 1 - style system changes r=dbaron
2012-05-18 09:33:40 +01:00
Boris Zbarsky
389a77894c
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
Makoto Kato
ae4279cc0e
Bug 249159 - Part 2 Implement CSS3 Text word-break property. r=dbaron, smontagu
2012-05-07 12:18:23 -07:00
Ms2ger
acc12134d8
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
127ee0627d
Bug 718539. Update font-feature-settings to latest spec syntax. r=dbaron
2012-04-26 15:24:26 +09:00
Lazar Sumar
da2c684917
Bug 548375 - Implement css3-background background-repeat property two value syntax. r=dbaron
2012-02-24 21:23:14 -08:00
Aryeh Gregor
203e2b77b0
Bug 725036 - 'perspective' property doesn't reject negative numbers r=matt.woodrow
2012-02-07 14:43:28 -05:00
Jonathan Watt
cb807222d1
Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron.
2012-01-24 13:09:55 +00:00
Simon Montagu
7b2f366751
Implement text-align-last. Bug 536557, r=dbaron
2012-01-12 19:52:21 +02:00
Ed Morley
097cd18f1b
Backout 6605cc311ec5 & 9217303c2e5c (bug 536557) for M4 orange
2012-01-12 15:33:00 +00:00
Simon Montagu
6d9e29e3e5
Implement text-align-last. Bug 536557, r=dbaron
2012-01-12 16:29:20 +02:00
Scott Johnson
dac4193275
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-25 23:25:59 -06:00
William Chen
1a42df4570
Bug 497995: Part 1 - Implement border-image revisions in latest css3-background spec. r=dbaron
...
--HG--
extra : rebase_source : 5a6cdac6a4b1353170f23f39dd2a209374e72531
2011-12-22 18:34:45 -05:00
Scott Johnson
0d2f6d6444
Backout changeset 93f523345fb6.
2011-12-20 00:01:32 -06:00
Scott Johnson
78a7cf00ef
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-19 23:11:54 -06:00
Scott Johnson
0dc4e51af7
Backed out changeset 74555805376d
2011-12-19 23:08:52 -06:00
Scott Johnson
abf87cf7b9
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-19 22:25:19 -06:00
L. David Baron
98751dedcb
Add support for -moz-text-size-adjust CSS property. (Bug 627842, patch 1) r=bzbarsky
...
This property is analogous to the -webkit-text-size-adjust property (and
*maybe* also the -ms-text-size-adjust property). It allows pages to opt
out of text size adjustments performed on mobile devices by specifying
-moz-text-size-adjust: none.
2011-11-23 18:48:23 -08:00
Simon Montagu
5aadea5d7b
Support for unicode-bidi: -moz-isolate and -moz-plaintext in style system. Bug 613149, r=dbaron
2011-10-18 14:51:57 +02:00
Matt Woodrow
312e8b4031
Bug 505115 - Part 14a - Add -moz-transform-style css property. r=dbaron
2011-08-27 12:01:06 +12:00
Michael Ventnor
8af7fc4898
Bug 446569 - Implement prefixed CSS3 columns shorthand r=dbaron
2011-08-23 14:18:22 +10:00
Mats Palmgren
5862475346
Bug 677582 - Implement CSS3 text-overflow: <left> <right> in the style system. r=dbaron
2011-08-20 22:41:39 +02:00
Matt Woodrow
f015e13bb5
Bug 505115 - Part 12a - Implement -moz-perspective-origin style property. r=dbaron
2011-08-03 15:04:24 +12:00
Matt Woodrow
fe4345bd93
Bug 505115 - Part 10 - Implement the backface-visibility CSS property. r=dbaron
2011-08-03 15:04:22 +12:00
Matt Woodrow
7b27325b26
Bug 505115 - Part 9 - Implement the perspective() transform function and the perspective CSS property. r=dbaron
2011-08-03 15:04:22 +12:00
Mats Palmgren
64fe4b087b
Bug 312156 - Implement CSS3 text-overflow. r=dbaron
2011-06-22 20:11:47 +02:00
Matheus Kerschbaum ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
6469811981
Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron
2011-06-20 16:47:09 -07:00
L. David Baron
39ebbd3c69
Allow -moz-box-ordinal-group: 0 (but not negatives, since we store the value as PRUint32). (Bug 644514) r=bzbarsky
2011-06-12 18:52:32 -07:00
Matheus Kerschbaum
7406ce377f
Bug 660762 - Remove --disable-mathml support. r=roc
2011-06-02 13:11:33 +02:00
Mounir Lamouri
5a2ef13b8f
Bug 655065 - Add a -moz-orient CSS property. r=bz
2011-05-10 15:47:46 +02:00
L. David Baron
7cdd42079b
Propagate code that used to be in CSSParserImpl::ParseSingleValueProperty and mark -moz-script-size-multiplier and -moz-script-min-size as inaccessible to parser. (Bug 636029, patch 9) r=bzbarsky
2011-05-09 15:02:35 -04:00
L. David Baron
5d1b8bdcd4
Unify positive-nonzero value restriction (used for integers) with one-or-larger value restriction (used for floats) as a single one-or-larger value restriction. (Bug 653842, patch 2) r=bzbarsky
2011-05-09 15:02:35 -04:00
L. David Baron
064029c2ac
List value range restrictions more reliably in nsCSSPropList. Change 'font-size-adjust' to reject negative values. (Bug 653842, patch 1) r=bzbarsky
2011-05-09 15:02:34 -04:00
Jonathan Kew
420b112716
bug 253317 - part 1 - implement -moz-hyphens property in CSS. r=dbaron
2011-05-04 12:14:50 +01:00
Masayuki Nakano
cc0623b6e3
Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky
2011-04-23 14:16:41 +09:00
L. David Baron
1851aeaa2f
Remove parsing and storage code for CSS 2.0 aural properties. (Bug 649119) r=bzbarsky
2011-04-21 20:17:32 -07:00
L. David Baron
7e86462271
ifdef CSS animations so that the feature can be backed out by flipping the switches in configure.in and then reverting the changes to the following four files appropriately: nsIDOMCSS2Properties.idl, nsIDOMCSSRule.idl, property_database.js, test_transitions_computed_values.html. (Bug 435442, patch 15) r=bzbarsky
2011-04-11 23:18:44 -07:00
L. David Baron
46a3aba4b3
Implement parsing and computation for the new properties in css3-animation. (Bug 435442, patch 1) r=bzbarsky
2011-04-11 23:18:42 -07:00
L. David Baron
9f841c864a
Implement step-start, step-end, and steps() timing functions. (Bug 435442, patch 0) r=bzbarsky
2011-04-11 23:18:42 -07:00
Masayuki Nakano
264109812b
Bug 59109 Part 1: Adding -moz-text-decoration-color and -moz-text-decoration-style r=dbaron, sr=bzbarsky
2011-03-31 21:26:35 +09:00
L. David Baron
f30ccb969b
Remove the datastruct_ and member_ fields of the CSS_PROP macro. (Bug 645620, patch 5) r=bzbarsky
2011-03-28 16:07:27 -07:00
L. David Baron
8214ac4261
Make the three CSS_PROP_INCLUDE_NOT_CSS properties much more like normal CSS properties, and (importantly) give them property IDs in the longhand range. Replace CSS_PROP_INCLUDE_NOT_CSS with CSS_PROP_STUB_NOT_CSS for callers that need stubs. (Bug 636039, patch 13) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
a285ab1c0a
Add nsRuleData::ValueForBackgroundColor, etc., methods for each CSS property. (Bug 636039, patch 5) r=bzbarsky
2011-03-17 20:14:30 -07:00
L. David Baron
6256bf49b3
Allow the method field in nsCSSPropList.h to be used with or without prefixes. (Bug 636039, patch 4) r=bzbarsky
2011-03-17 20:14:30 -07:00
L. David Baron
0c50a7e668
Use ParseSingleValueProperty for the components inside the 'transition' shorthand as well. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
L. David Baron
7d588db662
Make generic mechanism for parsing lists of single values with ParseVariant. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
L. David Baron
9576960b8d
Drive the ParseVariant calls in ParseSingleValueProperty from data rather than a big switch. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
L. David Baron
f66feda91a
Fix keyword table entries in nsCSSPropList and code in nsRuleNode to match those used in the parser. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
L. David Baron
36d847de86
Add 'parsevariant_' parameter to CSS_PROP macro, with all properties initially zero. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
L. David Baron
1f77843f84
Separate properties that are parsed in ParseSingleValueProperty with something other than ParseVariant. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
L. David Baron
97c0bdb8a8
Add parse types for CSS properties so we don't parse them in one huge switch. (Bug 636029) r=bzbarsky
...
With this patch, every CSS property is required to have one of the parse
type values (CSS_PROPERTY_PARSE_{FUNCTION,VALUE,INACCESSIBLE}) in its
flag bits. This avoids needing a switch in
CSSParserImpl::ParseProperty(nsCSSProperty).
Note that this reserves more space in CSS_PROPERTY_PARSE_PROPERTY_MASK
than appears to be necessary; that space will be used in a later patch
in this series.
2011-03-05 09:58:33 -08:00
L. David Baron
185c0cd717
Make sure all properties in nsCSSPropList.h have useful values for the method_ field. (Bug 636039) r=bzbarsky
...
Note that these are unprefixed to be consistent with the similar
existing methods for other logical box properties. Prefixing doesn't
matter for the dom property field of CSS_PROP_LIST_EXCLUDE_INTERNAL
properties, since dom property field of such properties is not exposed
to the Web.
2011-03-05 09:58:33 -08:00
L. David Baron
c885417e47
Add CSS property bit for which properties have stored calc() in style structs. (Bug 520234) r=bzbarsky a=blocking2.0:beta7
2010-09-15 08:11:26 -07:00
L. David Baron
ced73624ca
Rename -moz-box-shadow to box-shadow: manual changes. (Bug 590039) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-11 09:27:13 -07:00
L. David Baron
5859a14a99
Rename -moz-box-shadow to box-shadow: mechanical changes. (Bug 590039) r=bzbarsky a2.0=blocking2.0:beta6
...
Generated with:
find * -type f -exec sed -i -e 's/\<MozBoxShadow\>/boxShadow/g;s/-moz-box-shadow/box-shadow/gi' {} \;
2010-09-11 09:27:12 -07:00
Zack Weinberg
b8aabe9d10
Bug 451134 (2/2): switch to the official border-radius property names: by-hand changes. r=dbaron a2.0=blocking2.0:beta6
2010-09-09 08:21:48 -07:00
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
e4c76eccb0
Bug 451134 (1/2): switch to the official border-radius property names: purely mechanical changes. r=dbaron a2.0=blocking2.0:beta6
...
This was generated with the command:
LC_ALL=C grep -irlEZe '[-_]moz[-_]border[-_]radius([-_](top|bottom)(right|left))?' * | xargs -0 perl -pi -e \
's/-moz-border-radius-(top|bottom)(left|right)/border-${1}-${2}-radius/gi;
s/_moz_border_radius_(top|bottom)Right/border_${1}_right_radius/g;
s/_moz_border_radius_(top|bottom)Left/border_${1}_left_radius/g;
s/-moz-border-radius/border-radius/gi;
s/_moz_border_radius/border_radius/g;'
2010-09-09 08:21:47 -07:00
Zack Weinberg
bc4afbe28a
Bug 576044 (6/12): remove vestiges of nsCSSType. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
a5a3802007
Bug 576044 (5/12): eliminate ValueList as a storage type. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
0251ba5a66
Bug 576044 (4/12): eliminate ValuePairList as a storage type. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
e0203804f9
Bug 576044 (3/12): eliminate Rect as a storage type. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
5922bd1bb5
Bug 576044 (2/12): eliminate ValuePair as a storage type. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
9c006a4ff7
Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron
2010-06-28 15:49:35 -07:00
Jonathan Kew
1341e3f276
bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron
2010-07-13 21:30:42 +01:00
Neil Deakin
2fb7701cbe
Bug 553576, change -moz-resize to resize, r=dbaron
2010-07-05 10:41:04 -04:00
L. David Baron
f5249f9108
Implement animation of -moz-transform property. (Bug 531344) r=dholbert
2010-07-02 21:18:56 -07:00
L. David Baron
9a129faa59
Rename -moz-background-size to background-size. (Bug 549809) r=roc
2010-06-08 18:44:33 -07:00
L. David Baron
934c377eda
Rename properties and values of background-clip and background-origin to match css3-background. (Bug 549809) r=roc
2010-06-08 18:44:33 -07:00
L. David Baron
308b0473d7
Add -moz-background-clip: content. (Bug 549809) r=roc
2010-06-08 18:44:32 -07:00
L. David Baron
d923cbe90a
Make nsStyleAnimation extract -moz-column-rule-color correctly. (Bug 557580) r=dholbert
2010-04-06 19:03:12 -07:00
Neil Deakin
4f0034acef
Bug 442228, add -moz-resize property to indicate that elements are resizable, r=dbaron
2010-03-19 07:49:33 -04:00
Robert Longson
79ae710023
Bug 374216 - Setting element.style.someSvgProperty has no effect. r=dbaron,sr=roc
2010-02-06 13:46:54 +00:00
Bernd
f4a1800dfb
bug 43178 - replace incorrect border, frame and rules handling code in content by css rules, initial patch - fantasai, a lof of input - bz r=bzbarsky
2010-01-09 16:33:03 +01:00
L. David Baron
68e63e1183
Add mechanism for returning computed value name of certain longhand properties of our fake shorthands. (Bug 531585) r=bzbarsky
2009-12-23 14:10:31 -05:00
Benjamin Smedberg
c2bbf9c677
Back out all the pieces of bug 531585 (transitioned event for end of CSS transitions) because of timeouts in test_transitions_events.html
2009-12-23 10:15:26 -05:00
L. David Baron
fb265821c4
Add mechanism for returning computed value name of certain longhand properties of our fake shorthands. (Bug 531585) r=bzbarsky
2009-12-23 06:35:46 -05:00
L. David Baron
218e356973
Add support for animation of 'background-position' and 'background-size'. (Bug 532307) r=bzbarsky
2009-12-21 16:46:25 -05:00
L. David Baron
24c692cc7f
Add support for animation of nsRect values. (Bug 520488) r=bzbarsky
2009-12-21 16:46:25 -05:00
Robert Longson
819b6997d7
Bug 523576 - Fix compilation with disable-svg. r=dbaron
2009-12-12 19:43:34 +00:00
L. David Baron
fb268b306d
Add support for animation of border-spacing and -moz-transform-origin. (Bug 524861) r=bzbarsky
2009-12-11 08:13:19 -08:00