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
L. David Baron
e1ed596d15
Add support for animation of -moz-column-rule-width. (Bug 524855) r=bzbarsky
2009-12-11 08:13:19 -08:00
L. David Baron
b59effdb59
Add support for animation of -moz-column-count. (Bug 524854) r=bzbarsky
2009-12-11 08:13:19 -08:00
L. David Baron
8b3ef8f42e
Add support for animation of -moz-box-flex. (Bug 524853) r=bzbarsky
2009-12-11 08:13:19 -08:00
L. David Baron
fc88c5a60f
Use property flags for which properties need StartLoadImage called. (Bug 528634) r=bzbarsky
2009-11-14 19:16:59 -08:00
L. David Baron
86466092b9
Add support for animation of font-weight and font-stretch. (Bug 528234) r=dholbert
2009-11-14 19:16:59 -08:00
L. David Baron
db2e10e435
Add support for interpolation of integer-valued properties (i.e., z-index) to nsStyleAnimation. (Bug 524808) r=dholbert
2009-11-12 17:40:05 -08:00
L. David Baron
e694a7d0fe
Add support for animation of -moz-{border,outline}-radius-*. (Bug 523450) r=dholbert
2009-10-28 20:22:27 -07:00
Daniel Holbert
ba53e336e3
Bug 520486 (patch 1): Extend nsStyleAnimation to support enumerated values. r=dbaron
2009-10-21 14:57:57 -07:00
L. David Baron
0832157c6a
Add support for animation of stroke-dasharray to nsStyleAnimation. (Bug 523355) r=dholbert sr=bzbarsky
2009-10-21 10:17:40 -04:00
L. David Baron
27faacf80b
Add support for animation of text-shadow and -moz-box-shadow (the first complex value types that we animate). (Bug 523196) r=dholbert sr=bzbarsky
2009-10-21 06:53:46 -04:00
L. David Baron
2f1013d988
Add previously-skipped border and outline properties to nsStyleAnimation. (Bug 521292) r=dholbert, bzbarsky
2009-10-13 19:38:20 -07:00
Daniel Holbert
ab77c7beaa
Bug 520485, patch 3 of 5: add support for 'font-size-adjust' property in nsStyleAnimation. r=dbaron
2009-10-08 18:30:51 -07:00
Daniel Holbert
22a5e591ce
Bug 520485, patch 1 of 5: add support for float values in nsStyleAnimation. r=dbaron
2009-10-08 18:30:49 -07:00
Geoff Lankow
bd900ff5fd
Bug 517882: Implement a -moz-tab-size CSS property that specifies the number of spaces between tab stops in preformatted text. r=roc, dbaron
2009-09-26 13:23:47 -07:00
L. David Baron
a242d6fd9e
Add support for animation of nsStyleSVGPaint values to nsStyleAnimation. (Bug 504652) r=dholbert sr=bzbarsky
2009-09-11 06:46:36 -04:00
L. David Baron
d7d12a62a5
Add support for animation of color values (conversion of nscolor values to nsStyleCoord and animation of eStyleUnit_Color nsStyleCoords) to nsStyleAnimation. (Bug 504652) r=dholbert sr=bzbarsky
2009-09-11 06:46:36 -04:00
L. David Baron
753f9818ab
Add support for animation of nscoord values to nsStyleAnimation. (Bug 504652) r=dholbert sr=bzbarsky
2009-09-11 06:46:36 -04:00
L. David Baron
7c1b01bafd
Add support for animation of nsStyleCoord and nsStyleSides values to nsStyleAnimation. (Bug 504652) r=dbaron sr=bzbarsky
2009-09-11 06:46:36 -04:00
L. David Baron
411bbcb6dd
Add fields to nsCSSPropList.h for style struct offset and animation type. (Bug 504652) r=bzbarsky
2009-09-11 06:46:36 -04:00
L. David Baron
74af0036e3
Add stylestruct_ parameter to CSS_PROP macro. (Bug 504652) r=bzbarsky
2009-09-11 06:46:36 -04:00
Jonathan Watt
ed42a30cb8
Bug 508179. Implement 'pointer-events:none;' for all elements. r=roc, r=dbaron.
2009-08-26 20:53:35 -07:00
Jonathon Jongsma ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
219a2fe88e
Implement CSS transitions: implement the parsing and computation of the transition properties. (Bug 435441) r=bzbarsky
2009-08-20 14:52:47 -07:00
Jeff Walden
a24a25ba2e
Bug 189519 - Implement CSS3 (-moz- for now)background-size. r=dbaron, other useful review comments from roc/bz
2009-05-28 11:09:05 -07:00
L. David Baron
f37119d1b9
Also block -moz-box-shadow when using document-specified colors is disabled, and fix a testing error with the patch for text-shadow. (Bug 503188) r=bzbarsky
2009-07-20 07:04:42 -04:00
L. David Baron
ab0b40b7b5
Reformat the list of CSS properties by splitting macros into multiple lines to make the list easier to edit and merge. Whitespace changes only. pre-r=bzbarsky
2009-07-15 17:24:24 -07:00
L. David Baron
a03632381b
Block text-shadow when using document-specified colors is disabled. (Bug 503188) r=bzbarsky, roc
2009-07-15 17:24:24 -07:00
L. David Baron
fe56f12d3a
Make whether a property should be ignored when page colors are disabled part of the property flags table. (Bug 503188) r=bzbarsky
2009-07-15 17:24:24 -07:00
L. David Baron
0d06184f97
Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky
2009-06-16 08:00:20 -07:00
Karl Tomlinson
1b9df1cee4
b=481751 block-height line-height for text input and strut baseline for textarea r=bz,sr=dbaron
...
--HG--
extra : rebase_source : 1241360066ea9387d15c71936da9468399240640
2009-05-19 10:13:12 +12:00
L. David Baron
f533a6676b
Remove the CSS_PROP_NOTIMPLEMENTED macro, which hasn't been needed since bug 3247 landed. (Bug 486353) r+sr=bzbarsky
2009-04-02 07:55:50 -07:00
Robert Longson
7235fc714e
Bug 484150 - support image-rendering attribute. Includes some gfx code by vlad from bug 423756 which is r=joe. The rest is r=dbaron, sr=roc
2009-03-21 15:36:38 +00:00
L. David Baron
fa9a21c33d
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 21:29:21 -08:00
L. David Baron
2eb748571c
Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related.
2009-02-19 13:51:46 -08:00
L. David Baron
d9ac02ed8c
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 12:33:09 -08:00
L. David Baron
a91aa25ab0
Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing.
2009-02-19 09:06:18 -08:00
L. David Baron
51ef1de194
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 07:29:28 -08:00
L. David Baron
8b207bcc51
Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic.
2009-02-18 18:59:47 -08:00
L. David Baron
366992262c
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-18 17:13:25 -08:00
Michael Ventnor
b480b09ba3
Bug 476738. Implement 'inset' box-shadows. r+sr=roc,r=dbaron
2009-02-10 21:45:13 +13:00
L. David Baron
f8774a93ef
Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky
2009-01-29 12:39:18 -08:00
L. David Baron
d5257cf612
Fix properties that incorrectly applied to :first-letter or :first-line. (Bug 469227) r+sr=bzbarsky
2008-12-12 10:59:03 -08:00
L. David Baron
e3b670c240
Don't mark properties as applying to first-line / first-letter if there were comments if those properties were implicitly ignored by the old code either through never being used, or through another (*-style) property being ignored. (Bug 469227) r+sr=bzbarsky
2008-12-12 10:59:03 -08:00
L. David Baron
a0c80a0fdb
Replace mechanism for restricting the properties that apply to :first-line and :first-letter. (Bug 469227) r+sr=bzbarsky
2008-12-12 10:59:03 -08:00
L. David Baron
4147baac6c
Make a CSS property bit for whether serialized value lists should use commas. (Bug 461731) r+sr=bzbarsky
2008-10-27 10:55:47 -07:00
Markus Stange
1ffda30624
Bug 450939 - Add -moz-window-shadow CSS property, r+sr=dbaron
2008-10-14 16:44:25 +02:00
L. David Baron
1b8d969f23
Add CSS_PROPERTY_DIRECTIONAL_SOURCE property flag. (Bug 160403) r+sr=bzbarsky
2008-10-07 15:10:19 -07:00
L. David Baron
84312b4cfc
Add a flags table for CSS properties. (Bug 160403) r+sr=bzbarsky
2008-10-07 15:10:19 -07:00
Zack Weinberg
1b9f5190da
Bug 450652 – Style system changes to support CSS3 border-radius – data structures for elliptical borders (part 1) [r+sr=dbaron]
2008-10-01 00:50:52 -05:00
Keith Schwarz
dc907e1ec7
Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc
2008-09-13 21:42:11 +12:00
Zack Weinberg
0f68a207ca
Bug 453916: treat transparency strictly as a special case of color alpha. r+sr=dbaron
2008-09-12 08:35:53 -07:00
L. David Baron
17cd72dbc6
Merge Quotes and CounterData storage types into ValuePairList. (Bug 322475) r+sr=bzbarsky
2008-08-04 15:15:11 -07:00
Simon Montagu
0dd0a7f5ba
Support for word-wrap CSS property. Bug 99457, r+sr=dbaron, roc
2008-07-24 10:16:18 +03:00
Michael Ventnor
8aeed81515
Bug 271586 – Implement CSS3 column-rule-*. r+sr=roc,dbaron
2008-07-19 12:38:25 +02:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
49c9b3d67e
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 23:30:25 -07:00
L. David Baron
9e4ceade8e
Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough.
2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
bb4be48531
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 22:18:38 -07:00
Michael Ventnor
3a7677bb26
Bug 212633 - "Add support for CSS3 box-shadow" (parsing support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=dbaron]
2008-07-07 19:56:52 -05:00
Christian Biesinger ext:(%2C%20Michael%20Ventnor%20%3Cventnor.bugzilla%40yahoo.com.au%3E)
171196af8b
Implement the computed value of text-shadow in the style system. (Bug 10713) r+sr=dbaron
2008-06-05 16:06:34 -07:00
Vladimir Vukicevic
0b3d9b76cc
b=346189, children should optionally not affect size of XUL stack; r+sr=roc
2008-06-04 23:46:24 -07:00
L. David Baron
a7d8670d1d
Backed out changeset cf005233ebad (text-shadow style system changes) due to mochitest crash on Windows (which I can reproduce on Windows).
2008-06-03 16:42:13 -07:00
Christian Biesinger ext:(%2C%20Michael%20Ventnor%20%3Cventnor.bugzilla%40yahoo.com.au%3E)
752ec1f3fa
Implement the computed value of text-shadow in the style system. b=10713 r+sr=dbaron
2008-06-03 15:25:31 -07:00
roc+@cs.cmu.edu
bc08ac141a
Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
2008-01-09 01:38:28 -08:00
roc+@cs.cmu.edu
09582c48ae
backing out bug 355548 due to test failures
2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
459c356854
Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
2008-01-08 14:36:46 -08:00
tor@cs.brown.edu
57371777f8
Bug 383184 - Implement SVG lighting filters.
...
Style portion r+sr=dbaron, rest r=longsonr, sr=roc.
2007-07-25 23:57:42 -07:00
dbaron@dbaron.org
2be70ea82e
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
dbaron@dbaron.org
00f940f9de
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
masayuki@d-toybox.com
cae88bda36
Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron
2007-05-16 08:51:37 -07:00
dbaron@dbaron.org
7dc7c89d6c
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
dbaron@dbaron.org
30dd65ee30
Fix regression of background-position serialization. b=258080 r+sr=bzbarsky
2007-04-18 13:41:14 -07:00
dbaron@dbaron.org
8a20f12695
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
hg@mozilla.com
465265d0d4
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -07:00