2007-03-22 10:30:00 -07:00
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2012-05-21 04:12:37 -07:00
/* This Source Code Form is subject to the terms of the Mozilla Public
* License , v . 2.0 . If a copy of the MPL was not distributed with this
* file , You can obtain one at http : //mozilla.org/MPL/2.0/. */
2007-03-22 10:30:00 -07:00
/*
* a list of all CSS properties with considerable data about them , for
* preprocessing
*/
/******
This file contains the list of all parsed CSS properties . It is
designed to be used as inline input through the magic of C
preprocessing . All entries must be enclosed in the appropriate
CSS_PROP_ * macro which will have cruel and unusual things done to it .
It is recommended ( but not strictly necessary ) to keep all entries in
alphabetical order .
2015-01-16 20:16:01 -08:00
The arguments to CSS_PROP , CSS_PROP_LOGICAL and CSS_PROP_ * are :
2007-03-22 10:30:00 -07:00
2011-03-05 09:58:33 -08:00
- . ' name ' entries represent a CSS property name and * must * use only
2007-03-22 10:30:00 -07:00
lowercase characters .
2011-03-05 09:58:33 -08:00
- . ' id ' should be the same as ' name ' except that all hyphens ( ' - ' )
2012-05-05 02:00:04 -07:00
in ' name ' are converted to underscores ( ' _ ' ) in ' id ' . For properties
on a standards track , any ' - moz - ' prefix is removed in ' id ' . This
lets us do nice things with the macros without having to copy / convert
strings at runtime . These are the names used for the enum values of
the nsCSSProperty enumeration defined in nsCSSProps . h .
2007-03-22 10:30:00 -07:00
2011-03-05 09:58:33 -08:00
- . ' method ' is designed to be as input for CSS2Properties and similar
2007-03-22 10:30:00 -07:00
callers . It must always be the same as ' name ' except it must use
2011-03-17 20:14:30 -07:00
InterCaps and all hyphens ( ' - ' ) must be removed . Callers using this
2013-03-25 09:24:21 -07:00
parameter must also define the CSS_PROP_PUBLIC_OR_PRIVATE ( publicname_ ,
privatename_ ) macro to yield either publicname_ or privatename_ .
The names differ in that publicname_ has Moz prefixes where they are
used , and also in CssFloat vs . Float . The caller ' s choice depends on
whether the use is for internal use such as eCSSProperty_ * or
nsRuleData : : ValueFor * or external use such as exposing DOM properties .
2007-03-22 10:30:00 -07:00
2013-11-22 08:48:27 -08:00
- . ' flags ' , a bitfield containing CSS_PROPERTY_ * flags .
2012-05-09 18:29:37 -07:00
- . ' pref ' is the name of a pref that controls whether the property
is enabled . The property is enabled if ' pref ' is an empty string ,
or if the boolean property whose name is ' pref ' is set to true .
2011-03-05 09:58:33 -08:00
- . ' parsevariant ' , to be passed to ParseVariant in the parser .
2012-07-30 07:20:58 -07:00
- . ' kwtable ' , which is either nullptr or the name of the appropriate
2007-03-22 10:30:00 -07:00
keyword table member of class nsCSSProps , for use in
nsCSSProps : : LookupPropertyValue .
2015-01-16 20:43:20 -08:00
- . ' group_ ' [ used only for CSS_PROP_LOGICAL ] is the name of
the logical property group that contains the physical properties
that can be set by this logical property . The name must be one
from nsCSSPropLogicalGroupList . h . For example , this would be
' BorderColor ' for ' border - block - start - color ' .
2015-01-16 20:22:51 -08:00
2015-01-16 20:16:01 -08:00
- . ' stylestruct_ ' [ used only for CSS_PROP and CSS_PROP_LOGICAL , not
CSS_PROP_ * ] gives the name of the style struct . Can be used to make
nsStyle # # stylestruct_ and eStyleStruct_ # # stylestruct_
2009-09-11 03:46:36 -07:00
2011-03-05 09:58:33 -08:00
- . ' stylestructoffset_ ' [ not used for CSS_PROP_BACKENDONLY ] gives the
2009-09-11 03:46:36 -07:00
result of offsetof ( nsStyle * , member ) . Ignored ( and generally
CSS_PROP_NO_OFFSET , or - 1 ) for properties whose animtype_ is
eStyleAnimType_None .
2009-09-11 03:46:36 -07:00
2011-03-05 09:58:33 -08:00
- . ' animtype_ ' [ not used for CSS_PROP_BACKENDONLY ] gives the
2009-09-11 03:46:36 -07:00
animation type ( see nsStyleAnimType ) of this property .
2009-09-11 03:46:36 -07:00
2012-05-09 18:29:37 -07:00
CSS_PROP_SHORTHAND only takes 1 - 5.
2009-09-11 03:46:36 -07:00
2015-01-16 20:16:01 -08:00
CSS_PROP_LOGICAL should be used instead of CSS_PROP_struct when
defining logical properties ( which also must be defined with the
CSS_PROPERTY_LOGICAL flag ) . Logical shorthand properties should still
be defined with CSS_PROP_SHORTHAND .
2007-03-22 10:30:00 -07:00
* * * * * */
/*************************************************************************/
// All includers must explicitly define CSS_PROP_SHORTHAND if they
// want it.
# ifndef CSS_PROP_SHORTHAND
2012-05-09 18:29:37 -07:00
# define CSS_PROP_SHORTHAND(name_, id_, method_, flags_, pref_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_SHORTHAND
# endif
2013-03-25 09:24:21 -07:00
# define CSS_PROP_DOMPROP_PREFIXED(name_) \
CSS_PROP_PUBLIC_OR_PRIVATE ( Moz # # name_ , name_ )
2009-09-11 03:46:36 -07:00
# define CSS_PROP_NO_OFFSET (-1)
2007-03-22 10:30:00 -07:00
// Callers may define CSS_PROP_LIST_EXCLUDE_INTERNAL if they want to
// exclude internal properties that are not represented in the DOM (only
// the DOM style code defines this).
2015-01-16 20:16:01 -08:00
// When capturing all properties by defining CSS_PROP, callers must also
// define one of the following three macros:
//
// CSS_PROP_LIST_EXCLUDE_LOGICAL
// Does not include logical properties (defined with CSS_PROP_LOGICAL,
// such as -moz-margin-start) when capturing properties to CSS_PROP.
//
// CSS_PROP_LIST_INCLUDE_LOGICAL
// Does include logical properties when capturing properties to
// CSS_PROP.
//
// CSS_PROP_LOGICAL
// Captures logical properties separately to CSS_PROP_LOGICAL.
//
// (CSS_PROP_LIST_EXCLUDE_LOGICAL is used for example to ensure
// gPropertyCountInStruct and gPropertyIndexInStruct do not allocate any
// storage to logical properties, since the result of the cascade, stored
// in an nsRuleData, does not need to store both logical and physical
// property values.)
2013-10-03 11:49:19 -07:00
// Callers may also define CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
// to exclude properties that are not considered to be components of the 'all'
2013-10-09 18:31:21 -07:00
// shorthand property. Currently this excludes 'direction' and 'unicode-bidi',
// as required by the CSS Cascading and Inheritance specification, and any
// internal properties that cannot be changed by using CSS syntax. For example,
// the internal '-moz-system-font' property is not excluded, as it is set by the
// 'font' shorthand, while '-x-lang' is excluded as there is no way to set this
// internal property from a style sheet.
2013-10-03 11:49:19 -07:00
2007-03-22 10:30:00 -07:00
// A caller who wants all the properties can define the |CSS_PROP|
// macro.
# ifdef CSS_PROP
# define USED_CSS_PROP
2012-05-09 18:29:37 -07:00
# define CSS_PROP_FONT(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, Font, stylestructoffset_, animtype_)
# define CSS_PROP_COLOR(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, Color, stylestructoffset_, animtype_)
# define CSS_PROP_BACKGROUND(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, Background, stylestructoffset_, animtype_)
# define CSS_PROP_LIST(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, List, stylestructoffset_, animtype_)
# define CSS_PROP_POSITION(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, Position, stylestructoffset_, animtype_)
# define CSS_PROP_TEXT(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, Text, stylestructoffset_, animtype_)
# define CSS_PROP_TEXTRESET(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, TextReset, stylestructoffset_, animtype_)
# define CSS_PROP_DISPLAY(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, Display, stylestructoffset_, animtype_)
# define CSS_PROP_VISIBILITY(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, Visibility, stylestructoffset_, animtype_)
# define CSS_PROP_CONTENT(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, Content, stylestructoffset_, animtype_)
# define CSS_PROP_QUOTES(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, Quotes, stylestructoffset_, animtype_)
# define CSS_PROP_USERINTERFACE(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, UserInterface, stylestructoffset_, animtype_)
# define CSS_PROP_UIRESET(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, UIReset, stylestructoffset_, animtype_)
# define CSS_PROP_TABLE(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, Table, stylestructoffset_, animtype_)
# define CSS_PROP_TABLEBORDER(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, TableBorder, stylestructoffset_, animtype_)
# define CSS_PROP_MARGIN(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, Margin, stylestructoffset_, animtype_)
# define CSS_PROP_PADDING(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, Padding, stylestructoffset_, animtype_)
# define CSS_PROP_BORDER(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, Border, stylestructoffset_, animtype_)
# define CSS_PROP_OUTLINE(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, Outline, stylestructoffset_, animtype_)
# define CSS_PROP_XUL(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, XUL, stylestructoffset_, animtype_)
# define CSS_PROP_COLUMN(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, Column, stylestructoffset_, animtype_)
# define CSS_PROP_SVG(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, SVG, stylestructoffset_, animtype_)
# define CSS_PROP_SVGRESET(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, SVGReset, stylestructoffset_, animtype_)
2013-12-11 18:09:40 -08:00
# define CSS_PROP_VARIABLES(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, Variables, stylestructoffset_, animtype_)
2007-03-22 10:30:00 -07:00
// For properties that are stored in the CSS backend but are not
// computed. An includer may define this in addition to CSS_PROP, but
// otherwise we treat it as the same.
# ifndef CSS_PROP_BACKENDONLY
2012-05-09 18:29:37 -07:00
# define CSS_PROP_BACKENDONLY(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, BackendOnly, CSS_PROP_NO_OFFSET, eStyleAnimType_None)
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_BACKENDONLY
# endif
2015-01-16 20:16:01 -08:00
// And similarly for logical properties. An includer can define
// CSS_PROP_LOGICAL to capture all logical properties, but otherwise they
// are included in CSS_PROP (as long as CSS_PROP_LIST_INCLUDE_LOGICAL is
// defined).
# if defined(CSS_PROP_LOGICAL) && defined(CSS_PROP_LIST_EXCLUDE_LOGICAL) || defined(CSS_PROP_LOGICAL) && defined(CSS_PROP_LIST_INCLUDE_LOGICAL) || defined(CSS_PROP_LIST_EXCLUDE_LOGICAL) && defined(CSS_PROP_LIST_INCLUDE_LOGICAL)
# error Do not define more than one of CSS_PROP_LOGICAL, CSS_PROP_LIST_EXCLUDE_LOGICAL and CSS_PROP_LIST_INCLUDE_LOGICAL when capturing properties using CSS_PROP.
# endif
# ifndef CSS_PROP_LOGICAL
# ifdef CSS_PROP_LIST_INCLUDE_LOGICAL
2015-01-16 20:43:20 -08:00
# define CSS_PROP_LOGICAL(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, group_, struct_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, struct_, stylestructoffset_, animtype_)
2015-01-16 20:16:01 -08:00
# else
# ifndef CSS_PROP_LIST_EXCLUDE_LOGICAL
# error Must define exactly one of CSS_PROP_LOGICAL, CSS_PROP_LIST_EXCLUDE_LOGICAL and CSS_PROP_LIST_INCLUDE_LOGICAL when capturing properties using CSS_PROP.
# endif
2015-01-16 20:43:20 -08:00
# define CSS_PROP_LOGICAL(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, group_, struct_, stylestructoffset_, animtype_) /* nothing */
2015-01-16 20:16:01 -08:00
# endif
# define DEFINED_CSS_PROP_LOGICAL
# endif
2007-03-22 10:30:00 -07:00
# else /* !defined(CSS_PROP) */
// An includer who does not define CSS_PROP can define any or all of the
// per-struct macros that are equivalent to it, and the rest will be
// ignored.
2015-01-16 20:16:01 -08:00
# if defined(CSS_PROP_LIST_EXCLUDE_LOGICAL) || defined(CSS_PROP_LIST_INCLUDE_LOGICAL)
# error Do not define CSS_PROP_LIST_EXCLUDE_LOGICAL or CSS_PROP_LIST_INCLUDE_LOGICAL when not capturing properties using CSS_PROP.
# endif
2007-03-22 10:30:00 -07:00
# ifndef CSS_PROP_FONT
2012-05-09 18:29:37 -07:00
# define CSS_PROP_FONT(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_FONT
# endif
# ifndef CSS_PROP_COLOR
2012-05-09 18:29:37 -07:00
# define CSS_PROP_COLOR(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_COLOR
# endif
# ifndef CSS_PROP_BACKGROUND
2012-05-09 18:29:37 -07:00
# define CSS_PROP_BACKGROUND(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_BACKGROUND
# endif
# ifndef CSS_PROP_LIST
2012-05-09 18:29:37 -07:00
# define CSS_PROP_LIST(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_LIST
# endif
# ifndef CSS_PROP_POSITION
2012-05-09 18:29:37 -07:00
# define CSS_PROP_POSITION(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_POSITION
# endif
# ifndef CSS_PROP_TEXT
2012-05-09 18:29:37 -07:00
# define CSS_PROP_TEXT(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_TEXT
# endif
# ifndef CSS_PROP_TEXTRESET
2012-05-09 18:29:37 -07:00
# define CSS_PROP_TEXTRESET(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_TEXTRESET
# endif
# ifndef CSS_PROP_DISPLAY
2012-05-09 18:29:37 -07:00
# define CSS_PROP_DISPLAY(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_DISPLAY
# endif
# ifndef CSS_PROP_VISIBILITY
2012-05-09 18:29:37 -07:00
# define CSS_PROP_VISIBILITY(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_VISIBILITY
# endif
# ifndef CSS_PROP_CONTENT
2012-05-09 18:29:37 -07:00
# define CSS_PROP_CONTENT(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_CONTENT
# endif
# ifndef CSS_PROP_QUOTES
2012-05-09 18:29:37 -07:00
# define CSS_PROP_QUOTES(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_QUOTES
# endif
# ifndef CSS_PROP_USERINTERFACE
2012-05-09 18:29:37 -07:00
# define CSS_PROP_USERINTERFACE(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_USERINTERFACE
# endif
# ifndef CSS_PROP_UIRESET
2012-05-09 18:29:37 -07:00
# define CSS_PROP_UIRESET(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_UIRESET
# endif
# ifndef CSS_PROP_TABLE
2012-05-09 18:29:37 -07:00
# define CSS_PROP_TABLE(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_TABLE
# endif
# ifndef CSS_PROP_TABLEBORDER
2012-05-09 18:29:37 -07:00
# define CSS_PROP_TABLEBORDER(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_TABLEBORDER
# endif
# ifndef CSS_PROP_MARGIN
2012-05-09 18:29:37 -07:00
# define CSS_PROP_MARGIN(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_MARGIN
# endif
# ifndef CSS_PROP_PADDING
2012-05-09 18:29:37 -07:00
# define CSS_PROP_PADDING(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_PADDING
# endif
# ifndef CSS_PROP_BORDER
2012-05-09 18:29:37 -07:00
# define CSS_PROP_BORDER(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_BORDER
# endif
# ifndef CSS_PROP_OUTLINE
2012-05-09 18:29:37 -07:00
# define CSS_PROP_OUTLINE(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_OUTLINE
# endif
# ifndef CSS_PROP_XUL
2012-05-09 18:29:37 -07:00
# define CSS_PROP_XUL(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_XUL
# endif
# ifndef CSS_PROP_COLUMN
2012-05-09 18:29:37 -07:00
# define CSS_PROP_COLUMN(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_COLUMN
# endif
# ifndef CSS_PROP_SVG
2012-05-09 18:29:37 -07:00
# define CSS_PROP_SVG(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_SVG
# endif
# ifndef CSS_PROP_SVGRESET
2012-05-09 18:29:37 -07:00
# define CSS_PROP_SVGRESET(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_SVGRESET
# endif
2013-12-11 18:09:40 -08:00
# ifndef CSS_PROP_VARIABLES
# define CSS_PROP_VARIABLES(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
# define DEFINED_CSS_PROP_VARIABLES
# endif
2007-03-22 10:30:00 -07:00
# ifndef CSS_PROP_BACKENDONLY
2012-05-09 18:29:37 -07:00
# define CSS_PROP_BACKENDONLY(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_) /* nothing */
2007-03-22 10:30:00 -07:00
# define DEFINED_CSS_PROP_BACKENDONLY
# endif
2015-01-16 20:16:01 -08:00
# ifndef CSS_PROP_LOGICAL
2015-01-16 20:43:20 -08:00
# define CSS_PROP_LOGICAL(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, group_, struct_, stylestructoffset_, animtype_) /* nothing */
2015-01-16 20:16:01 -08:00
# define DEFINED_CSS_PROP_LOGICAL
# endif
2007-03-22 10:30:00 -07:00
# endif /* !defined(CSS_PROP) */
/*************************************************************************/
// For notes XXX bug 3935 below, the names being parsed do not correspond
// to the constants used internally. It would be nice to bring the
// constants into line sometime.
// The parser will refuse to parse properties marked with -x-.
// Those marked XXX bug 48973 are CSS2 properties that we support
// differently from the spec for UI requirements. If we ever
// support them correctly the old constants need to be renamed and
// new ones should be entered.
2008-12-12 10:59:03 -08:00
// CSS2.1 section 5.12.1 says that the properties that apply to
// :first-line are: font properties, color properties, background
// properties, 'word-spacing', 'letter-spacing', 'text-decoration',
// 'vertical-align', 'text-transform', and 'line-height'.
//
// We also allow 'text-shadow', which was listed in CSS2 (where the
// property existed).
// CSS2.1 section 5.12.2 says that the properties that apply to
// :first-letter are: font properties, 'text-decoration',
// 'text-transform', 'letter-spacing', 'word-spacing' (when
// appropriate), 'line-height', 'float', 'vertical-align' (only if
// 'float' is 'none'), margin properties, padding properties, border
// properties, 'color', and background properties. We also allow
2010-09-11 09:27:12 -07:00
// 'text-shadow' (see above) and 'box-shadow' (which is like the
2008-12-12 10:59:03 -08:00
// border properties).
2009-07-15 17:24:24 -07:00
CSS_PROP_DISPLAY (
- moz - appearance ,
appearance ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( Appearance ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kAppearanceKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_SHORTHAND (
- moz - outline - radius ,
_moz_outline_radius ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( OutlineRadius ) ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-07-15 17:24:24 -07:00
CSS_PROP_OUTLINE (
- moz - outline - radius - topleft ,
_moz_outline_radius_topLeft ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( OutlineRadiusTopleft ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
2011-05-09 12:02:34 -07:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-10-28 20:22:27 -07:00
offsetof ( nsStyleOutline , mOutlineRadius ) ,
eStyleAnimType_Corner_TopLeft )
2009-07-15 17:24:24 -07:00
CSS_PROP_OUTLINE (
- moz - outline - radius - topright ,
_moz_outline_radius_topRight ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( OutlineRadiusTopright ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
2011-05-09 12:02:34 -07:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-10-28 20:22:27 -07:00
offsetof ( nsStyleOutline , mOutlineRadius ) ,
eStyleAnimType_Corner_TopRight )
2009-07-15 17:24:24 -07:00
CSS_PROP_OUTLINE (
- moz - outline - radius - bottomright ,
_moz_outline_radius_bottomRight ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( OutlineRadiusBottomright ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
2011-05-09 12:02:34 -07:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-10-28 20:22:27 -07:00
offsetof ( nsStyleOutline , mOutlineRadius ) ,
eStyleAnimType_Corner_BottomRight )
2009-07-15 17:24:24 -07:00
CSS_PROP_OUTLINE (
- moz - outline - radius - bottomleft ,
_moz_outline_radius_bottomLeft ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( OutlineRadiusBottomleft ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
2011-05-09 12:02:34 -07:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-10-28 20:22:27 -07:00
offsetof ( nsStyleOutline , mOutlineRadius ) ,
eStyleAnimType_Corner_BottomLeft )
2009-09-26 13:23:47 -07:00
CSS_PROP_TEXT (
- moz - tab - size ,
_moz_tab_size ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( TabSize ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HI ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-26 13:23:47 -07:00
offsetof ( nsStyleText , mTabSize ) ,
eStyleAnimType_None )
2007-06-12 11:28:56 -07:00
# ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
2009-07-15 17:24:24 -07:00
CSS_PROP_FONT (
- x - system - font ,
_x_system_font ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( SystemFont ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_INACCESSIBLE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2009-09-11 03:46:36 -07:00
kFontKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2013-10-03 11:49:19 -07:00
# endif // !defined(CSS_PROP_LIST_EXCLUDE_INTERNAL)
CSS_PROP_SHORTHAND (
all ,
all ,
All ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.all-shorthand.enabled " )
2011-04-11 23:18:42 -07:00
CSS_PROP_SHORTHAND (
animation ,
2012-07-08 18:25:10 -07:00
animation ,
Animation ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2011-04-11 23:18:42 -07:00
CSS_PROP_DISPLAY (
2012-07-08 18:25:10 -07:00
animation - delay ,
2011-04-11 23:18:42 -07:00
animation_delay ,
2012-07-08 18:25:10 -07:00
AnimationDelay ,
2011-04-11 23:18:42 -07:00
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-09 18:29:37 -07:00
" " ,
2011-04-11 23:18:42 -07:00
VARIANT_TIME , // used by list parsing
2012-07-30 07:20:58 -07:00
nullptr ,
2011-04-11 23:18:42 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
2012-07-08 18:25:10 -07:00
animation - direction ,
2011-04-11 23:18:42 -07:00
animation_direction ,
2012-07-08 18:25:10 -07:00
AnimationDirection ,
2011-04-11 23:18:42 -07:00
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-09 18:29:37 -07:00
" " ,
2011-04-11 23:18:42 -07:00
VARIANT_KEYWORD , // used by list parsing
kAnimationDirectionKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
2012-07-08 18:25:10 -07:00
animation - duration ,
2011-04-11 23:18:42 -07:00
animation_duration ,
2012-07-08 18:25:10 -07:00
AnimationDuration ,
2011-04-11 23:18:42 -07:00
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-09 18:29:37 -07:00
" " ,
2012-07-13 18:01:34 -07:00
VARIANT_TIME | VARIANT_NONNEGATIVE_DIMENSION , // used by list parsing
2012-07-30 07:20:58 -07:00
nullptr ,
2011-04-11 23:18:42 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
2012-07-08 18:25:10 -07:00
animation - fill - mode ,
2011-04-11 23:18:42 -07:00
animation_fill_mode ,
2012-07-08 18:25:10 -07:00
AnimationFillMode ,
2011-04-11 23:18:42 -07:00
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-09 18:29:37 -07:00
" " ,
2011-04-11 23:18:42 -07:00
VARIANT_KEYWORD , // used by list parsing
kAnimationFillModeKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
2012-07-08 18:25:10 -07:00
animation - iteration - count ,
2011-04-11 23:18:42 -07:00
animation_iteration_count ,
2012-07-08 18:25:10 -07:00
AnimationIterationCount ,
2011-04-11 23:18:42 -07:00
CSS_PROPERTY_PARSE_VALUE_LIST |
// nonnegative per
// http://lists.w3.org/Archives/Public/www-style/2011Mar/0355.html
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-09 18:29:37 -07:00
" " ,
2011-04-11 23:18:42 -07:00
VARIANT_KEYWORD | VARIANT_NUMBER , // used by list parsing
kAnimationIterationCountKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
2012-07-08 18:25:10 -07:00
animation - name ,
2011-04-11 23:18:42 -07:00
animation_name ,
2012-07-08 18:25:10 -07:00
AnimationName ,
2011-04-11 23:18:42 -07:00
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-09 18:29:37 -07:00
" " ,
2011-04-11 23:18:42 -07:00
// FIXME: The spec should say something about 'inherit' and 'initial'
// not being allowed.
VARIANT_NONE | VARIANT_IDENTIFIER_NO_INHERIT , // used by list parsing
2012-07-30 07:20:58 -07:00
nullptr ,
2011-04-11 23:18:42 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
2012-07-08 18:25:10 -07:00
animation - play - state ,
2011-04-11 23:18:42 -07:00
animation_play_state ,
2012-07-08 18:25:10 -07:00
AnimationPlayState ,
2011-04-11 23:18:42 -07:00
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-09 18:29:37 -07:00
" " ,
2011-04-11 23:18:42 -07:00
VARIANT_KEYWORD , // used by list parsing
kAnimationPlayStateKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
2012-07-08 18:25:10 -07:00
animation - timing - function ,
2011-04-11 23:18:42 -07:00
animation_timing_function ,
2012-07-08 18:25:10 -07:00
AnimationTimingFunction ,
2011-04-11 23:18:42 -07:00
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-09 18:29:37 -07:00
" " ,
2011-04-11 23:18:42 -07:00
VARIANT_KEYWORD | VARIANT_TIMING_FUNCTION , // used by list parsing
kTransitionTimingFunctionKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_SHORTHAND (
background ,
background ,
Background ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-07-15 17:24:24 -07:00
CSS_PROP_BACKGROUND (
background - attachment ,
background_attachment ,
BackgroundAttachment ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE_LIST |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2009-07-15 17:24:24 -07:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_KEYWORD , // used by list parsing
2009-09-11 03:46:36 -07:00
kBackgroundAttachmentKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_BACKGROUND (
2010-06-08 18:44:33 -07:00
background - clip ,
background_clip ,
BackgroundClip ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE_LIST |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2009-07-15 17:24:24 -07:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_KEYWORD , // used by list parsing
2010-06-08 18:44:32 -07:00
kBackgroundOriginKTable ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_BACKGROUND (
background - color ,
background_color ,
BackgroundColor ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED |
CSS_PROPERTY_HASHLESS_COLOR_QUIRK ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleBackground , mBackgroundColor ) ,
eStyleAnimType_Color )
2009-07-15 17:24:24 -07:00
CSS_PROP_BACKGROUND (
background - image ,
background_image ,
BackgroundImage ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE_LIST |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2009-07-15 17:24:24 -07:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
2009-11-14 19:16:59 -08:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED |
CSS_PROPERTY_START_IMAGE_LOADS ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_IMAGE , // used by list parsing
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2013-11-08 07:07:36 -08:00
CSS_PROP_BACKGROUND (
background - blend - mode ,
background_blend_mode ,
BackgroundBlendMode ,
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
" layout.css.background-blend-mode.enabled " ,
VARIANT_KEYWORD , // used by list parsing
kBlendModeKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_BACKGROUND (
2010-06-08 18:44:33 -07:00
background - origin ,
background_origin ,
BackgroundOrigin ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE_LIST |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2009-07-15 17:24:24 -07:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_KEYWORD , // used by list parsing
2009-09-11 03:46:36 -07:00
kBackgroundOriginKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_BACKGROUND (
background - position ,
background_position ,
BackgroundPosition ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2010-09-15 08:11:26 -07:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
2015-01-08 08:57:09 -08:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2010-09-15 08:11:26 -07:00
CSS_PROPERTY_STORES_CALC ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2009-09-11 03:46:36 -07:00
kBackgroundPositionKTable ,
CSS_PROP_NO_OFFSET ,
2009-12-21 13:46:25 -08:00
eStyleAnimType_Custom )
2009-07-15 17:24:24 -07:00
CSS_PROP_BACKGROUND (
background - repeat ,
background_repeat ,
BackgroundRepeat ,
2012-02-24 21:23:14 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2009-07-15 17:24:24 -07:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_KEYWORD , // used by list parsing
2009-09-11 03:46:36 -07:00
kBackgroundRepeatKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-05-28 11:09:05 -07:00
CSS_PROP_BACKGROUND (
2010-06-08 18:44:33 -07:00
background - size ,
background_size ,
BackgroundSize ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2010-09-15 08:11:26 -07:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
2011-05-09 12:02:34 -07:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2010-09-15 08:11:26 -07:00
CSS_PROPERTY_STORES_CALC ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2009-09-11 03:46:36 -07:00
kBackgroundSizeKTable ,
CSS_PROP_NO_OFFSET ,
2009-12-21 13:46:25 -08:00
eStyleAnimType_Custom )
2009-07-15 17:24:24 -07:00
CSS_PROP_DISPLAY (
- moz - binding ,
binding ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( Binding ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HUO ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // XXX bug 3935
2015-01-16 20:50:09 -08:00
CSS_PROP_LOGICAL (
block - size ,
block_size ,
BlockSize ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:50:09 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
" layout.css.vertical-text.enabled " ,
VARIANT_AHKLP | VARIANT_CALC ,
kWidthKTable ,
Size ,
Position ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_SHORTHAND (
border ,
border ,
Border ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2015-01-16 20:22:52 -08:00
CSS_PROP_SHORTHAND (
border - block - end ,
border_block_end ,
BorderBlockEnd ,
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS ,
2015-01-16 20:22:52 -08:00
" layout.css.vertical-text.enabled " )
CSS_PROP_SHORTHAND (
border - block - start ,
border_block_start ,
BorderBlockStart ,
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS ,
2015-01-16 20:22:52 -08:00
" layout.css.vertical-text.enabled " )
2015-01-16 20:22:52 -08:00
CSS_PROP_LOGICAL (
border - block - end - color ,
border_block_end_color ,
BorderBlockEndColor ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:22:52 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE ,
" layout.css.vertical-text.enabled " ,
VARIANT_HCK ,
kBorderColorKTable ,
2015-01-16 20:43:20 -08:00
BorderColor ,
2015-01-16 20:22:52 -08:00
Border ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_LOGICAL (
border - block - end - style ,
border_block_end_style ,
BorderBlockEndStyle ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:22:52 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE ,
" layout.css.vertical-text.enabled " ,
VARIANT_HK ,
kBorderStyleKTable ,
2015-01-16 20:43:20 -08:00
BorderStyle ,
2015-01-16 20:22:52 -08:00
Border ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_LOGICAL (
border - block - end - width ,
border_block_end_width ,
BorderBlockEndWidth ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:22:52 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE ,
" layout.css.vertical-text.enabled " ,
VARIANT_HKL | VARIANT_CALC ,
kBorderWidthKTable ,
2015-01-16 20:43:20 -08:00
BorderWidth ,
2015-01-16 20:22:52 -08:00
Border ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_LOGICAL (
border - block - start - color ,
border_block_start_color ,
BorderBlockStartColor ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:22:52 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
" layout.css.vertical-text.enabled " ,
VARIANT_HCK ,
kBorderColorKTable ,
2015-01-16 20:43:20 -08:00
BorderColor ,
2015-01-16 20:22:52 -08:00
Border ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_LOGICAL (
border - block - start - style ,
border_block_start_style ,
BorderBlockStartStyle ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:22:52 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
" layout.css.vertical-text.enabled " ,
VARIANT_HK ,
kBorderStyleKTable ,
2015-01-16 20:43:20 -08:00
BorderStyle ,
2015-01-16 20:22:52 -08:00
Border ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_LOGICAL (
border - block - start - width ,
border_block_start_width ,
BorderBlockStartWidth ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:22:52 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
" layout.css.vertical-text.enabled " ,
VARIANT_HKL | VARIANT_CALC ,
kBorderWidthKTable ,
2015-01-16 20:43:20 -08:00
BorderWidth ,
2015-01-16 20:22:52 -08:00
Border ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_SHORTHAND (
border - bottom ,
border_bottom ,
BorderBottom ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-07-15 17:24:24 -07:00
CSS_PROP_BORDER (
border - bottom - color ,
border_bottom_color ,
BorderBottomColor ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED |
CSS_PROPERTY_HASHLESS_COLOR_QUIRK ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HCK ,
2009-09-11 03:46:36 -07:00
kBorderColorKTable ,
CSS_PROP_NO_OFFSET ,
2009-10-13 19:38:20 -07:00
eStyleAnimType_Custom )
2009-07-15 17:24:24 -07:00
CSS_PROP_BORDER (
- moz - border - bottom - colors ,
border_bottom_colors ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( BorderBottomColors ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2009-07-15 17:24:24 -07:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_BORDER (
border - bottom - style ,
border_bottom_style ,
BorderBottomStyle ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kBorderStyleKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // on/off will need reflow
2009-07-15 17:24:24 -07:00
CSS_PROP_BORDER (
border - bottom - width ,
border_bottom_width ,
BorderBottomWidth ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HKL | VARIANT_CALC ,
2009-09-11 03:46:36 -07:00
kBorderWidthKTable ,
CSS_PROP_NO_OFFSET ,
2009-10-13 19:38:20 -07:00
eStyleAnimType_Custom )
2009-07-15 17:24:24 -07:00
CSS_PROP_TABLEBORDER (
border - collapse ,
border_collapse ,
BorderCollapse ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kBorderCollapseKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_SHORTHAND (
border - color ,
border_color ,
BorderColor ,
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_HASHLESS_COLOR_QUIRK ,
2012-05-09 18:29:37 -07:00
" " )
2011-12-22 15:34:45 -08:00
CSS_PROP_SHORTHAND (
2012-05-30 22:19:49 -07:00
border - image ,
2009-07-15 17:24:24 -07:00
border_image ,
2012-05-30 22:19:49 -07:00
BorderImage ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2011-12-22 15:34:45 -08:00
CSS_PROP_BORDER (
2012-05-30 22:19:49 -07:00
border - image - source ,
2011-12-22 15:34:45 -08:00
border_image_source ,
2012-05-30 22:19:49 -07:00
BorderImageSource ,
2011-12-22 15:34:45 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2011-12-22 15:34:45 -08:00
CSS_PROPERTY_START_IMAGE_LOADS ,
2012-05-09 18:29:37 -07:00
" " ,
2014-01-30 19:36:42 -08:00
VARIANT_IMAGE | VARIANT_INHERIT ,
2012-07-30 07:20:58 -07:00
nullptr ,
2011-12-22 15:34:45 -08:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_BORDER (
2012-05-30 22:19:49 -07:00
border - image - slice ,
2011-12-22 15:34:45 -08:00
border_image_slice ,
2012-05-30 22:19:49 -07:00
BorderImageSlice ,
2011-12-22 15:34:45 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-12-22 15:34:45 -08:00
0 ,
kBorderImageSliceKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_BORDER (
2012-05-30 22:19:49 -07:00
border - image - width ,
2011-12-22 15:34:45 -08:00
border_image_width ,
2012-05-30 22:19:49 -07:00
BorderImageWidth ,
2011-12-22 15:34:45 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-12-22 15:34:45 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2011-12-22 15:34:45 -08:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_BORDER (
2012-05-30 22:19:49 -07:00
border - image - outset ,
2011-12-22 15:34:45 -08:00
border_image_outset ,
2012-05-30 22:19:49 -07:00
BorderImageOutset ,
2011-12-22 15:34:45 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-12-22 15:34:45 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2011-12-22 15:34:45 -08:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_BORDER (
2012-05-30 22:19:49 -07:00
border - image - repeat ,
2011-12-22 15:34:45 -08:00
border_image_repeat ,
2012-05-30 22:19:49 -07:00
BorderImageRepeat ,
2011-12-22 15:34:45 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2011-12-22 15:34:45 -08:00
kBorderImageRepeatKTable ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_SHORTHAND (
2015-01-16 20:16:02 -08:00
- moz - border - end ,
border_end ,
CSS_PROP_DOMPROP_PREFIXED ( BorderEnd ) ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2015-01-16 20:16:02 -08:00
CSS_PROP_LOGICAL (
- moz - border - end - color ,
border_end_color ,
CSS_PROP_DOMPROP_PREFIXED ( BorderEndColor ) ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2015-01-16 20:22:51 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_END_EDGE ,
2015-01-16 20:16:02 -08:00
" " ,
VARIANT_HCK ,
kBorderColorKTable ,
2015-01-16 20:43:20 -08:00
BorderColor ,
2015-01-16 20:16:02 -08:00
Border ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_LOGICAL (
- moz - border - end - style ,
border_end_style ,
CSS_PROP_DOMPROP_PREFIXED ( BorderEndStyle ) ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2015-01-16 20:22:51 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_END_EDGE ,
2015-01-16 20:16:02 -08:00
" " ,
VARIANT_HK ,
kBorderStyleKTable ,
2015-01-16 20:43:20 -08:00
BorderStyle ,
2015-01-16 20:16:02 -08:00
Border ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_LOGICAL (
- moz - border - end - width ,
border_end_width ,
CSS_PROP_DOMPROP_PREFIXED ( BorderEndWidth ) ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-01-16 20:22:51 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_END_EDGE ,
2015-01-16 20:16:02 -08:00
" " ,
VARIANT_HKL | VARIANT_CALC ,
kBorderWidthKTable ,
2015-01-16 20:43:20 -08:00
BorderWidth ,
2015-01-16 20:16:02 -08:00
Border ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2014-12-30 20:04:20 -08:00
CSS_PROP_SHORTHAND (
2015-01-16 20:16:02 -08:00
- moz - border - start ,
border_start ,
CSS_PROP_DOMPROP_PREFIXED ( BorderStart ) ,
CSS_PROPERTY_PARSE_FUNCTION ,
2014-12-30 20:04:20 -08:00
" " )
2015-01-16 20:16:02 -08:00
CSS_PROP_LOGICAL (
- moz - border - start - color ,
border_start_color ,
CSS_PROP_DOMPROP_PREFIXED ( BorderStartColor ) ,
CSS_PROPERTY_PARSE_VALUE |
2014-12-30 17:18:15 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_LOGICAL ,
2014-12-30 17:18:15 -08:00
" " ,
2015-01-16 20:16:02 -08:00
VARIANT_HCK ,
2014-12-30 17:18:15 -08:00
kBorderColorKTable ,
2015-01-16 20:43:20 -08:00
BorderColor ,
2015-01-16 20:16:02 -08:00
Border ,
2014-12-30 20:04:20 -08:00
CSS_PROP_NO_OFFSET ,
2015-01-16 20:16:02 -08:00
eStyleAnimType_None )
CSS_PROP_LOGICAL (
- moz - border - start - style ,
border_start_style ,
CSS_PROP_DOMPROP_PREFIXED ( BorderStartStyle ) ,
CSS_PROPERTY_PARSE_VALUE |
2014-12-30 20:04:20 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_LOGICAL ,
2014-12-30 20:04:20 -08:00
" " ,
2015-01-16 20:16:02 -08:00
VARIANT_HK ,
kBorderStyleKTable ,
2015-01-16 20:43:20 -08:00
BorderStyle ,
2015-01-16 20:16:02 -08:00
Border ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_LOGICAL (
- moz - border - start - width ,
border_start_width ,
CSS_PROP_DOMPROP_PREFIXED ( BorderStartWidth ) ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_LOGICAL ,
" " ,
VARIANT_HKL | VARIANT_CALC ,
kBorderWidthKTable ,
2015-01-16 20:43:20 -08:00
BorderWidth ,
2015-01-16 20:16:02 -08:00
Border ,
2014-12-30 17:18:15 -08:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2015-01-16 20:16:02 -08:00
CSS_PROP_SHORTHAND (
border - left ,
border_left ,
BorderLeft ,
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2014-12-30 20:04:20 -08:00
CSS_PROP_BORDER (
2015-01-16 20:16:02 -08:00
border - left - color ,
border_left_color ,
BorderLeftColor ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_HASHLESS_COLOR_QUIRK |
2014-12-30 17:18:15 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2014-12-30 20:04:20 -08:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2014-12-30 17:18:15 -08:00
" " ,
2015-01-16 20:16:02 -08:00
VARIANT_HCK ,
kBorderColorKTable ,
2014-12-30 17:18:15 -08:00
CSS_PROP_NO_OFFSET ,
2015-01-16 20:16:02 -08:00
eStyleAnimType_Custom )
2014-12-30 20:04:20 -08:00
CSS_PROP_BORDER (
- moz - border - left - colors ,
border_left_colors ,
CSS_PROP_DOMPROP_PREFIXED ( BorderLeftColors ) ,
CSS_PROPERTY_PARSE_FUNCTION |
2014-12-30 17:18:15 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2014-12-30 20:04:20 -08:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2014-12-30 17:18:15 -08:00
" " ,
2014-12-30 20:04:20 -08:00
0 ,
nullptr ,
2014-12-30 17:18:15 -08:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2015-01-16 20:16:02 -08:00
CSS_PROP_BORDER (
2014-12-30 20:04:20 -08:00
border - left - style ,
border_left_style ,
BorderLeftStyle ,
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-09 18:29:37 -07:00
" " ,
2015-01-16 20:16:02 -08:00
VARIANT_HK ,
2014-12-30 20:04:20 -08:00
kBorderStyleKTable ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
2014-12-30 17:18:15 -08:00
eStyleAnimType_None )
2014-12-30 20:04:20 -08:00
CSS_PROP_BORDER (
border - left - width ,
border_left_width ,
BorderLeftWidth ,
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_PARSE_VALUE |
2014-12-30 20:04:20 -08:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2014-12-30 17:18:15 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2014-12-30 17:18:15 -08:00
" " ,
VARIANT_HKL | VARIANT_CALC ,
kBorderWidthKTable ,
2014-12-30 20:04:20 -08:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Custom )
2014-12-30 17:18:15 -08:00
CSS_PROP_SHORTHAND (
2014-12-30 20:04:20 -08:00
border - right ,
border_right ,
BorderRight ,
2014-12-30 17:18:15 -08:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2015-01-16 20:16:02 -08:00
CSS_PROP_BORDER (
2014-12-30 20:04:20 -08:00
border - right - color ,
border_right_color ,
BorderRightColor ,
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_HASHLESS_COLOR_QUIRK |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2012-05-09 18:29:37 -07:00
" " ,
2015-01-16 20:16:02 -08:00
VARIANT_HCK ,
2014-12-30 17:18:15 -08:00
kBorderColorKTable ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
2014-12-30 17:18:15 -08:00
eStyleAnimType_Custom )
2014-12-30 20:04:20 -08:00
CSS_PROP_BORDER (
- moz - border - right - colors ,
border_right_colors ,
CSS_PROP_DOMPROP_PREFIXED ( BorderRightColors ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2009-07-15 17:24:24 -07:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2015-01-16 20:16:02 -08:00
CSS_PROP_BORDER (
2014-12-30 20:04:20 -08:00
border - right - style ,
border_right_style ,
BorderRightStyle ,
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-09 18:29:37 -07:00
" " ,
2015-01-16 20:16:02 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kBorderStyleKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_BORDER (
2014-12-30 20:04:20 -08:00
border - right - width ,
border_right_width ,
BorderRightWidth ,
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HKL | VARIANT_CALC ,
2009-09-11 03:46:36 -07:00
kBorderWidthKTable ,
CSS_PROP_NO_OFFSET ,
2009-10-13 19:38:20 -07:00
eStyleAnimType_Custom )
2014-12-30 20:04:20 -08:00
CSS_PROP_TABLEBORDER (
border - spacing ,
border_spacing ,
BorderSpacing ,
CSS_PROPERTY_PARSE_FUNCTION |
2015-01-08 08:57:09 -08:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2014-12-30 20:04:20 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
2014-12-30 20:04:20 -08:00
eStyleAnimType_Custom )
2009-07-15 17:24:24 -07:00
CSS_PROP_SHORTHAND (
border - style ,
border_style ,
BorderStyle ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " ) // on/off will need reflow
2009-07-15 17:24:24 -07:00
CSS_PROP_SHORTHAND (
border - top ,
border_top ,
BorderTop ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-07-15 17:24:24 -07:00
CSS_PROP_BORDER (
border - top - color ,
border_top_color ,
BorderTopColor ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED |
CSS_PROPERTY_HASHLESS_COLOR_QUIRK ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HCK ,
2009-09-11 03:46:36 -07:00
kBorderColorKTable ,
CSS_PROP_NO_OFFSET ,
2009-10-13 19:38:20 -07:00
eStyleAnimType_Custom )
2009-07-15 17:24:24 -07:00
CSS_PROP_BORDER (
- moz - border - top - colors ,
border_top_colors ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( BorderTopColors ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2009-07-15 17:24:24 -07:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_BORDER (
border - top - style ,
border_top_style ,
BorderTopStyle ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kBorderStyleKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // on/off will need reflow
2009-07-15 17:24:24 -07:00
CSS_PROP_BORDER (
border - top - width ,
border_top_width ,
BorderTopWidth ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HKL | VARIANT_CALC ,
2009-09-11 03:46:36 -07:00
kBorderWidthKTable ,
CSS_PROP_NO_OFFSET ,
2009-10-13 19:38:20 -07:00
eStyleAnimType_Custom )
2009-07-15 17:24:24 -07:00
CSS_PROP_SHORTHAND (
border - width ,
border_width ,
BorderWidth ,
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
2012-05-09 18:29:37 -07:00
" " )
2010-09-09 08:21:48 -07:00
CSS_PROP_SHORTHAND (
border - radius ,
border_radius ,
BorderRadius ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2010-09-09 08:21:48 -07:00
CSS_PROP_BORDER (
border - top - left - radius ,
border_top_left_radius ,
BorderTopLeftRadius ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2011-05-09 12:02:34 -07:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2010-09-09 08:21:48 -07:00
offsetof ( nsStyleBorder , mBorderRadius ) ,
eStyleAnimType_Corner_TopLeft )
CSS_PROP_BORDER (
border - top - right - radius ,
border_top_right_radius ,
BorderTopRightRadius ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2011-05-09 12:02:34 -07:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2010-09-09 08:21:48 -07:00
offsetof ( nsStyleBorder , mBorderRadius ) ,
eStyleAnimType_Corner_TopRight )
CSS_PROP_BORDER (
border - bottom - right - radius ,
border_bottom_right_radius ,
BorderBottomRightRadius ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2011-05-09 12:02:34 -07:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2010-09-09 08:21:48 -07:00
offsetof ( nsStyleBorder , mBorderRadius ) ,
eStyleAnimType_Corner_BottomRight )
CSS_PROP_BORDER (
border - bottom - left - radius ,
border_bottom_left_radius ,
BorderBottomLeftRadius ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2011-05-09 12:02:34 -07:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2010-09-09 08:21:48 -07:00
offsetof ( nsStyleBorder , mBorderRadius ) ,
eStyleAnimType_Corner_BottomLeft )
2009-07-15 17:24:24 -07:00
CSS_PROP_POSITION (
bottom ,
bottom ,
Bottom ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2012-08-20 19:23:31 -07:00
CSS_PROPERTY_STORES_CALC |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_AHLP | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStylePosition , mOffset ) ,
eStyleAnimType_Sides_Bottom )
2014-05-05 10:55:53 -07:00
CSS_PROP_BORDER (
box - decoration - break ,
box_decoration_break ,
BoxDecorationBreak ,
CSS_PROPERTY_PARSE_VALUE ,
" layout.css.box-decoration-break.enabled " ,
VARIANT_HK ,
kBoxDecorationBreakKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_BORDER (
2010-09-11 09:27:12 -07:00
box - shadow ,
2009-07-15 17:24:24 -07:00
box_shadow ,
2010-09-11 09:27:13 -07:00
BoxShadow ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2009-07-20 04:04:42 -07:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2011-05-09 12:02:34 -07:00
// NOTE: some components must be nonnegative
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2009-09-11 03:46:36 -07:00
kBoxShadowTypeKTable ,
2009-10-21 03:53:46 -07:00
offsetof ( nsStyleBorder , mBoxShadow ) ,
eStyleAnimType_Shadow )
2009-07-15 17:24:24 -07:00
CSS_PROP_POSITION (
2014-01-17 16:13:22 -08:00
box - sizing ,
2009-07-15 17:24:24 -07:00
box_sizing ,
2014-01-17 16:13:22 -08:00
BoxSizing ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kBoxSizingKTable ,
CSS_PROP_NO_OFFSET ,
2014-01-17 16:13:22 -08:00
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_TABLEBORDER (
caption - side ,
caption_side ,
CaptionSide ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kCaptionSideKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_DISPLAY (
clear ,
clear ,
Clear ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kClearKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2015-03-19 21:12:17 -07:00
CSS_PROP_DISPLAY (
2009-07-15 17:24:24 -07:00
clip ,
clip ,
Clip ,
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2015-03-19 21:12:17 -07:00
offsetof ( nsStyleDisplay , mClip ) ,
2009-12-21 13:46:25 -08:00
eStyleAnimType_Custom )
2009-07-15 17:24:24 -07:00
CSS_PROP_COLOR (
color ,
color ,
Color ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED |
CSS_PROPERTY_HASHLESS_COLOR_QUIRK ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleColor , mColor ) ,
eStyleAnimType_Color )
2011-08-22 21:18:22 -07:00
CSS_PROP_SHORTHAND (
- moz - columns ,
_moz_columns ,
CSS_PROP_DOMPROP_PREFIXED ( Columns ) ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-07-15 17:24:24 -07:00
CSS_PROP_COLUMN (
- moz - column - count ,
_moz_column_count ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( ColumnCount ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
// Need to reject 0 in addition to negatives. If we accept 0, we
// need to change NS_STYLE_COLUMN_COUNT_AUTO to something else.
2011-05-09 12:02:35 -07:00
CSS_PROPERTY_VALUE_AT_LEAST_ONE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_AHI ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-12-11 08:13:19 -08:00
offsetof ( nsStyleColumn , mColumnCount ) ,
eStyleAnimType_Custom )
2012-07-31 09:21:19 -07:00
CSS_PROP_COLUMN (
- moz - column - fill ,
_moz_column_fill ,
CSS_PROP_DOMPROP_PREFIXED ( ColumnFill ) ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kColumnFillKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_COLUMN (
- moz - column - width ,
_moz_column_width ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( ColumnWidth ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_AHL | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleColumn , mColumnWidth ) ,
eStyleAnimType_Coord )
2009-07-15 17:24:24 -07:00
CSS_PROP_COLUMN (
- moz - column - gap ,
_moz_column_gap ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( ColumnGap ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HL | VARIANT_NORMAL | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleColumn , mColumnGap ) ,
eStyleAnimType_Coord )
2009-07-15 17:24:24 -07:00
CSS_PROP_SHORTHAND (
- moz - column - rule ,
_moz_column_rule ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( ColumnRule ) ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-07-15 17:24:24 -07:00
CSS_PROP_COLUMN (
- moz - column - rule - color ,
_moz_column_rule_color ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( ColumnRuleColor ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HCK ,
2011-03-05 09:58:33 -08:00
kBorderColorKTable ,
2010-04-06 19:03:12 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Custom )
2009-07-15 17:24:24 -07:00
CSS_PROP_COLUMN (
- moz - column - rule - style ,
_moz_column_rule_style ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( ColumnRuleStyle ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kBorderStyleKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_COLUMN (
- moz - column - rule - width ,
_moz_column_rule_width ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( ColumnRuleWidth ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HKL | VARIANT_CALC ,
2009-09-11 03:46:36 -07:00
kBorderWidthKTable ,
CSS_PROP_NO_OFFSET ,
2009-12-11 08:13:19 -08:00
eStyleAnimType_Custom )
2009-07-15 17:24:24 -07:00
CSS_PROP_CONTENT (
content ,
content ,
Content ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_START_IMAGE_LOADS ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2009-09-11 03:46:36 -07:00
kContentKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2014-02-05 02:08:48 -08:00
# ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
CSS_PROP_TEXT (
- moz - control - character - visibility ,
_moz_control_character_visibility ,
CSS_PROP_DOMPROP_PREFIXED ( ControlCharacterVisibility ) ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kControlCharacterVisibilityKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
# endif
2009-07-15 17:24:24 -07:00
CSS_PROP_CONTENT (
counter - increment ,
counter_increment ,
CounterIncrement ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // XXX bug 137285
2009-07-15 17:24:24 -07:00
CSS_PROP_CONTENT (
counter - reset ,
counter_reset ,
CounterReset ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // XXX bug 137285
2009-07-15 17:24:24 -07:00
CSS_PROP_USERINTERFACE (
cursor ,
cursor ,
Cursor ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
2009-11-14 19:16:59 -08:00
CSS_PROPERTY_START_IMAGE_LOADS |
CSS_PROPERTY_IMAGE_IS_IN_ARRAY_0 ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2009-09-11 03:46:36 -07:00
kCursorKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2013-10-03 11:49:19 -07:00
# ifndef CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
2009-07-15 17:24:24 -07:00
CSS_PROP_VISIBILITY (
direction ,
direction ,
Direction ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kDirectionKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2013-10-03 11:49:19 -07:00
# endif // !defined(CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND)
2009-07-15 17:24:24 -07:00
CSS_PROP_DISPLAY (
display ,
display ,
Display ,
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_PARSE_VALUE |
// This is allowed because we need to make the placeholder
// pseudo-element an inline-block in the UA stylesheet. It is a block
// by default.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kDisplayKTable ,
2009-10-21 14:57:57 -07:00
offsetof ( nsStyleDisplay , mDisplay ) ,
eStyleAnimType_EnumU8 )
2009-07-15 17:24:24 -07:00
CSS_PROP_TABLEBORDER (
empty - cells ,
empty_cells ,
EmptyCells ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kEmptyCellsKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2013-12-05 10:57:50 -08:00
CSS_PROP_POSITION (
align - content ,
align_content ,
AlignContent ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kAlignContentKTable ,
offsetof ( nsStylePosition , mAlignContent ) ,
eStyleAnimType_EnumU8 )
2012-07-06 17:06:21 -07:00
CSS_PROP_POSITION (
2012-10-15 12:42:43 -07:00
align - items ,
2012-07-06 17:06:21 -07:00
align_items ,
2012-10-15 12:42:43 -07:00
AlignItems ,
2012-07-06 17:06:21 -07:00
CSS_PROPERTY_PARSE_VALUE ,
2013-11-09 07:53:14 -08:00
" " ,
2012-07-06 17:06:21 -07:00
VARIANT_HK ,
kAlignItemsKTable ,
offsetof ( nsStylePosition , mAlignItems ) ,
eStyleAnimType_EnumU8 )
2012-07-06 17:06:21 -07:00
CSS_PROP_POSITION (
2012-10-15 12:42:43 -07:00
align - self ,
2012-07-06 17:06:21 -07:00
align_self ,
2012-10-15 12:42:43 -07:00
AlignSelf ,
2012-07-06 17:06:21 -07:00
CSS_PROPERTY_PARSE_VALUE ,
2013-11-09 07:53:14 -08:00
" " ,
2012-07-06 17:06:21 -07:00
VARIANT_HK ,
kAlignSelfKTable ,
offsetof ( nsStylePosition , mAlignSelf ) ,
eStyleAnimType_EnumU8 )
2012-07-06 17:06:23 -07:00
CSS_PROP_SHORTHAND (
flex ,
2012-10-15 12:42:43 -07:00
flex ,
Flex ,
2012-07-06 17:06:23 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
2013-11-09 07:53:14 -08:00
" " )
2012-07-06 17:06:23 -07:00
CSS_PROP_POSITION (
2012-10-15 12:42:43 -07:00
flex - basis ,
2012-07-06 17:06:23 -07:00
flex_basis ,
2012-10-15 12:42:43 -07:00
FlexBasis ,
2012-07-06 17:06:23 -07:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_STORES_CALC ,
2013-11-09 07:53:14 -08:00
" " ,
2012-07-06 17:06:23 -07:00
// NOTE: The parsing implementation for the 'flex' shorthand property has
// its own code to parse each subproperty. It does not depend on the
// longhand parsing defined here.
2012-07-06 17:06:23 -07:00
VARIANT_AHKLP | VARIANT_CALC ,
2014-11-25 15:40:24 -08:00
kWidthKTable ,
2012-07-06 17:06:23 -07:00
offsetof ( nsStylePosition , mFlexBasis ) ,
eStyleAnimType_Coord )
2012-07-06 17:06:20 -07:00
CSS_PROP_POSITION (
2012-10-15 12:42:43 -07:00
flex - direction ,
2012-07-06 17:06:20 -07:00
flex_direction ,
2012-10-15 12:42:43 -07:00
FlexDirection ,
2012-07-06 17:06:20 -07:00
CSS_PROPERTY_PARSE_VALUE ,
2013-11-09 07:53:14 -08:00
" " ,
2012-07-06 17:06:20 -07:00
VARIANT_HK ,
kFlexDirectionKTable ,
offsetof ( nsStylePosition , mFlexDirection ) ,
eStyleAnimType_EnumU8 )
2013-12-05 10:57:51 -08:00
CSS_PROP_SHORTHAND (
flex - flow ,
flex_flow ,
FlexFlow ,
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2012-07-06 17:06:22 -07:00
CSS_PROP_POSITION (
2012-10-15 12:42:43 -07:00
flex - grow ,
2012-07-06 17:06:22 -07:00
flex_grow ,
2012-10-15 12:42:43 -07:00
FlexGrow ,
2012-07-06 17:06:22 -07:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2013-11-09 07:53:14 -08:00
" " ,
2012-07-06 17:06:23 -07:00
// NOTE: The parsing implementation for the 'flex' shorthand property has
// its own code to parse each subproperty. It does not depend on the
// longhand parsing defined here.
2012-07-06 17:06:22 -07:00
VARIANT_HN ,
2012-07-30 07:20:58 -07:00
nullptr ,
2012-07-06 17:06:22 -07:00
offsetof ( nsStylePosition , mFlexGrow ) ,
2014-05-04 09:12:32 -07:00
eStyleAnimType_float )
2012-07-06 17:06:22 -07:00
CSS_PROP_POSITION (
2012-10-15 12:42:43 -07:00
flex - shrink ,
2012-07-06 17:06:22 -07:00
flex_shrink ,
2012-10-15 12:42:43 -07:00
FlexShrink ,
2012-07-06 17:06:22 -07:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2013-11-09 07:53:14 -08:00
" " ,
2012-07-06 17:06:23 -07:00
// NOTE: The parsing implementation for the 'flex' shorthand property has
// its own code to parse each subproperty. It does not depend on the
// longhand parsing defined here.
2012-07-06 17:06:22 -07:00
VARIANT_HN ,
2012-07-30 07:20:58 -07:00
nullptr ,
2012-07-06 17:06:22 -07:00
offsetof ( nsStylePosition , mFlexShrink ) ,
2014-05-04 09:12:32 -07:00
eStyleAnimType_float )
2013-12-05 10:57:50 -08:00
CSS_PROP_POSITION (
flex - wrap ,
flex_wrap ,
FlexWrap ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kFlexWrapKTable ,
offsetof ( nsStylePosition , mFlexWrap ) ,
eStyleAnimType_EnumU8 )
2012-07-06 17:06:19 -07:00
CSS_PROP_POSITION (
order ,
2012-10-15 12:42:43 -07:00
order ,
Order ,
2012-07-06 17:06:19 -07:00
CSS_PROPERTY_PARSE_VALUE ,
2013-11-09 07:53:14 -08:00
" " ,
2012-07-06 17:06:19 -07:00
VARIANT_HI ,
2012-07-30 07:20:58 -07:00
nullptr ,
2012-07-06 17:06:19 -07:00
offsetof ( nsStylePosition , mOrder ) ,
eStyleAnimType_Custom ) // <integer>
2012-07-06 17:06:19 -07:00
CSS_PROP_POSITION (
2012-10-15 12:42:43 -07:00
justify - content ,
2012-07-06 17:06:19 -07:00
justify_content ,
2012-10-15 12:42:43 -07:00
JustifyContent ,
2012-07-06 17:06:19 -07:00
CSS_PROPERTY_PARSE_VALUE ,
2013-11-09 07:53:14 -08:00
" " ,
2012-07-06 17:06:19 -07:00
VARIANT_HK ,
kJustifyContentKTable ,
offsetof ( nsStylePosition , mJustifyContent ) ,
eStyleAnimType_EnumU8 )
2009-07-15 17:24:24 -07:00
CSS_PROP_DISPLAY (
float ,
float ,
2013-03-25 09:24:21 -07:00
CSS_PROP_PUBLIC_OR_PRIVATE ( CssFloat , Float ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kFloatKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_BORDER (
- moz - float - edge ,
float_edge ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( FloatEdge ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kFloatEdgeKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // XXX bug 3935
2009-07-15 17:24:24 -07:00
CSS_PROP_SHORTHAND (
font ,
font ,
Font ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-07-15 17:24:24 -07:00
CSS_PROP_FONT (
font - family ,
font_family ,
FontFamily ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2010-07-13 13:30:42 -07:00
CSS_PROP_FONT (
2014-08-20 00:54:35 -07:00
font - feature - settings ,
2010-07-13 13:30:42 -07:00
font_feature_settings ,
2014-08-20 00:54:35 -07:00
FontFeatureSettings ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2012-04-25 23:24:26 -07:00
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2012-04-25 23:24:26 -07:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2010-07-13 13:30:42 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2013-05-19 19:59:20 -07:00
CSS_PROP_FONT (
font - kerning ,
font_kerning ,
FontKerning ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2014-08-20 00:54:35 -07:00
" " ,
2013-05-19 19:59:20 -07:00
VARIANT_HK ,
kFontKerningKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2010-07-13 13:30:42 -07:00
CSS_PROP_FONT (
2014-08-20 00:54:35 -07:00
font - language - override ,
2010-07-13 13:30:42 -07:00
font_language_override ,
2014-08-20 00:54:35 -07:00
FontLanguageOverride ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_NORMAL | VARIANT_INHERIT | VARIANT_STRING ,
2012-07-30 07:20:58 -07:00
nullptr ,
2010-07-13 13:30:42 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_FONT (
font - size ,
font_size ,
FontSize ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HKLP | VARIANT_SYSFONT | VARIANT_CALC ,
2009-09-11 03:46:36 -07:00
kFontSizeKTable ,
2009-09-11 03:46:36 -07:00
// Note that mSize is the correct place for *reading* the computed value,
// but setting it requires setting mFont.size as well.
offsetof ( nsStyleFont , mSize ) ,
eStyleAnimType_nscoord )
2009-07-15 17:24:24 -07:00
CSS_PROP_FONT (
font - size - adjust ,
font_size_adjust ,
FontSizeAdjust ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-05-09 12:02:34 -07:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HON | VARIANT_SYSFONT ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-10-08 18:30:51 -07:00
offsetof ( nsStyleFont , mFont . sizeAdjust ) ,
eStyleAnimType_float )
2013-07-29 13:00:41 -07:00
CSS_PROP_FONT (
2013-07-29 13:01:14 -07:00
- moz - osx - font - smoothing ,
osx_font_smoothing ,
2015-03-05 18:02:16 -08:00
CSS_PROP_DOMPROP_PREFIXED ( OsxFontSmoothing ) ,
2013-07-29 13:00:41 -07:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2013-07-29 13:01:14 -07:00
" layout.css.osx-font-smoothing.enabled " ,
2013-07-29 13:00:41 -07:00
VARIANT_HK ,
kFontSmoothingKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_FONT (
font - stretch ,
font_stretch ,
FontStretch ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK | VARIANT_SYSFONT ,
2009-09-11 03:46:36 -07:00
kFontStretchKTable ,
2009-11-14 19:16:59 -08:00
offsetof ( nsStyleFont , mFont . stretch ) ,
eStyleAnimType_Custom )
2009-07-15 17:24:24 -07:00
CSS_PROP_FONT (
font - style ,
font_style ,
FontStyle ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK | VARIANT_SYSFONT ,
2009-09-11 03:46:36 -07:00
kFontStyleKTable ,
2009-10-21 14:57:57 -07:00
offsetof ( nsStyleFont , mFont . style ) ,
eStyleAnimType_EnumU8 )
2013-09-28 22:45:28 -07:00
CSS_PROP_FONT (
2013-05-19 19:59:20 -07:00
font - synthesis ,
font_synthesis ,
FontSynthesis ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2014-08-20 00:54:35 -07:00
" " ,
2013-05-19 19:59:20 -07:00
0 ,
kFontSynthesisKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2014-08-20 00:54:25 -07:00
CSS_PROP_SHORTHAND (
2009-07-15 17:24:24 -07:00
font - variant ,
font_variant ,
FontVariant ,
2014-08-20 00:54:25 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2013-05-19 19:59:20 -07:00
CSS_PROP_FONT (
font - variant - alternates ,
font_variant_alternates ,
FontVariantAlternates ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2014-08-20 00:54:35 -07:00
" " ,
2014-08-20 00:54:25 -07:00
0 ,
2013-05-19 19:59:20 -07:00
kFontVariantAlternatesKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_FONT (
font - variant - caps ,
font_variant_caps ,
FontVariantCaps ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2014-08-20 00:54:35 -07:00
" " ,
2013-05-19 19:59:20 -07:00
VARIANT_HMK ,
kFontVariantCapsKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_FONT (
font - variant - east - asian ,
font_variant_east_asian ,
FontVariantEastAsian ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2014-08-20 00:54:35 -07:00
" " ,
2013-05-19 19:59:20 -07:00
0 ,
kFontVariantEastAsianKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_FONT (
font - variant - ligatures ,
font_variant_ligatures ,
FontVariantLigatures ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2014-08-20 00:54:35 -07:00
" " ,
2013-05-19 19:59:20 -07:00
0 ,
kFontVariantLigaturesKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_FONT (
font - variant - numeric ,
font_variant_numeric ,
FontVariantNumeric ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2014-08-20 00:54:35 -07:00
" " ,
2013-05-19 19:59:20 -07:00
0 ,
kFontVariantNumericKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_FONT (
font - variant - position ,
font_variant_position ,
FontVariantPosition ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2014-08-20 00:54:35 -07:00
" " ,
2013-05-19 19:59:20 -07:00
VARIANT_HMK ,
kFontVariantPositionKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_FONT (
font - weight ,
font_weight ,
FontWeight ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2011-05-09 12:02:34 -07:00
// NOTE: This property has range restrictions on interpolation!
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2009-09-11 03:46:36 -07:00
kFontWeightKTable ,
2009-11-14 19:16:59 -08:00
offsetof ( nsStyleFont , mFont . weight ) ,
eStyleAnimType_Custom )
2009-07-15 17:24:24 -07:00
CSS_PROP_UIRESET (
- moz - force - broken - image - icon ,
force_broken_image_icon ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( ForceBrokenImageIcon ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HI ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // bug 58646
2014-03-10 15:54:16 -07:00
CSS_PROP_POSITION (
grid - auto - flow ,
grid_auto_flow ,
GridAutoFlow ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " ,
0 ,
kGridAutoFlowKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2014-03-10 15:54:15 -07:00
CSS_PROP_POSITION (
grid - auto - columns ,
grid_auto_columns ,
GridAutoColumns ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_STORES_CALC ,
" layout.css.grid.enabled " ,
0 ,
kGridTrackBreadthKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_POSITION (
grid - auto - rows ,
grid_auto_rows ,
GridAutoRows ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_STORES_CALC ,
" layout.css.grid.enabled " ,
0 ,
kGridTrackBreadthKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2014-03-10 15:54:14 -07:00
CSS_PROP_POSITION (
grid - template - areas ,
grid_template_areas ,
GridTemplateAreas ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2014-03-10 15:54:13 -07:00
CSS_PROP_POSITION (
grid - template - columns ,
grid_template_columns ,
GridTemplateColumns ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
" layout.css.grid.enabled " ,
0 ,
kGridTrackBreadthKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_POSITION (
grid - template - rows ,
grid_template_rows ,
GridTemplateRows ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
" layout.css.grid.enabled " ,
0 ,
kGridTrackBreadthKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2014-03-21 08:06:12 -07:00
CSS_PROP_SHORTHAND (
grid - template ,
grid_template ,
GridTemplate ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " )
2014-03-21 08:06:12 -07:00
CSS_PROP_SHORTHAND (
grid ,
grid ,
Grid ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " )
2014-03-10 15:54:17 -07:00
CSS_PROP_POSITION (
grid - column - start ,
grid_column_start ,
GridColumnStart ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_POSITION (
grid - column - end ,
grid_column_end ,
GridColumnEnd ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_POSITION (
grid - row - start ,
grid_row_start ,
GridRowStart ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_POSITION (
grid - row - end ,
grid_row_end ,
GridRowEnd ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2014-03-21 08:06:12 -07:00
CSS_PROP_SHORTHAND (
grid - column ,
grid_column ,
GridColumn ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " )
CSS_PROP_SHORTHAND (
grid - row ,
grid_row ,
GridRow ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " )
CSS_PROP_SHORTHAND (
grid - area ,
grid_area ,
GridArea ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " )
2009-07-15 17:24:24 -07:00
CSS_PROP_POSITION (
height ,
height ,
Height ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_STORES_CALC |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_AHLP | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStylePosition , mHeight ) ,
eStyleAnimType_Coord )
2013-08-28 15:39:06 -07:00
CSS_PROP_VISIBILITY (
image - orientation ,
image_orientation ,
ImageOrientation ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION ,
" layout.css.image-orientation.enabled " ,
0 ,
kImageOrientationKTable ,
offsetof ( nsStyleVisibility , mImageOrientation ) ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_LIST (
- moz - image - region ,
image_region ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( ImageRegion ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-12-21 13:46:25 -08:00
offsetof ( nsStyleList , mImageRegion ) ,
eStyleAnimType_Custom )
2009-07-15 17:24:24 -07:00
CSS_PROP_UIRESET (
ime - mode ,
ime_mode ,
ImeMode ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kIMEModeKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2015-01-16 20:50:09 -08:00
CSS_PROP_LOGICAL (
inline - size ,
inline_size ,
InlineSize ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:50:09 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS ,
" layout.css.vertical-text.enabled " ,
VARIANT_AHKLP | VARIANT_CALC ,
kWidthKTable ,
Size ,
Position ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_POSITION (
left ,
left ,
Left ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_STORES_CALC |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_AHLP | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStylePosition , mOffset ) ,
eStyleAnimType_Sides_Left )
2009-07-15 17:24:24 -07:00
CSS_PROP_TEXT (
letter - spacing ,
letter_spacing ,
LetterSpacing ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HL | VARIANT_NORMAL | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleText , mLetterSpacing ) ,
eStyleAnimType_Coord )
2009-07-15 17:24:24 -07:00
CSS_PROP_TEXT (
line - height ,
line_height ,
LineHeight ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HLPN | VARIANT_KEYWORD | VARIANT_NORMAL | VARIANT_SYSFONT ,
2009-09-11 03:46:36 -07:00
kLineHeightKTable ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleText , mLineHeight ) ,
eStyleAnimType_Coord )
2009-07-15 17:24:24 -07:00
CSS_PROP_SHORTHAND (
list - style ,
list_style ,
ListStyle ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-07-15 17:24:24 -07:00
CSS_PROP_LIST (
list - style - image ,
list_style_image ,
ListStyleImage ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_START_IMAGE_LOADS ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HUO ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_LIST (
list - style - position ,
list_style_position ,
ListStylePosition ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kListStylePositionKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_LIST (
list - style - type ,
list_style_type ,
ListStyleType ,
2014-06-11 18:12:00 -07:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION ,
2012-05-09 18:29:37 -07:00
" " ,
2014-06-11 18:12:00 -07:00
0 ,
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_SHORTHAND (
margin ,
margin ,
Margin ,
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_PARSE_FUNCTION |
2012-08-31 14:21:28 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_APPLIES_TO_PAGE_RULE ,
2012-05-09 18:29:37 -07:00
" " )
2015-01-16 20:22:52 -08:00
CSS_PROP_LOGICAL (
margin - block - end ,
margin_block_end ,
MarginBlockEnd ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_APPLIES_TO_PAGE_RULE |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:22:52 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE ,
" layout.css.vertical-text.enabled " ,
VARIANT_AHLP | VARIANT_CALC ,
nullptr ,
2015-01-16 20:43:20 -08:00
Margin ,
2015-01-16 20:22:52 -08:00
Margin ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_LOGICAL (
margin - block - start ,
margin_block_start ,
MarginBlockStart ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_APPLIES_TO_PAGE_RULE |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:22:52 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
" layout.css.vertical-text.enabled " ,
VARIANT_AHLP | VARIANT_CALC ,
nullptr ,
2015-01-16 20:43:20 -08:00
Margin ,
2015-01-16 20:22:52 -08:00
Margin ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_MARGIN (
margin - bottom ,
margin_bottom ,
MarginBottom ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_STORES_CALC |
2012-08-31 14:21:28 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_APPLIES_TO_PAGE_RULE |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_AHLP | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleMargin , mMargin ) ,
eStyleAnimType_Sides_Bottom )
2015-01-16 20:16:02 -08:00
CSS_PROP_LOGICAL (
2009-07-15 17:24:24 -07:00
- moz - margin - end ,
margin_end ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( MarginEnd ) ,
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_PARSE_VALUE |
2014-12-30 17:18:14 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_STORES_CALC |
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_APPLIES_TO_PAGE_RULE |
2015-01-16 20:22:51 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_END_EDGE ,
2014-12-30 17:18:14 -08:00
" " ,
2015-01-16 20:16:02 -08:00
VARIANT_AHLP | VARIANT_CALC ,
2014-12-30 17:18:14 -08:00
nullptr ,
2015-01-16 20:43:20 -08:00
Margin ,
2015-01-16 20:16:02 -08:00
Margin ,
2014-12-30 17:18:14 -08:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2015-01-16 20:16:02 -08:00
CSS_PROP_LOGICAL (
- moz - margin - start ,
margin_start ,
CSS_PROP_DOMPROP_PREFIXED ( MarginStart ) ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_APPLIES_TO_PAGE_RULE |
CSS_PROPERTY_LOGICAL ,
" " ,
VARIANT_AHLP | VARIANT_CALC ,
nullptr ,
2015-01-16 20:43:20 -08:00
Margin ,
2015-01-16 20:16:02 -08:00
Margin ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_MARGIN (
2009-07-15 17:24:24 -07:00
margin - left ,
margin_left ,
MarginLeft ,
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_PARSE_VALUE |
2012-08-31 14:21:28 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2014-12-30 20:04:20 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_STORES_CALC |
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_APPLIES_TO_PAGE_RULE |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2015-01-16 20:16:02 -08:00
VARIANT_AHLP | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleMargin , mMargin ) ,
eStyleAnimType_Sides_Left )
2009-07-15 17:24:24 -07:00
CSS_PROP_MARGIN (
margin - right ,
margin_right ,
MarginRight ,
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_PARSE_VALUE |
2012-08-31 14:21:28 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2014-12-30 20:04:20 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_STORES_CALC |
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_APPLIES_TO_PAGE_RULE |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2015-01-16 20:16:02 -08:00
VARIANT_AHLP | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleMargin , mMargin ) ,
eStyleAnimType_Sides_Right )
2009-07-15 17:24:24 -07:00
CSS_PROP_MARGIN (
margin - top ,
margin_top ,
MarginTop ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_STORES_CALC |
2012-08-31 14:21:28 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_APPLIES_TO_PAGE_RULE |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_AHLP | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleMargin , mMargin ) ,
eStyleAnimType_Sides_Top )
2009-07-15 17:24:24 -07:00
CSS_PROP_CONTENT (
marker - offset ,
marker_offset ,
MarkerOffset ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_AHL | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleContent , mMarkerOffset ) ,
eStyleAnimType_Coord )
2009-07-15 17:24:24 -07:00
CSS_PROP_BACKENDONLY (
marks ,
marks ,
Marks ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2009-07-15 17:24:24 -07:00
kPageMarksKTable )
2015-01-16 20:50:09 -08:00
CSS_PROP_LOGICAL (
max - block - size ,
max_block_size ,
MaxBlockSize ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:50:09 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
" layout.css.vertical-text.enabled " ,
VARIANT_HKLPO | VARIANT_CALC ,
kWidthKTable ,
MaxSize ,
Position ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_POSITION (
max - height ,
max_height ,
MaxHeight ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_STORES_CALC |
2015-01-08 08:57:09 -08:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HLPO | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStylePosition , mMaxHeight ) ,
eStyleAnimType_Coord )
2015-01-16 20:50:09 -08:00
CSS_PROP_LOGICAL (
max - inline - size ,
max_inline_size ,
MaxInlineSize ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:50:09 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS ,
" layout.css.vertical-text.enabled " ,
VARIANT_HKLPO | VARIANT_CALC ,
kWidthKTable ,
MaxSize ,
Position ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_POSITION (
max - width ,
max_width ,
MaxWidth ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_STORES_CALC |
2015-01-08 08:57:09 -08:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HKLPO | VARIANT_CALC ,
2009-09-11 03:46:36 -07:00
kWidthKTable ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStylePosition , mMaxWidth ) ,
eStyleAnimType_Coord )
2009-07-15 17:24:24 -07:00
CSS_PROP_POSITION (
min - height ,
min_height ,
MinHeight ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_STORES_CALC |
2015-01-08 08:57:09 -08:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2014-07-22 08:24:34 -07:00
VARIANT_AHLP | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStylePosition , mMinHeight ) ,
eStyleAnimType_Coord )
2015-01-16 20:50:09 -08:00
CSS_PROP_LOGICAL (
min - block - size ,
min_block_size ,
MinBlockSize ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:50:09 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
" layout.css.vertical-text.enabled " ,
VARIANT_AHKLP | VARIANT_CALC ,
kWidthKTable ,
MinSize ,
Position ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_LOGICAL (
min - inline - size ,
min_inline_size ,
MinInlineSize ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:50:09 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS ,
" layout.css.vertical-text.enabled " ,
VARIANT_AHKLP | VARIANT_CALC ,
kWidthKTable ,
MinSize ,
Position ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_POSITION (
min - width ,
min_width ,
MinWidth ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_STORES_CALC |
2015-01-08 08:57:09 -08:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2014-07-22 08:24:34 -07:00
VARIANT_AHKLP | VARIANT_CALC ,
2009-09-11 03:46:36 -07:00
kWidthKTable ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStylePosition , mMinWidth ) ,
eStyleAnimType_Coord )
2013-08-07 00:59:10 -07:00
CSS_PROP_DISPLAY (
mix - blend - mode ,
mix_blend_mode ,
MixBlendMode ,
2014-02-05 20:50:22 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_CREATES_STACKING_CONTEXT ,
2013-08-07 00:59:10 -07:00
" layout.css.mix-blend-mode.enabled " ,
VARIANT_HK ,
kBlendModeKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2014-10-15 05:13:00 -07:00
CSS_PROP_DISPLAY (
isolation ,
isolation ,
Isolation ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_CREATES_STACKING_CONTEXT ,
" layout.css.isolation.enabled " ,
VARIANT_HK ,
kIsolationKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2014-09-09 18:09:32 -07:00
CSS_PROP_POSITION (
object - fit ,
object_fit ,
ObjectFit ,
2014-11-11 22:49:15 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS ,
2014-09-09 18:09:32 -07:00
" layout.css.object-fit-and-position.enabled " ,
VARIANT_HK ,
kObjectFitKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2014-09-09 18:09:32 -07:00
CSS_PROP_POSITION (
object - position ,
object_position ,
ObjectPosition ,
CSS_PROPERTY_PARSE_FUNCTION |
2014-11-11 22:49:15 -08:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS ,
2014-09-09 18:09:32 -07:00
" layout.css.object-fit-and-position.enabled " ,
0 ,
kBackgroundPositionKTable ,
2014-09-09 18:09:32 -07:00
offsetof ( nsStylePosition , mObjectPosition ) ,
eStyleAnimType_Custom )
2015-01-16 20:53:27 -08:00
CSS_PROP_LOGICAL (
offset - block - end ,
offset_block_end ,
OffsetBlockEnd ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:53:27 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE ,
" layout.css.vertical-text.enabled " ,
VARIANT_AHLP | VARIANT_CALC ,
nullptr ,
Offset ,
Position ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_LOGICAL (
offset - block - start ,
offset_block_start ,
OffsetBlockStart ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:53:27 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
" layout.css.vertical-text.enabled " ,
VARIANT_AHLP | VARIANT_CALC ,
nullptr ,
Offset ,
Position ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_LOGICAL (
offset - inline - end ,
offset_inline_end ,
OffsetInlineEnd ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:53:27 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_END_EDGE ,
" layout.css.vertical-text.enabled " ,
VARIANT_AHLP | VARIANT_CALC ,
nullptr ,
Offset ,
Position ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_LOGICAL (
offset - inline - start ,
offset_inline_start ,
OffsetInlineStart ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:53:27 -08:00
CSS_PROPERTY_LOGICAL ,
" layout.css.vertical-text.enabled " ,
VARIANT_AHLP | VARIANT_CALC ,
nullptr ,
Offset ,
Position ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_DISPLAY (
opacity ,
opacity ,
Opacity ,
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HN ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-10-08 18:30:49 -07:00
offsetof ( nsStyleDisplay , mOpacity ) ,
2012-07-27 15:53:08 -07:00
eStyleAnimType_float )
2011-05-10 06:47:46 -07:00
CSS_PROP_DISPLAY (
- moz - orient ,
orient ,
CSS_PROP_DOMPROP_PREFIXED ( Orient ) ,
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-05-10 06:47:46 -07:00
VARIANT_HK ,
kOrientKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_BACKENDONLY (
orphans ,
orphans ,
Orphans ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-05-09 12:02:35 -07:00
CSS_PROPERTY_VALUE_AT_LEAST_ONE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HI ,
2012-07-30 07:20:58 -07:00
nullptr )
2009-07-15 17:24:24 -07:00
CSS_PROP_SHORTHAND (
outline ,
outline ,
Outline ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-07-15 17:24:24 -07:00
CSS_PROP_OUTLINE (
outline - color ,
outline_color ,
OutlineColor ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HCK ,
2009-09-11 03:46:36 -07:00
kOutlineColorKTable ,
CSS_PROP_NO_OFFSET ,
2009-10-13 19:38:20 -07:00
eStyleAnimType_Custom )
2009-07-15 17:24:24 -07:00
CSS_PROP_OUTLINE (
outline - style ,
outline_style ,
OutlineStyle ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2011-03-05 09:58:33 -08:00
kOutlineStyleKTable ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_OUTLINE (
outline - width ,
outline_width ,
OutlineWidth ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HKL | VARIANT_CALC ,
2009-09-11 03:46:36 -07:00
kBorderWidthKTable ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleOutline , mOutlineWidth ) ,
eStyleAnimType_Coord )
2009-07-15 17:24:24 -07:00
CSS_PROP_OUTLINE (
outline - offset ,
outline_offset ,
OutlineOffset ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HL | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleOutline , mOutlineOffset ) ,
eStyleAnimType_nscoord )
2009-07-15 17:24:24 -07:00
CSS_PROP_SHORTHAND (
overflow ,
overflow ,
Overflow ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2014-02-21 17:18:23 -08:00
CSS_PROP_DISPLAY (
overflow - clip - box ,
overflow_clip_box ,
OverflowClipBox ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
" layout.css.overflow-clip-box.enabled " ,
VARIANT_HK ,
kOverflowClipBoxKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_DISPLAY (
overflow - x ,
overflow_x ,
OverflowX ,
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_PARSE_VALUE |
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kOverflowSubKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_DISPLAY (
overflow - y ,
overflow_y ,
OverflowY ,
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_PARSE_VALUE |
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kOverflowSubKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_SHORTHAND (
padding ,
padding ,
Padding ,
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
2012-05-09 18:29:37 -07:00
" " )
2015-01-16 20:22:51 -08:00
CSS_PROP_LOGICAL (
padding - block - end ,
padding_block_end ,
PaddingBlockEnd ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:22:51 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE ,
" layout.css.vertical-text.enabled " ,
VARIANT_HLP | VARIANT_CALC ,
nullptr ,
2015-01-16 20:43:20 -08:00
Padding ,
2015-01-16 20:22:51 -08:00
Padding ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_LOGICAL (
padding - block - start ,
padding_block_start ,
PaddingBlockStart ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS |
2015-01-16 20:22:51 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
" layout.css.vertical-text.enabled " ,
VARIANT_HLP | VARIANT_CALC ,
nullptr ,
2015-01-16 20:43:20 -08:00
Padding ,
2015-01-16 20:22:51 -08:00
Padding ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_PADDING (
padding - bottom ,
padding_bottom ,
PaddingBottom ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-11-09 02:25:52 -08:00
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_STORES_CALC |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HLP | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStylePadding , mPadding ) ,
eStyleAnimType_Sides_Bottom )
2015-01-16 20:16:02 -08:00
CSS_PROP_LOGICAL (
2009-07-15 17:24:24 -07:00
- moz - padding - end ,
padding_end ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( PaddingEnd ) ,
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-11-09 02:25:52 -08:00
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-01-16 20:22:51 -08:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_END_EDGE ,
2012-05-09 18:29:37 -07:00
" " ,
2015-01-16 20:16:02 -08:00
VARIANT_HLP | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2015-01-16 20:43:20 -08:00
Padding ,
2015-01-16 20:16:02 -08:00
Padding ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2015-01-16 20:16:02 -08:00
CSS_PROP_LOGICAL (
- moz - padding - start ,
padding_start ,
CSS_PROP_DOMPROP_PREFIXED ( PaddingStart ) ,
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-11-09 02:25:52 -08:00
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_LOGICAL ,
2012-05-09 18:29:37 -07:00
" " ,
2015-01-16 20:16:02 -08:00
VARIANT_HLP | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2015-01-16 20:43:20 -08:00
Padding ,
2015-01-16 20:16:02 -08:00
Padding ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_PADDING (
2015-01-16 20:16:02 -08:00
padding - left ,
padding_left ,
PaddingLeft ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-11-09 02:25:52 -08:00
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2015-01-16 20:16:02 -08:00
VARIANT_HLP | VARIANT_CALC ,
nullptr ,
offsetof ( nsStylePadding , mPadding ) ,
eStyleAnimType_Sides_Left )
CSS_PROP_PADDING (
2009-07-15 17:24:24 -07:00
padding - right ,
padding_right ,
PaddingRight ,
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_PARSE_VALUE |
2014-12-30 20:04:20 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-11-09 02:25:52 -08:00
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2015-01-16 20:16:02 -08:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2015-01-16 20:16:02 -08:00
VARIANT_HLP | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStylePadding , mPadding ) ,
eStyleAnimType_Sides_Right )
2009-07-15 17:24:24 -07:00
CSS_PROP_PADDING (
padding - top ,
padding_top ,
PaddingTop ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-11-09 02:25:52 -08:00
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_STORES_CALC |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HLP | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStylePadding , mPadding ) ,
eStyleAnimType_Sides_Top )
2009-07-15 17:24:24 -07:00
CSS_PROP_BACKENDONLY (
page ,
page ,
Page ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_AUTO | VARIANT_IDENTIFIER ,
2012-07-30 07:20:58 -07:00
nullptr )
2009-07-15 17:24:24 -07:00
CSS_PROP_DISPLAY (
page - break - after ,
page_break_after ,
PageBreakAfter ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kPageBreakKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // temp fix for bug 24000
2009-07-15 17:24:24 -07:00
CSS_PROP_DISPLAY (
page - break - before ,
page_break_before ,
PageBreakBefore ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kPageBreakKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // temp fix for bug 24000
2012-11-08 08:09:37 -08:00
CSS_PROP_DISPLAY (
2009-07-15 17:24:24 -07:00
page - break - inside ,
page_break_inside ,
PageBreakInside ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2012-11-08 08:09:37 -08:00
kPageBreakInsideKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2013-01-12 15:27:53 -08:00
CSS_PROP_SVG (
paint - order ,
paint_order ,
PaintOrder ,
CSS_PROPERTY_PARSE_FUNCTION ,
" svg.paint-order.enabled " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-08-26 20:53:35 -07:00
CSS_PROP_VISIBILITY (
pointer - events ,
pointer_events ,
PointerEvents ,
2012-11-09 02:27:03 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kPointerEventsKTable ,
2009-10-21 14:57:57 -07:00
offsetof ( nsStyleVisibility , mPointerEvents ) ,
eStyleAnimType_EnumU8 )
2009-07-15 17:24:24 -07:00
CSS_PROP_DISPLAY (
position ,
position ,
Position ,
2014-02-05 20:50:22 -08:00
CSS_PROPERTY_PARSE_VALUE |
// For position: sticky
CSS_PROPERTY_CREATES_STACKING_CONTEXT ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kPositionKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_QUOTES (
quotes ,
quotes ,
Quotes ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2010-03-19 04:49:33 -07:00
CSS_PROP_DISPLAY (
resize ,
2010-07-05 07:41:04 -07:00
resize ,
Resize ,
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_PARSE_VALUE |
// This is allowed because the UA stylesheet sets 'resize: both;' on
// textarea and we need to disable this for the placeholder
// pseudo-element.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2010-03-19 04:49:33 -07:00
kResizeKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_POSITION (
right ,
right ,
Right ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_STORES_CALC |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_AHLP | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStylePosition , mOffset ) ,
eStyleAnimType_Sides_Right )
2015-02-16 21:01:49 -08:00
CSS_PROP_TEXT (
ruby - align ,
ruby_align ,
RubyAlign ,
CSS_PROPERTY_PARSE_VALUE ,
" layout.css.ruby.enabled " ,
VARIANT_HK ,
kRubyAlignKTable ,
offsetof ( nsStyleText , mRubyAlign ) ,
eStyleAnimType_EnumU8 )
2014-12-08 22:47:18 -08:00
CSS_PROP_TEXT (
ruby - position ,
ruby_position ,
RubyPosition ,
2015-01-21 19:04:55 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2014-12-08 22:47:18 -08:00
" layout.css.ruby.enabled " ,
2015-01-21 19:04:55 -08:00
VARIANT_HK ,
2014-12-08 22:47:18 -08:00
kRubyPositionKTable ,
2015-01-21 19:04:55 -08:00
offsetof ( nsStyleText , mRubyPosition ) ,
eStyleAnimType_EnumU8 )
2014-09-15 12:29:58 -07:00
CSS_PROP_DISPLAY (
scroll - behavior ,
scroll_behavior ,
ScrollBehavior ,
CSS_PROPERTY_PARSE_VALUE ,
" layout.css.scroll-behavior.property-enabled " ,
VARIANT_HK ,
kScrollBehaviorKTable ,
CSS_PROP_NO_OFFSET ,
2014-02-03 17:54:22 -08:00
eStyleAnimType_None )
CSS_PROP_DISPLAY (
2015-03-13 10:00:00 -07:00
scroll - snap - coordinate ,
scroll_snap_coordinate ,
ScrollSnapCoordinate ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
CSS_PROPERTY_STORES_CALC ,
2014-02-03 17:54:22 -08:00
" layout.css.scroll-snap.enabled " ,
2015-03-13 10:00:00 -07:00
0 ,
kBackgroundPositionKTable ,
2014-02-03 17:54:22 -08:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
2015-03-13 10:00:00 -07:00
scroll - snap - destination ,
scroll_snap_destination ,
ScrollSnapDestination ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_STORES_CALC ,
2014-02-03 17:54:22 -08:00
" layout.css.scroll-snap.enabled " ,
2015-03-13 10:00:00 -07:00
0 ,
kBackgroundPositionKTable ,
2014-02-03 17:54:22 -08:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
scroll - snap - points - x ,
scroll_snap_points_x ,
ScrollSnapPointsX ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_STORES_CALC ,
" layout.css.scroll-snap.enabled " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
scroll - snap - points - y ,
scroll_snap_points_y ,
ScrollSnapPointsY ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_STORES_CALC ,
" layout.css.scroll-snap.enabled " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2015-03-13 10:00:00 -07:00
CSS_PROP_SHORTHAND (
scroll - snap - type ,
scroll_snap_type ,
ScrollSnapType ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.scroll-snap.enabled " )
2014-02-03 17:54:22 -08:00
CSS_PROP_DISPLAY (
2015-03-13 10:00:00 -07:00
scroll - snap - type - x ,
scroll_snap_type_x ,
ScrollSnapTypeX ,
CSS_PROPERTY_PARSE_VALUE ,
2014-02-03 17:54:22 -08:00
" layout.css.scroll-snap.enabled " ,
2015-03-13 10:00:00 -07:00
VARIANT_HK ,
kScrollSnapTypeKTable ,
2014-02-03 17:54:22 -08:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
2015-03-13 10:00:00 -07:00
scroll - snap - type - y ,
scroll_snap_type_y ,
ScrollSnapTypeY ,
CSS_PROPERTY_PARSE_VALUE ,
2014-02-03 17:54:22 -08:00
" layout.css.scroll-snap.enabled " ,
2015-03-13 10:00:00 -07:00
VARIANT_HK ,
kScrollSnapTypeKTable ,
2014-02-03 17:54:22 -08:00
CSS_PROP_NO_OFFSET ,
2014-09-15 12:29:58 -07:00
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_BACKENDONLY (
size ,
size ,
Size ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2009-07-15 17:24:24 -07:00
kPageSizeKTable )
CSS_PROP_TABLE (
table - layout ,
table_layout ,
TableLayout ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kTableLayoutKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_TEXT (
text - align ,
text_align ,
TextAlign ,
2013-10-27 13:56:32 -07:00
CSS_PROPERTY_PARSE_VALUE | CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
// When we support aligning on a string, we can parse text-align
// as a string....
VARIANT_HK /* | VARIANT_STRING */ ,
2009-09-11 03:46:36 -07:00
kTextAlignKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2012-01-12 09:52:21 -08:00
CSS_PROP_TEXT (
- moz - text - align - last ,
text_align_last ,
CSS_PROP_DOMPROP_PREFIXED ( TextAlignLast ) ,
2013-10-27 13:56:32 -07:00
CSS_PROPERTY_PARSE_VALUE | CSS_PROPERTY_VALUE_PARSER_FUNCTION ,
2012-05-09 18:29:37 -07:00
" " ,
2012-01-12 09:52:21 -08:00
VARIANT_HK ,
kTextAlignLastKTable ,
offsetof ( nsStyleText , mTextAlignLast ) ,
eStyleAnimType_None )
2011-04-22 22:16:41 -07:00
CSS_PROP_SHORTHAND (
2009-07-15 17:24:24 -07:00
text - decoration ,
text_decoration ,
TextDecoration ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2013-08-19 03:26:44 -07:00
CSS_PROP_TEXT (
2014-04-16 17:15:18 -07:00
text - combine - upright ,
text_combine_upright ,
TextCombineUpright ,
2013-08-19 03:26:44 -07:00
CSS_PROPERTY_PARSE_VALUE |
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS ,
2013-08-19 03:26:44 -07:00
" layout.css.vertical-text.enabled " ,
0 ,
2014-04-16 17:15:18 -07:00
kTextCombineUprightKTable ,
offsetof ( nsStyleText , mTextCombineUpright ) ,
2013-08-19 03:26:44 -07:00
eStyleAnimType_EnumU8 )
2011-03-31 05:26:35 -07:00
CSS_PROP_TEXTRESET (
2014-11-18 02:23:09 -08:00
text - decoration - color ,
2011-03-31 05:26:35 -07:00
text_decoration_color ,
2014-11-18 02:23:09 -08:00
TextDecorationColor ,
2011-03-31 05:26:35 -07:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2011-03-31 05:26:35 -07:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-31 05:26:35 -07:00
VARIANT_HCK ,
kBorderColorKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Custom )
2011-04-22 22:16:41 -07:00
CSS_PROP_TEXTRESET (
2014-11-18 02:23:09 -08:00
text - decoration - line ,
2011-04-22 22:16:41 -07:00
text_decoration_line ,
2014-11-18 02:23:09 -08:00
TextDecorationLine ,
2011-04-22 22:16:41 -07:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-04-22 22:16:41 -07:00
0 ,
kTextDecorationLineKTable ,
offsetof ( nsStyleTextReset , mTextDecorationLine ) ,
eStyleAnimType_EnumU8 )
2011-03-31 05:26:35 -07:00
CSS_PROP_TEXTRESET (
2014-11-18 02:23:09 -08:00
text - decoration - style ,
2011-03-31 05:26:35 -07:00
text_decoration_style ,
2014-11-18 02:23:09 -08:00
TextDecorationStyle ,
2011-03-31 05:26:35 -07:00
CSS_PROPERTY_PARSE_VALUE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-31 05:26:35 -07:00
VARIANT_HK ,
kTextDecorationStyleKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Custom )
2009-07-15 17:24:24 -07:00
CSS_PROP_TEXT (
text - indent ,
text_indent ,
TextIndent ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_STORES_CALC |
2015-01-08 08:57:09 -08:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HLP | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleText , mTextIndent ) ,
eStyleAnimType_Coord )
2014-12-11 10:56:19 -08:00
CSS_PROP_VISIBILITY (
2013-08-19 03:26:44 -07:00
text - orientation ,
text_orientation ,
TextOrientation ,
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS ,
2013-08-19 03:26:44 -07:00
" layout.css.vertical-text.enabled " ,
VARIANT_HK ,
kTextOrientationKTable ,
2014-12-11 10:56:19 -08:00
offsetof ( nsStyleVisibility , mTextOrientation ) ,
2013-08-19 03:26:44 -07:00
eStyleAnimType_EnumU8 )
2011-06-22 11:11:47 -07:00
CSS_PROP_TEXTRESET (
text - overflow ,
text_overflow ,
TextOverflow ,
2011-08-20 13:41:39 -07:00
CSS_PROPERTY_PARSE_VALUE |
2013-02-23 02:38:15 -08:00
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-08-20 13:41:39 -07:00
0 ,
2011-06-22 11:11:47 -07:00
kTextOverflowKTable ,
offsetof ( nsStyleTextReset , mTextOverflow ) ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_TEXT (
text - shadow ,
text_shadow ,
TextShadow ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2009-07-15 17:24:24 -07:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2011-05-09 12:02:34 -07:00
// NOTE: some components must be nonnegative
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-10-21 03:53:46 -07:00
offsetof ( nsStyleText , mTextShadow ) ,
eStyleAnimType_Shadow )
2011-11-23 18:48:23 -08:00
CSS_PROP_TEXT (
- moz - text - size - adjust ,
text_size_adjust ,
CSS_PROP_DOMPROP_PREFIXED ( TextSizeAdjust ) ,
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-11-23 18:48:23 -08:00
VARIANT_AUTO | VARIANT_NONE | VARIANT_INHERIT ,
2012-07-30 07:20:58 -07:00
nullptr ,
2011-11-23 18:48:23 -08:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_TEXT (
text - transform ,
text_transform ,
TextTransform ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kTextTransformKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2015-03-19 21:12:17 -07:00
CSS_PROP_DISPLAY (
2012-05-05 02:00:04 -07:00
transform ,
2012-07-01 23:23:54 -07:00
transform ,
Transform ,
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_PARSE_FUNCTION |
2014-02-05 20:50:22 -08:00
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_CREATES_STACKING_CONTEXT ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2013-08-22 07:16:07 -07:00
nullptr ,
2015-03-19 21:12:17 -07:00
offsetof ( nsStyleDisplay , mSpecifiedTransform ) ,
2010-07-02 21:18:56 -07:00
eStyleAnimType_Custom )
2015-03-19 21:12:17 -07:00
CSS_PROP_DISPLAY (
2012-07-01 23:23:54 -07:00
transform - origin ,
2012-05-05 02:00:04 -07:00
transform_origin ,
2012-07-01 23:23:54 -07:00
TransformOrigin ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2009-09-11 03:46:36 -07:00
kBackgroundPositionKTable ,
CSS_PROP_NO_OFFSET ,
2009-12-11 08:13:19 -08:00
eStyleAnimType_Custom )
2015-03-19 21:12:17 -07:00
CSS_PROP_DISPLAY (
2012-07-01 23:23:54 -07:00
perspective - origin ,
2011-08-02 20:04:24 -07:00
perspective_origin ,
2012-07-01 23:23:54 -07:00
PerspectiveOrigin ,
2011-08-02 20:04:24 -07:00
CSS_PROPERTY_PARSE_FUNCTION |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-08-02 20:04:24 -07:00
0 ,
kBackgroundPositionKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Custom )
2015-03-19 21:12:17 -07:00
CSS_PROP_DISPLAY (
2011-08-02 20:04:22 -07:00
perspective ,
2012-07-01 23:23:54 -07:00
perspective ,
Perspective ,
2014-02-05 20:50:22 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_CREATES_STACKING_CONTEXT ,
2012-05-09 18:29:37 -07:00
" " ,
2012-07-13 18:01:34 -07:00
VARIANT_NONE | VARIANT_INHERIT | VARIANT_LENGTH | VARIANT_POSITIVE_DIMENSION ,
2012-07-30 07:20:58 -07:00
nullptr ,
2015-03-19 21:12:17 -07:00
offsetof ( nsStyleDisplay , mChildPerspective ) ,
2011-08-02 20:04:22 -07:00
eStyleAnimType_Coord )
2015-03-19 21:12:17 -07:00
CSS_PROP_DISPLAY (
2012-07-01 23:23:54 -07:00
transform - style ,
2011-08-26 17:01:06 -07:00
transform_style ,
2012-07-01 23:23:54 -07:00
TransformStyle ,
2014-02-05 20:50:22 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_CREATES_STACKING_CONTEXT ,
2012-05-09 18:29:37 -07:00
" " ,
2011-08-26 17:01:06 -07:00
VARIANT_HK ,
kTransformStyleKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2015-03-19 21:12:17 -07:00
CSS_PROP_DISPLAY (
2012-07-01 23:23:54 -07:00
backface - visibility ,
2011-08-02 20:04:22 -07:00
backface_visibility ,
2012-07-01 23:23:54 -07:00
BackfaceVisibility ,
2011-08-02 20:04:22 -07:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-08-02 20:04:22 -07:00
VARIANT_HK ,
kBackfaceVisibilityKTable ,
2015-03-19 21:12:17 -07:00
offsetof ( nsStyleDisplay , mBackfaceVisibility ) ,
2011-08-02 20:04:22 -07:00
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_POSITION (
top ,
top ,
Top ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_STORES_CALC |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_AHLP | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStylePosition , mOffset ) ,
eStyleAnimType_Sides_Top )
2014-01-15 07:03:15 -08:00
CSS_PROP_DISPLAY (
touch - action ,
touch_action ,
TouchAction ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION ,
" layout.css.touch_action.enabled " ,
VARIANT_HK ,
kTouchActionKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-08-20 14:52:47 -07:00
CSS_PROP_SHORTHAND (
transition ,
2012-07-08 18:25:10 -07:00
transition ,
Transition ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-08-20 14:52:47 -07:00
CSS_PROP_DISPLAY (
2012-07-08 18:25:10 -07:00
transition - delay ,
2009-08-20 14:52:47 -07:00
transition_delay ,
2012-07-08 18:25:10 -07:00
TransitionDelay ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE_LIST |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_TIME , // used by list parsing
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-08-20 14:52:47 -07:00
CSS_PROP_DISPLAY (
2012-07-08 18:25:10 -07:00
transition - duration ,
2009-08-20 14:52:47 -07:00
transition_duration ,
2012-07-08 18:25:10 -07:00
TransitionDuration ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE_LIST |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-09 18:29:37 -07:00
" " ,
2012-07-13 18:01:34 -07:00
VARIANT_TIME | VARIANT_NONNEGATIVE_DIMENSION , // used by list parsing
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-08-20 14:52:47 -07:00
CSS_PROP_DISPLAY (
2012-07-08 18:25:10 -07:00
transition - property ,
2009-08-20 14:52:47 -07:00
transition_property ,
2012-07-08 18:25:10 -07:00
TransitionProperty ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_IDENTIFIER | VARIANT_NONE | VARIANT_ALL , // used only in shorthand
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-08-20 14:52:47 -07:00
CSS_PROP_DISPLAY (
2012-07-08 18:25:10 -07:00
transition - timing - function ,
2009-08-20 14:52:47 -07:00
transition_timing_function ,
2012-07-08 18:25:10 -07:00
TransitionTimingFunction ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE_LIST |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-09 18:29:37 -07:00
" " ,
2011-04-11 23:18:42 -07:00
VARIANT_KEYWORD | VARIANT_TIMING_FUNCTION , // used by list parsing
2009-09-11 03:46:36 -07:00
kTransitionTimingFunctionKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2013-10-03 11:49:19 -07:00
# ifndef CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
2009-07-15 17:24:24 -07:00
CSS_PROP_TEXTRESET (
unicode - bidi ,
unicode_bidi ,
UnicodeBidi ,
2012-08-07 01:42:46 -07:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2012-08-07 01:42:46 -07:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kUnicodeBidiKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2013-10-03 11:49:19 -07:00
# endif // !defined(CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND)
2009-07-15 17:24:24 -07:00
CSS_PROP_USERINTERFACE (
- moz - user - focus ,
user_focus ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( UserFocus ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kUserFocusKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // XXX bug 3935
2009-07-15 17:24:24 -07:00
CSS_PROP_USERINTERFACE (
- moz - user - input ,
user_input ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( UserInput ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kUserInputKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // XXX ??? // XXX bug 3935
2009-07-15 17:24:24 -07:00
CSS_PROP_USERINTERFACE (
- moz - user - modify ,
user_modify ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( UserModify ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kUserModifyKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // XXX bug 3935
2009-07-15 17:24:24 -07:00
CSS_PROP_UIRESET (
- moz - user - select ,
user_select ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( UserSelect ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kUserSelectKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // XXX bug 3935
2008-12-12 10:59:03 -08:00
// NOTE: vertical-align is only supposed to apply to :first-letter when
// 'float' is 'none', but we don't worry about that since it has no
// effect otherwise
2009-07-15 17:24:24 -07:00
CSS_PROP_TEXTRESET (
vertical - align ,
vertical_align ,
VerticalAlign ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_STORES_CALC |
2015-01-08 08:57:09 -08:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HKLP | VARIANT_CALC ,
2009-09-11 03:46:36 -07:00
kVerticalAlignKTable ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleTextReset , mVerticalAlign ) ,
eStyleAnimType_Coord )
2009-07-15 17:24:24 -07:00
CSS_PROP_VISIBILITY (
visibility ,
visibility ,
Visibility ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kVisibilityKTable ,
2009-10-21 14:57:57 -07:00
offsetof ( nsStyleVisibility , mVisible ) ,
eStyleAnimType_EnumU8 ) // reflow for collapse
2009-07-15 17:24:24 -07:00
CSS_PROP_TEXT (
white - space ,
white_space ,
WhiteSpace ,
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_PARSE_VALUE |
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kWhitespaceKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_BACKENDONLY (
widows ,
widows ,
Widows ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-05-09 12:02:35 -07:00
CSS_PROPERTY_VALUE_AT_LEAST_ONE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HI ,
2012-07-30 07:20:58 -07:00
nullptr )
2009-07-15 17:24:24 -07:00
CSS_PROP_POSITION (
width ,
width ,
Width ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_STORES_CALC |
2013-09-23 06:28:55 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_AHKLP | VARIANT_CALC ,
2009-09-11 03:46:36 -07:00
kWidthKTable ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStylePosition , mWidth ) ,
eStyleAnimType_Coord )
2014-09-18 01:52:25 -07:00
CSS_PROP_USERINTERFACE (
- moz - window - dragging ,
_moz_window_dragging ,
CSS_PROP_DOMPROP_PREFIXED ( WindowDragging ) ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kWindowDraggingKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_UIRESET (
- moz - window - shadow ,
_moz_window_shadow ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( WindowShadow ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kWindowShadowKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2012-05-07 12:18:23 -07:00
CSS_PROP_TEXT (
word - break ,
word_break ,
WordBreak ,
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2012-05-07 12:18:23 -07:00
VARIANT_HK ,
kWordBreakKTable ,
offsetof ( nsStyleText , mWordBreak ) ,
eStyleAnimType_EnumU8 )
2009-07-15 17:24:24 -07:00
CSS_PROP_TEXT (
word - spacing ,
word_spacing ,
WordSpacing ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 02:25:52 -08:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2012-07-16 06:11:33 -07:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HL | VARIANT_NORMAL | VARIANT_CALC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleText , mWordSpacing ) ,
eStyleAnimType_nscoord )
2009-07-15 17:24:24 -07:00
CSS_PROP_TEXT (
word - wrap ,
word_wrap ,
WordWrap ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2012-05-07 12:18:23 -07:00
kWordWrapKTable ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2011-05-04 04:14:50 -07:00
CSS_PROP_TEXT (
- moz - hyphens ,
hyphens ,
CSS_PROP_DOMPROP_PREFIXED ( Hyphens ) ,
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-05-04 04:14:50 -07:00
VARIANT_HK ,
kHyphensKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2013-08-19 03:26:44 -07:00
CSS_PROP_VISIBILITY (
writing - mode ,
writing_mode ,
WritingMode ,
2015-02-16 03:59:31 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS ,
2013-08-19 03:26:44 -07:00
" layout.css.vertical-text.enabled " ,
VARIANT_HK ,
kWritingModeKTable ,
offsetof ( nsStyleVisibility , mWritingMode ) ,
eStyleAnimType_EnumU8 )
2009-07-15 17:24:24 -07:00
CSS_PROP_POSITION (
z - index ,
z_index ,
ZIndex ,
2014-02-05 20:50:22 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_CREATES_STACKING_CONTEXT ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_AHI ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-11-12 17:40:05 -08:00
offsetof ( nsStylePosition , mZIndex ) ,
eStyleAnimType_Coord )
2009-07-15 17:24:24 -07:00
CSS_PROP_XUL (
- moz - box - align ,
box_align ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( BoxAlign ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kBoxAlignKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // XXX bug 3935
2009-07-15 17:24:24 -07:00
CSS_PROP_XUL (
- moz - box - direction ,
box_direction ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( BoxDirection ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kBoxDirectionKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // XXX bug 3935
2009-07-15 17:24:24 -07:00
CSS_PROP_XUL (
- moz - box - flex ,
box_flex ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( BoxFlex ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HN ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-12-11 08:13:19 -08:00
offsetof ( nsStyleXUL , mBoxFlex ) ,
eStyleAnimType_float ) // XXX bug 3935
2009-07-15 17:24:24 -07:00
CSS_PROP_XUL (
- moz - box - orient ,
box_orient ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( BoxOrient ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kBoxOrientKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // XXX bug 3935
2009-07-15 17:24:24 -07:00
CSS_PROP_XUL (
- moz - box - pack ,
box_pack ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( BoxPack ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kBoxPackKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // XXX bug 3935
2009-07-15 17:24:24 -07:00
CSS_PROP_XUL (
- moz - box - ordinal - group ,
box_ordinal_group ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( BoxOrdinalGroup ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2011-06-12 18:52:32 -07:00
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HI ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_XUL (
- moz - stack - sizing ,
stack_sizing ,
2011-03-17 20:14:30 -07:00
CSS_PROP_DOMPROP_PREFIXED ( StackSizing ) ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kStackSizingKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2007-03-22 10:30:00 -07:00
2013-10-03 11:49:19 -07:00
# ifndef CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
2008-01-09 01:38:28 -08:00
# ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
2009-07-15 17:24:24 -07:00
CSS_PROP_FONT (
- moz - script - level ,
script_level ,
ScriptLevel ,
2011-05-09 12:02:34 -07:00
// REVIEW: no range restriction?
2011-05-09 12:02:35 -07:00
// NOTE: CSSParserImpl::ParseSingleValueProperty only accepts this
// property when mUnsafeRulesEnabled is set.
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2014-01-14 06:39:50 -08:00
// script-level can take Auto, Integer and Number values, but only Auto
// ("increment if parent is not in displaystyle") and Integer
2011-03-05 09:58:33 -08:00
// ("relative") values can be specified in a style sheet.
2014-01-14 06:39:50 -08:00
VARIANT_AHI ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_FONT (
- moz - script - size - multiplier ,
script_size_multiplier ,
ScriptSizeMultiplier ,
2011-05-09 12:02:34 -07:00
// REVIEW: no range restriction?
2011-05-09 12:02:35 -07:00
CSS_PROPERTY_PARSE_INACCESSIBLE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_FONT (
- moz - script - min - size ,
script_min_size ,
ScriptMinSize ,
2011-05-09 12:02:34 -07:00
// REVIEW: no range restriction?
2011-05-09 12:02:35 -07:00
CSS_PROPERTY_PARSE_INACCESSIBLE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2013-12-02 08:49:00 -08:00
CSS_PROP_FONT (
- moz - math - variant ,
math_variant ,
MathVariant ,
CSS_PROPERTY_PARSE_INACCESSIBLE ,
" " ,
VARIANT_HK ,
kMathVariantKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2014-01-14 06:39:50 -08:00
CSS_PROP_FONT (
- moz - math - display ,
math_display ,
MathDisplay ,
// NOTE: CSSParserImpl::ParseSingleValueProperty only accepts this
// property when mUnsafeRulesEnabled is set.
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kMathDisplayKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2013-10-03 11:49:19 -07:00
# endif // !defined(CSS_PROP_LIST_EXCLUDE_INTERNAL)
# endif // !defined(CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND)
2008-01-09 01:38:28 -08:00
2009-07-15 17:24:24 -07:00
CSS_PROP_SVGRESET (
clip - path ,
clip_path ,
ClipPath ,
2014-09-27 16:56:00 -07:00
CSS_PROPERTY_PARSE_FUNCTION |
2014-02-05 20:50:22 -08:00
CSS_PROPERTY_CREATES_STACKING_CONTEXT ,
2012-05-09 18:29:37 -07:00
" " ,
2014-09-27 16:56:00 -07:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
clip - rule ,
clip_rule ,
ClipRule ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kFillRuleKTable ,
2009-10-21 14:57:57 -07:00
offsetof ( nsStyleSVG , mClipRule ) ,
eStyleAnimType_EnumU8 )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
color - interpolation ,
color_interpolation ,
ColorInterpolation ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kColorInterpolationKTable ,
2009-10-21 14:57:57 -07:00
offsetof ( nsStyleSVG , mColorInterpolation ) ,
eStyleAnimType_EnumU8 )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
color - interpolation - filters ,
color_interpolation_filters ,
ColorInterpolationFilters ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kColorInterpolationKTable ,
2009-10-21 14:57:57 -07:00
offsetof ( nsStyleSVG , mColorInterpolationFilters ) ,
eStyleAnimType_EnumU8 )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVGRESET (
dominant - baseline ,
dominant_baseline ,
DominantBaseline ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kDominantBaselineKTable ,
2009-10-21 14:57:57 -07:00
offsetof ( nsStyleSVGReset , mDominantBaseline ) ,
eStyleAnimType_EnumU8 )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
fill ,
fill ,
Fill ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2013-05-15 19:35:15 -07:00
kContextPatternKTable ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleSVG , mFill ) ,
eStyleAnimType_PaintServer )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
fill - opacity ,
fill_opacity ,
FillOpacity ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2013-05-15 19:35:15 -07:00
VARIANT_HN | VARIANT_OPENTYPE_SVG_KEYWORD ,
kContextOpacityKTable ,
2009-10-08 18:30:49 -07:00
offsetof ( nsStyleSVG , mFillOpacity ) ,
eStyleAnimType_float )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
fill - rule ,
fill_rule ,
FillRule ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kFillRuleKTable ,
2009-10-21 14:57:57 -07:00
offsetof ( nsStyleSVG , mFillRule ) ,
eStyleAnimType_EnumU8 )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVGRESET (
filter ,
filter ,
Filter ,
2014-02-05 20:50:22 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_CREATES_STACKING_CONTEXT ,
2012-05-09 18:29:37 -07:00
" " ,
2013-07-22 15:08:33 -07:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
2013-09-11 15:24:03 -07:00
eStyleAnimType_Custom )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVGRESET (
flood - color ,
flood_color ,
FloodColor ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleSVGReset , mFloodColor ) ,
eStyleAnimType_Color )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVGRESET (
flood - opacity ,
flood_opacity ,
FloodOpacity ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HN ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-10-08 18:30:49 -07:00
offsetof ( nsStyleSVGReset , mFloodOpacity ) ,
eStyleAnimType_float )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
image - rendering ,
image_rendering ,
ImageRendering ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kImageRenderingKTable ,
2009-10-21 14:57:57 -07:00
offsetof ( nsStyleSVG , mImageRendering ) ,
eStyleAnimType_EnumU8 )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVGRESET (
lighting - color ,
lighting_color ,
LightingColor ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleSVGReset , mLightingColor ) ,
eStyleAnimType_Color )
2009-07-15 17:24:24 -07:00
CSS_PROP_SHORTHAND (
marker ,
marker ,
Marker ,
2012-05-09 18:29:37 -07:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
marker - end ,
marker_end ,
MarkerEnd ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HUO ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
marker - mid ,
marker_mid ,
MarkerMid ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HUO ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
marker - start ,
marker_start ,
MarkerStart ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HUO ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVGRESET (
mask ,
mask ,
Mask ,
2014-02-05 20:50:22 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_CREATES_STACKING_CONTEXT ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HUO ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2012-12-20 16:15:22 -08:00
CSS_PROP_SVGRESET (
mask - type ,
mask_type ,
MaskType ,
CSS_PROPERTY_PARSE_VALUE ,
" layout.css.masking.enabled " ,
VARIANT_HK ,
kMaskTypeKTable ,
offsetof ( nsStyleSVGReset , mMaskType ) ,
eStyleAnimType_EnumU8 )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
shape - rendering ,
shape_rendering ,
ShapeRendering ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kShapeRenderingKTable ,
2009-10-21 14:57:57 -07:00
offsetof ( nsStyleSVG , mShapeRendering ) ,
eStyleAnimType_EnumU8 )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVGRESET (
stop - color ,
stop_color ,
StopColor ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HC ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleSVGReset , mStopColor ) ,
eStyleAnimType_Color )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVGRESET (
stop - opacity ,
stop_opacity ,
StopOpacity ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HN ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-10-08 18:30:49 -07:00
offsetof ( nsStyleSVGReset , mStopOpacity ) ,
eStyleAnimType_float )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
stroke ,
stroke ,
Stroke ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2013-05-15 19:35:15 -07:00
kContextPatternKTable ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleSVG , mStroke ) ,
eStyleAnimType_PaintServer )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
stroke - dasharray ,
stroke_dasharray ,
StrokeDasharray ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_FUNCTION |
2014-07-03 12:05:43 -07:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
CSS_PROPERTY_NUMBERS_ARE_PIXELS ,
2011-05-09 12:02:34 -07:00
// NOTE: Internal values have range restrictions.
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2013-05-15 19:35:15 -07:00
kStrokeContextValueKTable ,
2009-10-21 07:17:40 -07:00
CSS_PROP_NO_OFFSET , /* property stored in 2 separate members */
eStyleAnimType_Custom )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
stroke - dashoffset ,
stroke_dashoffset ,
StrokeDashoffset ,
2014-07-03 12:05:43 -07:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_NUMBERS_ARE_PIXELS ,
2012-05-09 18:29:37 -07:00
" " ,
2013-05-15 19:35:15 -07:00
VARIANT_HLPN | VARIANT_OPENTYPE_SVG_KEYWORD ,
kStrokeContextValueKTable ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleSVG , mStrokeDashoffset ) ,
eStyleAnimType_Coord )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
stroke - linecap ,
stroke_linecap ,
StrokeLinecap ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kStrokeLinecapKTable ,
2009-10-21 14:57:57 -07:00
offsetof ( nsStyleSVG , mStrokeLinecap ) ,
eStyleAnimType_EnumU8 )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
stroke - linejoin ,
stroke_linejoin ,
StrokeLinejoin ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kStrokeLinejoinKTable ,
2009-10-21 14:57:57 -07:00
offsetof ( nsStyleSVG , mStrokeLinejoin ) ,
eStyleAnimType_EnumU8 )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
stroke - miterlimit ,
stroke_miterlimit ,
StrokeMiterlimit ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_AT_LEAST_ONE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HN ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-10-08 18:30:49 -07:00
offsetof ( nsStyleSVG , mStrokeMiterlimit ) ,
eStyleAnimType_float )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
stroke - opacity ,
stroke_opacity ,
StrokeOpacity ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2013-05-15 19:35:15 -07:00
VARIANT_HN | VARIANT_OPENTYPE_SVG_KEYWORD ,
kContextOpacityKTable ,
2009-10-08 18:30:49 -07:00
offsetof ( nsStyleSVG , mStrokeOpacity ) ,
eStyleAnimType_float )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
stroke - width ,
stroke_width ,
StrokeWidth ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE |
2014-07-03 12:05:43 -07:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_NUMBERS_ARE_PIXELS ,
2012-05-09 18:29:37 -07:00
" " ,
2013-05-15 19:35:15 -07:00
VARIANT_HLPN | VARIANT_OPENTYPE_SVG_KEYWORD ,
kStrokeContextValueKTable ,
2009-09-11 03:46:36 -07:00
offsetof ( nsStyleSVG , mStrokeWidth ) ,
eStyleAnimType_Coord )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
text - anchor ,
text_anchor ,
TextAnchor ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kTextAnchorKTable ,
2009-10-21 14:57:57 -07:00
offsetof ( nsStyleSVG , mTextAnchor ) ,
eStyleAnimType_EnumU8 )
2009-07-15 17:24:24 -07:00
CSS_PROP_SVG (
text - rendering ,
text_rendering ,
TextRendering ,
2011-03-05 09:58:33 -08:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
VARIANT_HK ,
2009-09-11 03:46:36 -07:00
kTextRenderingKTable ,
2009-10-21 14:57:57 -07:00
offsetof ( nsStyleSVG , mTextRendering ) ,
eStyleAnimType_EnumU8 )
2012-05-18 01:33:40 -07:00
CSS_PROP_SVGRESET (
vector - effect ,
vector_effect ,
VectorEffect ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kVectorEffectKTable ,
offsetof ( nsStyleSVGReset , mVectorEffect ) ,
eStyleAnimType_EnumU8 )
2007-03-22 10:30:00 -07:00
2015-03-19 21:12:17 -07:00
CSS_PROP_DISPLAY (
2013-11-22 08:48:27 -08:00
will - change ,
will_change ,
WillChange ,
CSS_PROPERTY_PARSE_FUNCTION |
2014-03-07 09:14:25 -08:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP ,
2013-11-22 08:48:27 -08:00
" layout.css.will-change.enabled " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2012-09-18 11:37:14 -07:00
// The shorthands below are essentially aliases, but they require different
// parsing rules, and are therefore implemented as shorthands.
CSS_PROP_SHORTHAND (
- moz - transform ,
_moz_transform ,
MozTransform ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_IS_ALIAS ,
2012-10-26 10:04:20 -07:00
" layout.css.prefixes.transforms " )
2012-09-18 11:37:14 -07:00
2013-10-03 11:49:19 -07:00
# ifndef CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
2011-03-17 20:14:31 -07:00
# ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
// We have a few properties that are in style structs but are not stored
// in style sheets (or nsCSS* structs). Some fields in these property
// definitions are bogus (e.g., they work for nsRuleData* offsets but
// not nsCSS* offsets). Callers that care about these bogus fields can
// define CSS_PROP_STUB_NOT_CSS to define a replacement for these
// entries.
# ifdef CSS_PROP_STUB_NOT_CSS
CSS_PROP_STUB_NOT_CSS
CSS_PROP_STUB_NOT_CSS
# else
2012-01-24 05:09:55 -08:00
CSS_PROP_FONT (
2011-03-17 20:14:31 -07:00
- x - lang ,
_x_lang ,
2011-03-05 09:58:33 -08:00
Lang ,
2011-03-17 20:14:31 -07:00
CSS_PROPERTY_PARSE_INACCESSIBLE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-15 17:24:24 -07:00
CSS_PROP_TABLE (
2011-03-17 20:14:31 -07:00
- x - span ,
_x_span ,
2011-03-05 09:58:33 -08:00
Span ,
2011-03-17 20:14:31 -07:00
CSS_PROPERTY_PARSE_INACCESSIBLE ,
2012-05-09 18:29:37 -07:00
" " ,
2011-03-05 09:58:33 -08:00
0 ,
2012-07-30 07:20:58 -07:00
nullptr ,
2009-09-11 03:46:36 -07:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2013-06-28 20:28:50 -07:00
CSS_PROP_FONT (
- x - text - zoom ,
_x_text_zoom ,
TextZoom ,
CSS_PROPERTY_PARSE_INACCESSIBLE ,
" " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2011-03-17 20:14:31 -07:00
# endif /* !defined(CSS_PROP_STUB_NOT_CSS) */
2013-10-03 11:49:19 -07:00
# endif /* !defined(CSS_PROP_LIST_EXCLUDE_INTERNAL) */
# endif /* !defined(CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND) */
2007-03-22 10:30:00 -07:00
# ifdef USED_CSS_PROP
# undef USED_CSS_PROP
# undef CSS_PROP_FONT
# undef CSS_PROP_COLOR
# undef CSS_PROP_BACKGROUND
# undef CSS_PROP_LIST
# undef CSS_PROP_POSITION
# undef CSS_PROP_TEXT
# undef CSS_PROP_TEXTRESET
# undef CSS_PROP_DISPLAY
# undef CSS_PROP_VISIBILITY
# undef CSS_PROP_CONTENT
# undef CSS_PROP_QUOTES
# undef CSS_PROP_USERINTERFACE
# undef CSS_PROP_UIRESET
# undef CSS_PROP_TABLE
# undef CSS_PROP_TABLEBORDER
# undef CSS_PROP_MARGIN
# undef CSS_PROP_PADDING
# undef CSS_PROP_BORDER
# undef CSS_PROP_OUTLINE
# undef CSS_PROP_XUL
# undef CSS_PROP_COLUMN
# undef CSS_PROP_SVG
# undef CSS_PROP_SVGRESET
2013-12-11 18:09:40 -08:00
# undef CSS_PROP_VARIABLES
2007-03-22 10:30:00 -07:00
# ifdef DEFINED_CSS_PROP_BACKENDONLY
# undef CSS_PROP_BACKENDONLY
# undef DEFINED_CSS_PROP_BACKENDONLY
# endif
# else /* !defined(USED_CSS_PROP) */
# ifdef DEFINED_CSS_PROP_FONT
# undef CSS_PROP_FONT
# undef DEFINED_CSS_PROP_FONT
# endif
# ifdef DEFINED_CSS_PROP_COLOR
# undef CSS_PROP_COLOR
# undef DEFINED_CSS_PROP_COLOR
# endif
# ifdef DEFINED_CSS_PROP_BACKGROUND
# undef CSS_PROP_BACKGROUND
# undef DEFINED_CSS_PROP_BACKGROUND
# endif
# ifdef DEFINED_CSS_PROP_LIST
# undef CSS_PROP_LIST
# undef DEFINED_CSS_PROP_LIST
# endif
# ifdef DEFINED_CSS_PROP_POSITION
# undef CSS_PROP_POSITION
# undef DEFINED_CSS_PROP_POSITION
# endif
# ifdef DEFINED_CSS_PROP_TEXT
# undef CSS_PROP_TEXT
# undef DEFINED_CSS_PROP_TETEXTRESETT
# endif
# ifdef DEFINED_CSS_PROP_TEXTRESET
# undef CSS_PROP_TEXTRESET
# undef DEFINED_CSS_PROP_TEDISPLAYTRESET
# endif
# ifdef DEFINED_CSS_PROP_DISPLAY
# undef CSS_PROP_DISPLAY
# undef DEFINED_CSS_PROP_DISPLAY
# endif
# ifdef DEFINED_CSS_PROP_VISIBILITY
# undef CSS_PROP_VISIBILITY
# undef DEFINED_CSS_PROP_VISIBILITY
# endif
# ifdef DEFINED_CSS_PROP_CONTENT
# undef CSS_PROP_CONTENT
# undef DEFINED_CSS_PROP_CONTENT
# endif
# ifdef DEFINED_CSS_PROP_QUOTES
# undef CSS_PROP_QUOTES
# undef DEFINED_CSS_PROP_QUOTES
# endif
# ifdef DEFINED_CSS_PROP_USERINTERFACE
# undef CSS_PROP_USERINTERFACE
# undef DEFINED_CSS_PROP_USERINTERFACE
# endif
# ifdef DEFINED_CSS_PROP_UIRESET
# undef CSS_PROP_UIRESET
# undef DEFINED_CSS_PROP_UIRESET
# endif
# ifdef DEFINED_CSS_PROP_TABLE
# undef CSS_PROP_TABLE
# undef DEFINED_CSS_PROP_TABLE
# endif
# ifdef DEFINED_CSS_PROP_TABLEBORDER
# undef CSS_PROP_TABLEBORDER
# undef DEFINED_CSS_PROP_TABLEBORDER
# endif
# ifdef DEFINED_CSS_PROP_MARGIN
# undef CSS_PROP_MARGIN
# undef DEFINED_CSS_PROP_MARGIN
# endif
# ifdef DEFINED_CSS_PROP_PADDING
# undef CSS_PROP_PADDING
# undef DEFINED_CSS_PROP_PADDING
# endif
# ifdef DEFINED_CSS_PROP_BORDER
# undef CSS_PROP_BORDER
# undef DEFINED_CSS_PROP_BORDER
# endif
# ifdef DEFINED_CSS_PROP_OUTLINE
# undef CSS_PROP_OUTLINE
# undef DEFINED_CSS_PROP_OUTLINE
# endif
# ifdef DEFINED_CSS_PROP_XUL
# undef CSS_PROP_XUL
# undef DEFINED_CSS_PROP_XUL
# endif
# ifdef DEFINED_CSS_PROP_COLUMN
# undef CSS_PROP_COLUMN
# undef DEFINED_CSS_PROP_COLUMN
# endif
# ifdef DEFINED_CSS_PROP_SVG
# undef CSS_PROP_SVG
# undef DEFINED_CSS_PROP_SVG
# endif
# ifdef DEFINED_CSS_PROP_SVGRESET
# undef CSS_PROP_SVGRESET
# undef DEFINED_CSS_PROP_SVGRESET
# endif
2013-12-11 18:09:40 -08:00
# ifdef DEFINED_CSS_PROP_VARIABLES
# undef CSS_PROP_VARIABLES
# undef DEFINED_CSS_PROP_VARIABLES
# endif
2007-03-22 10:30:00 -07:00
# ifdef DEFINED_CSS_PROP_BACKENDONLY
# undef CSS_PROP_BACKENDONLY
# undef DEFINED_CSS_PROP_BACKENDONLY
# endif
# endif /* !defined(USED_CSS_PROP) */
# ifdef DEFINED_CSS_PROP_SHORTHAND
# undef CSS_PROP_SHORTHAND
# undef DEFINED_CSS_PROP_SHORTHAND
# endif
2015-01-16 20:16:01 -08:00
# ifdef DEFINED_CSS_PROP_LOGICAL
# undef CSS_PROP_LOGICAL
# undef DEFINED_CSS_PROP_LOGICAL
# endif
2013-03-25 09:24:21 -07:00
2013-03-25 09:34:23 -07:00
# undef CSS_PROP_DOMPROP_PREFIXED