2001-09-25 05:32:19 +04:00
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2012-05-21 15:12:37 +04: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/. */
1999-07-18 04:32:32 +04:00
2006-03-25 08:47:31 +03:00
/*
* a list of all CSS properties with considerable data about them , for
* preprocessing
*/
1999-07-18 04:32:32 +04:00
/******
2003-06-08 02:14:42 +04:00
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 .
1999-07-18 04:32:32 +04:00
2015-01-17 07:16:01 +03:00
The arguments to CSS_PROP , CSS_PROP_LOGICAL and CSS_PROP_ * are :
1999-07-18 04:32:32 +04:00
2011-03-05 20:58:33 +03:00
- . ' name ' entries represent a CSS property name and * must * use only
2003-06-08 02:14:42 +04:00
lowercase characters .
1999-07-18 04:32:32 +04:00
2011-03-05 20:58:33 +03:00
- . ' id ' should be the same as ' name ' except that all hyphens ( ' - ' )
2012-05-05 13:00:04 +04: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
2016-08-17 04:37:48 +03:00
the nsCSSPropertyID enumeration defined in nsCSSProps . h .
1999-07-18 04:32:32 +04:00
2011-03-05 20:58:33 +03:00
- . ' method ' is designed to be as input for CSS2Properties and similar
2003-06-08 02:14:42 +04:00
callers . It must always be the same as ' name ' except it must use
2011-03-18 06:14:30 +03:00
InterCaps and all hyphens ( ' - ' ) must be removed . Callers using this
2013-03-25 20:24:21 +04: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 .
1999-07-18 04:32:32 +04:00
2013-11-22 20:48:27 +04:00
- . ' flags ' , a bitfield containing CSS_PROPERTY_ * flags .
2012-05-10 05:29:37 +04: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 20:58:33 +03:00
- . ' parsevariant ' , to be passed to ParseVariant in the parser .
2012-07-30 18:20:58 +04:00
- . ' kwtable ' , which is either nullptr or the name of the appropriate
2004-02-19 21:02:20 +03:00
keyword table member of class nsCSSProps , for use in
nsCSSProps : : LookupPropertyValue .
2015-01-17 07:43:20 +03: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-17 07:22:51 +03:00
2015-01-17 07:16:01 +03: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 14:46:36 +04:00
2015-10-20 08:22:34 +03:00
- . ' stylestructoffset_ ' gives the result of offsetof ( nsStyle * ,
member ) . Ignored ( and generally CSS_PROP_NO_OFFSET , or - 1 ) for
properties whose animtype_ is eStyleAnimType_None .
2009-09-11 14:46:36 +04:00
2015-10-20 08:22:34 +03:00
- . ' animtype_ ' gives the animation type ( see nsStyleAnimType ) of this
property .
2009-09-11 14:46:36 +04:00
2012-05-10 05:29:37 +04:00
CSS_PROP_SHORTHAND only takes 1 - 5.
2009-09-11 14:46:36 +04:00
2015-01-17 07:16:01 +03: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 .
2000-08-22 10:57:32 +04:00
* * * * * */
1999-07-18 04:32:32 +04:00
2002-09-26 07:46:50 +04:00
2003-06-08 02:14:42 +04:00
/*************************************************************************/
// All includers must explicitly define CSS_PROP_SHORTHAND if they
// want it.
# ifndef CSS_PROP_SHORTHAND
2012-05-10 05:29:37 +04:00
# define CSS_PROP_SHORTHAND(name_, id_, method_, flags_, pref_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_SHORTHAND
# endif
2013-03-25 20:24:21 +04:00
# define CSS_PROP_DOMPROP_PREFIXED(name_) \
CSS_PROP_PUBLIC_OR_PRIVATE ( Moz # # name_ , name_ )
2009-09-11 14:46:36 +04:00
# define CSS_PROP_NO_OFFSET (-1)
2003-06-08 02:14:42 +04:00
// Callers may define CSS_PROP_LIST_EXCLUDE_INTERNAL if they want to
// exclude internal properties that are not represented in the DOM (only
2015-09-22 08:58:20 +03:00
// the DOM style code defines this). All properties defined in an
// #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL section must have the
// CSS_PROPERTY_INTERNAL flag set.
2003-06-08 02:14:42 +04:00
2015-01-17 07:16:01 +03: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,
2015-07-03 05:22:56 +03:00
// such as margin-inline-start) when capturing properties to CSS_PROP.
2015-01-17 07:16:01 +03:00
//
// 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 22:49:19 +04: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-10 05:31:21 +04: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 22:49:19 +04:00
2003-06-08 02:14:42 +04:00
// A caller who wants all the properties can define the |CSS_PROP|
// macro.
# ifdef CSS_PROP
# define USED_CSS_PROP
2012-05-10 05:29:37 +04: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_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-12 06:09:40 +04: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_)
2016-04-12 08:52:42 +03:00
# define CSS_PROP_EFFECTS(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, Effects, stylestructoffset_, animtype_)
2003-06-08 02:14:42 +04:00
2015-01-17 07:16:01 +03: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-17 07:43:20 +03: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-17 07:16:01 +03: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-17 07:43:20 +03:00
# define CSS_PROP_LOGICAL(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, group_, struct_, stylestructoffset_, animtype_) /* nothing */
2015-01-17 07:16:01 +03:00
# endif
# define DEFINED_CSS_PROP_LOGICAL
# endif
2003-06-08 02:14:42 +04: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-17 07:16:01 +03: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
2003-06-08 02:14:42 +04:00
# ifndef CSS_PROP_FONT
2012-05-10 05:29:37 +04:00
# define CSS_PROP_FONT(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_FONT
# endif
# ifndef CSS_PROP_COLOR
2012-05-10 05:29:37 +04:00
# define CSS_PROP_COLOR(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_COLOR
# endif
# ifndef CSS_PROP_BACKGROUND
2012-05-10 05:29:37 +04:00
# define CSS_PROP_BACKGROUND(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_BACKGROUND
# endif
# ifndef CSS_PROP_LIST
2012-05-10 05:29:37 +04:00
# define CSS_PROP_LIST(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_LIST
# endif
# ifndef CSS_PROP_POSITION
2012-05-10 05:29:37 +04:00
# define CSS_PROP_POSITION(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_POSITION
# endif
# ifndef CSS_PROP_TEXT
2012-05-10 05:29:37 +04:00
# define CSS_PROP_TEXT(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_TEXT
# endif
# ifndef CSS_PROP_TEXTRESET
2012-05-10 05:29:37 +04:00
# define CSS_PROP_TEXTRESET(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_TEXTRESET
# endif
# ifndef CSS_PROP_DISPLAY
2012-05-10 05:29:37 +04:00
# define CSS_PROP_DISPLAY(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_DISPLAY
# endif
# ifndef CSS_PROP_VISIBILITY
2012-05-10 05:29:37 +04:00
# define CSS_PROP_VISIBILITY(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_VISIBILITY
# endif
# ifndef CSS_PROP_CONTENT
2012-05-10 05:29:37 +04:00
# define CSS_PROP_CONTENT(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_CONTENT
# endif
# ifndef CSS_PROP_USERINTERFACE
2012-05-10 05:29:37 +04:00
# define CSS_PROP_USERINTERFACE(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_USERINTERFACE
# endif
# ifndef CSS_PROP_UIRESET
2012-05-10 05:29:37 +04:00
# define CSS_PROP_UIRESET(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_UIRESET
# endif
# ifndef CSS_PROP_TABLE
2012-05-10 05:29:37 +04:00
# define CSS_PROP_TABLE(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_TABLE
# endif
# ifndef CSS_PROP_TABLEBORDER
2012-05-10 05:29:37 +04:00
# define CSS_PROP_TABLEBORDER(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_TABLEBORDER
# endif
# ifndef CSS_PROP_MARGIN
2012-05-10 05:29:37 +04:00
# define CSS_PROP_MARGIN(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_MARGIN
# endif
# ifndef CSS_PROP_PADDING
2012-05-10 05:29:37 +04:00
# define CSS_PROP_PADDING(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_PADDING
# endif
# ifndef CSS_PROP_BORDER
2012-05-10 05:29:37 +04:00
# define CSS_PROP_BORDER(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_BORDER
# endif
# ifndef CSS_PROP_OUTLINE
2012-05-10 05:29:37 +04:00
# define CSS_PROP_OUTLINE(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_OUTLINE
# endif
# ifndef CSS_PROP_XUL
2012-05-10 05:29:37 +04:00
# define CSS_PROP_XUL(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_XUL
# endif
2004-06-17 15:57:37 +04:00
# ifndef CSS_PROP_COLUMN
2012-05-10 05:29:37 +04:00
# define CSS_PROP_COLUMN(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2004-06-17 15:57:37 +04:00
# define DEFINED_CSS_PROP_COLUMN
# endif
2003-06-08 02:14:42 +04:00
# ifndef CSS_PROP_SVG
2012-05-10 05:29:37 +04:00
# define CSS_PROP_SVG(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
2003-06-08 02:14:42 +04:00
# define DEFINED_CSS_PROP_SVG
# endif
Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).
Not part of default build; code is #ifdef'ed out.
r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 15:39:26 +03:00
# ifndef CSS_PROP_SVGRESET
2012-05-10 05:29:37 +04:00
# define CSS_PROP_SVGRESET(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).
Not part of default build; code is #ifdef'ed out.
r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 15:39:26 +03:00
# define DEFINED_CSS_PROP_SVGRESET
# endif
2013-12-12 06:09:40 +04: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
2016-04-12 08:52:42 +03:00
# ifndef CSS_PROP_EFFECTS
# define CSS_PROP_EFFECTS(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, stylestructoffset_, animtype_) /* nothing */
# define DEFINED_CSS_PROP_EFFECTS
# endif
2003-06-08 02:14:42 +04:00
2015-01-17 07:16:01 +03:00
# ifndef CSS_PROP_LOGICAL
2015-01-17 07:43:20 +03:00
# define CSS_PROP_LOGICAL(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, group_, struct_, stylestructoffset_, animtype_) /* nothing */
2015-01-17 07:16:01 +03:00
# define DEFINED_CSS_PROP_LOGICAL
# endif
2003-06-08 02:14:42 +04:00
# endif /* !defined(CSS_PROP) */
/*************************************************************************/
2000-09-06 06:15:18 +04:00
// 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.
1999-07-18 04:32:32 +04:00
2008-12-12 21:59:03 +03: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 20:27:12 +04:00
// 'text-shadow' (see above) and 'box-shadow' (which is like the
2008-12-12 21:59:03 +03:00
// border properties).
2016-04-14 02:55:47 +03:00
// Please keep these sorted by property name, ignoring any "-moz-",
// "-webkit-" or "-x-" prefix.
CSS_PROP_POSITION (
align - content ,
align_content ,
AlignContent ,
CSS_PROPERTY_PARSE_FUNCTION ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2016-04-14 02:55:47 +03:00
kAutoCompletionAlignJustifyContent ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-08-16 08:29:21 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_POSITION (
align - items ,
align_items ,
AlignItems ,
2012-05-10 05:29:37 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " ,
2016-04-14 02:55:47 +03:00
VARIANT_HK ,
kAutoCompletionAlignItems ,
CSS_PROP_NO_OFFSET ,
2016-08-16 08:29:21 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_POSITION (
align - self ,
align_self ,
AlignSelf ,
CSS_PROPERTY_PARSE_FUNCTION ,
2012-05-10 05:29:37 +04:00
" " ,
2016-04-14 02:55:47 +03:00
VARIANT_HK ,
kAutoCompletionAlignJustifySelf ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-08-16 08:29:21 +03:00
eStyleAnimType_Discrete )
2013-10-03 22:49:19 +04:00
CSS_PROP_SHORTHAND (
all ,
all ,
All ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.all-shorthand.enabled " )
2011-04-12 10:18:42 +04:00
CSS_PROP_SHORTHAND (
animation ,
2012-07-09 05:25:10 +04:00
animation ,
Animation ,
2012-05-10 05:29:37 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2011-04-12 10:18:42 +04:00
CSS_PROP_DISPLAY (
2012-07-09 05:25:10 +04:00
animation - delay ,
2011-04-12 10:18:42 +04:00
animation_delay ,
2012-07-09 05:25:10 +04:00
AnimationDelay ,
2011-04-12 10:18:42 +04:00
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-10 05:29:37 +04:00
" " ,
2011-04-12 10:18:42 +04:00
VARIANT_TIME , // used by list parsing
2012-07-30 18:20:58 +04:00
nullptr ,
2011-04-12 10:18:42 +04:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
2012-07-09 05:25:10 +04:00
animation - direction ,
2011-04-12 10:18:42 +04:00
animation_direction ,
2012-07-09 05:25:10 +04:00
AnimationDirection ,
2011-04-12 10:18:42 +04:00
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-10 05:29:37 +04:00
" " ,
2011-04-12 10:18:42 +04:00
VARIANT_KEYWORD , // used by list parsing
kAnimationDirectionKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
2012-07-09 05:25:10 +04:00
animation - duration ,
2011-04-12 10:18:42 +04:00
animation_duration ,
2012-07-09 05:25:10 +04:00
AnimationDuration ,
2011-04-12 10:18:42 +04:00
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-10 05:29:37 +04:00
" " ,
2012-07-14 05:01:34 +04:00
VARIANT_TIME | VARIANT_NONNEGATIVE_DIMENSION , // used by list parsing
2012-07-30 18:20:58 +04:00
nullptr ,
2011-04-12 10:18:42 +04:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
2012-07-09 05:25:10 +04:00
animation - fill - mode ,
2011-04-12 10:18:42 +04:00
animation_fill_mode ,
2012-07-09 05:25:10 +04:00
AnimationFillMode ,
2011-04-12 10:18:42 +04:00
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-10 05:29:37 +04:00
" " ,
2011-04-12 10:18:42 +04:00
VARIANT_KEYWORD , // used by list parsing
kAnimationFillModeKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
2012-07-09 05:25:10 +04:00
animation - iteration - count ,
2011-04-12 10:18:42 +04:00
animation_iteration_count ,
2012-07-09 05:25:10 +04:00
AnimationIterationCount ,
2011-04-12 10:18:42 +04: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-10 05:29:37 +04:00
" " ,
2011-04-12 10:18:42 +04:00
VARIANT_KEYWORD | VARIANT_NUMBER , // used by list parsing
kAnimationIterationCountKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
2012-07-09 05:25:10 +04:00
animation - name ,
2011-04-12 10:18:42 +04:00
animation_name ,
2012-07-09 05:25:10 +04:00
AnimationName ,
2011-04-12 10:18:42 +04:00
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-10 05:29:37 +04:00
" " ,
2011-04-12 10:18:42 +04:00
// FIXME: The spec should say something about 'inherit' and 'initial'
// not being allowed.
2016-11-29 15:58:44 +03:00
VARIANT_NONE | VARIANT_IDENTIFIER_NO_INHERIT | VARIANT_STRING , // used by list parsing
2012-07-30 18:20:58 +04:00
nullptr ,
2011-04-12 10:18:42 +04:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
2012-07-09 05:25:10 +04:00
animation - play - state ,
2011-04-12 10:18:42 +04:00
animation_play_state ,
2012-07-09 05:25:10 +04:00
AnimationPlayState ,
2011-04-12 10:18:42 +04:00
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-10 05:29:37 +04:00
" " ,
2011-04-12 10:18:42 +04:00
VARIANT_KEYWORD , // used by list parsing
kAnimationPlayStateKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_DISPLAY (
2012-07-09 05:25:10 +04:00
animation - timing - function ,
2011-04-12 10:18:42 +04:00
animation_timing_function ,
2012-07-09 05:25:10 +04:00
AnimationTimingFunction ,
2011-04-12 10:18:42 +04:00
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-10 05:29:37 +04:00
" " ,
2011-04-12 10:18:42 +04:00
VARIANT_KEYWORD | VARIANT_TIMING_FUNCTION , // used by list parsing
kTransitionTimingFunctionKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2016-04-14 02:55:47 +03:00
CSS_PROP_DISPLAY (
- moz - appearance ,
2016-12-21 10:16:50 +03:00
_moz_appearance ,
2017-03-24 01:13:17 +03:00
MozAppearance ,
2017-03-24 01:13:18 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS_AND_CHROME ,
" layout.css.moz-appearance.enabled " ,
2017-03-24 01:13:17 +03:00
VARIANT_HK ,
kMozAppearanceKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
CSS_PROP_DISPLAY (
appearance ,
appearance ,
Appearance ,
2017-03-24 01:13:18 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS_AND_CHROME ,
2017-03-24 01:13:18 +03:00
" layout.css.appearance.enabled " , // also controls -webkit-appearance
2016-04-14 02:55:47 +03:00
VARIANT_HK ,
kAppearanceKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_DISPLAY (
backface - visibility ,
backface_visibility ,
BackfaceVisibility ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kBackfaceVisibilityKTable ,
offsetof ( nsStyleDisplay , mBackfaceVisibility ) ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_SHORTHAND (
background ,
background ,
Background ,
2012-05-10 05:29:37 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-07-16 04:24:24 +04:00
CSS_PROP_BACKGROUND (
background - attachment ,
background_attachment ,
BackgroundAttachment ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE_LIST |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2009-07-16 04:24:24 +04:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_KEYWORD , // used by list parsing
2016-01-28 08:27:00 +03:00
kImageLayerAttachmentKTable ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03: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 ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_BACKGROUND (
2010-06-09 05:44:33 +04:00
background - clip ,
background_clip ,
BackgroundClip ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE_LIST |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2009-07-16 04:24:24 +04:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_KEYWORD , // used by list parsing
2016-04-14 11:28:06 +03:00
kBackgroundClipKTable ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_BACKGROUND (
background - color ,
background_color ,
BackgroundColor ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED |
CSS_PROPERTY_HASHLESS_COLOR_QUIRK ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStyleBackground , mBackgroundColor ) ,
2016-12-29 18:03:29 +03:00
eStyleAnimType_ComplexColor )
2009-07-16 04:24:24 +04:00
CSS_PROP_BACKGROUND (
background - image ,
background_image ,
BackgroundImage ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE_LIST |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2009-07-16 04:24:24 +04:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
2009-11-15 06:16:59 +03:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED |
CSS_PROPERTY_START_IMAGE_LOADS ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_IMAGE , // used by list parsing
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_BACKGROUND (
2010-06-09 05:44:33 +04:00
background - origin ,
background_origin ,
BackgroundOrigin ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE_LIST |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2009-07-16 04:24:24 +04:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_KEYWORD , // used by list parsing
2016-10-19 10:48:47 +03:00
kBackgroundOriginKTable ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-29 21:12:10 +03:00
CSS_PROP_SHORTHAND (
2009-07-16 04:24:24 +04:00
background - position ,
background_position ,
BackgroundPosition ,
2016-04-29 21:12:10 +03:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
" " )
CSS_PROP_BACKGROUND (
background - position - x ,
background_position_x ,
BackgroundPositionX ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
CSS_PROPERTY_STORES_CALC ,
" " ,
0 ,
kImageLayerPositionKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Custom )
CSS_PROP_BACKGROUND (
background - position - y ,
background_position_y ,
BackgroundPositionY ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2010-09-15 19:11:26 +04:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
CSS_PROPERTY_STORES_CALC ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2016-01-28 08:27:00 +03:00
kImageLayerPositionKTable ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2009-12-22 00:46:25 +03:00
eStyleAnimType_Custom )
2009-07-16 04:24:24 +04:00
CSS_PROP_BACKGROUND (
background - repeat ,
background_repeat ,
BackgroundRepeat ,
2012-02-25 09:23:14 +04:00
CSS_PROPERTY_PARSE_FUNCTION |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2009-07-16 04:24:24 +04:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_KEYWORD , // used by list parsing
2016-01-28 08:27:00 +03:00
kImageLayerRepeatKTable ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-05-28 22:09:05 +04:00
CSS_PROP_BACKGROUND (
2010-06-09 05:44:33 +04:00
background - size ,
background_size ,
BackgroundSize ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2010-09-15 19:11:26 +04:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
2011-05-09 23:02:34 +04:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2010-09-15 19:11:26 +04:00
CSS_PROPERTY_STORES_CALC ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2016-01-28 08:27:00 +03:00
kImageLayerSizeKTable ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2009-12-22 00:46:25 +03:00
eStyleAnimType_Custom )
2009-07-16 04:24:24 +04:00
CSS_PROP_DISPLAY (
- moz - binding ,
2016-12-21 10:16:50 +03:00
_moz_binding ,
2011-03-18 06:14:30 +03:00
CSS_PROP_DOMPROP_PREFIXED ( Binding ) ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HUO ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None ) // XXX bug 3935
2015-01-17 07:50:09 +03: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 |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
2016-08-23 10:39:40 +03:00
" " ,
2015-06-25 01:40:38 +03:00
VARIANT_AHLP | VARIANT_CALC ,
nullptr ,
2015-01-17 07:50:09 +03:00
Size ,
Position ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-16 04:24:24 +04:00
CSS_PROP_SHORTHAND (
border ,
border ,
Border ,
2012-05-10 05:29:37 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2015-01-17 07:22:52 +03:00
CSS_PROP_SHORTHAND (
border - block - end ,
border_block_end ,
BorderBlockEnd ,
2016-08-23 10:39:40 +03:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2015-01-17 07:22:52 +03:00
CSS_PROP_LOGICAL (
border - block - end - color ,
border_block_end_color ,
BorderBlockEndColor ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE ,
2016-08-23 10:39:40 +03:00
" " ,
2016-09-29 10:47:22 +03:00
VARIANT_HC ,
nullptr ,
2015-01-17 07:43:20 +03:00
BorderColor ,
2015-01-17 07:22:52 +03: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 |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE ,
2016-08-23 10:39:40 +03:00
" " ,
2015-01-17 07:22:52 +03:00
VARIANT_HK ,
kBorderStyleKTable ,
2015-01-17 07:43:20 +03:00
BorderStyle ,
2015-01-17 07:22:52 +03: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 |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE ,
2016-08-23 10:39:40 +03:00
" " ,
2015-01-17 07:22:52 +03:00
VARIANT_HKL | VARIANT_CALC ,
kBorderWidthKTable ,
2015-01-17 07:43:20 +03:00
BorderWidth ,
2015-01-17 07:22:52 +03:00
Border ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2016-04-14 02:55:47 +03:00
CSS_PROP_SHORTHAND (
border - block - start ,
border_block_start ,
BorderBlockStart ,
2016-08-23 10:39:40 +03:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2015-01-17 07:22:52 +03:00
CSS_PROP_LOGICAL (
border - block - start - color ,
border_block_start_color ,
BorderBlockStartColor ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
2016-08-23 10:39:40 +03:00
" " ,
2016-09-29 10:47:22 +03:00
VARIANT_HC ,
nullptr ,
2015-01-17 07:43:20 +03:00
BorderColor ,
2015-01-17 07:22:52 +03: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 |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
2016-08-23 10:39:40 +03:00
" " ,
2015-01-17 07:22:52 +03:00
VARIANT_HK ,
kBorderStyleKTable ,
2015-01-17 07:43:20 +03:00
BorderStyle ,
2015-01-17 07:22:52 +03: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 |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
2016-08-23 10:39:40 +03:00
" " ,
2015-01-17 07:22:52 +03:00
VARIANT_HKL | VARIANT_CALC ,
kBorderWidthKTable ,
2015-01-17 07:43:20 +03:00
BorderWidth ,
2015-01-17 07:22:52 +03:00
Border ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-16 04:24:24 +04:00
CSS_PROP_SHORTHAND (
border - bottom ,
border_bottom ,
BorderBottom ,
2012-05-10 05:29:37 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-07-16 04:24:24 +04:00
CSS_PROP_BORDER (
border - bottom - color ,
border_bottom_color ,
BorderBottomColor ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED |
CSS_PROPERTY_HASHLESS_COLOR_QUIRK ,
2012-05-10 05:29:37 +04:00
" " ,
2016-09-29 10:47:22 +03:00
VARIANT_HC ,
nullptr ,
2016-09-27 13:16:35 +03:00
offsetof ( nsStyleBorder , mBorderBottomColor ) ,
eStyleAnimType_ComplexColor )
2009-07-16 04:24:24 +04:00
CSS_PROP_BORDER (
- moz - border - bottom - colors ,
2016-12-21 10:16:50 +03:00
_moz_border_bottom_colors ,
2011-03-18 06:14:30 +03:00
CSS_PROP_DOMPROP_PREFIXED ( BorderBottomColors ) ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2009-07-16 04:24:24 +04:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_BORDER (
border - bottom - left - radius ,
border_bottom_left_radius ,
BorderBottomLeftRadius ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_VALUE_NONNEGATIVE |
2016-10-03 13:14:20 +03:00
CSS_PROPERTY_STORES_CALC ,
2016-04-14 02:55:47 +03:00
" " ,
0 ,
nullptr ,
offsetof ( nsStyleBorder , mBorderRadius ) ,
eStyleAnimType_Corner_BottomLeft )
CSS_PROP_BORDER (
border - bottom - right - radius ,
border_bottom_right_radius ,
BorderBottomRightRadius ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_VALUE_NONNEGATIVE |
2016-10-03 13:14:20 +03:00
CSS_PROPERTY_STORES_CALC ,
2016-04-14 02:55:47 +03:00
" " ,
0 ,
nullptr ,
offsetof ( nsStyleBorder , mBorderRadius ) ,
eStyleAnimType_Corner_BottomRight )
2009-07-16 04:24:24 +04:00
CSS_PROP_BORDER (
border - bottom - style ,
border_bottom_style ,
BorderBottomStyle ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kBorderStyleKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete ) // on/off will need reflow
2009-07-16 04:24:24 +04:00
CSS_PROP_BORDER (
border - bottom - width ,
border_bottom_width ,
BorderBottomWidth ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HKL | VARIANT_CALC ,
2009-09-11 14:46:36 +04:00
kBorderWidthKTable ,
CSS_PROP_NO_OFFSET ,
2009-10-14 06:38:20 +04:00
eStyleAnimType_Custom )
2009-07-16 04:24:24 +04:00
CSS_PROP_TABLEBORDER (
border - collapse ,
border_collapse ,
BorderCollapse ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kBorderCollapseKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_SHORTHAND (
border - color ,
border_color ,
BorderColor ,
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_HASHLESS_COLOR_QUIRK ,
2012-05-10 05:29:37 +04:00
" " )
2011-12-23 03:34:45 +04:00
CSS_PROP_SHORTHAND (
2012-05-31 09:19:49 +04:00
border - image ,
2009-07-16 04:24:24 +04:00
border_image ,
2012-05-31 09:19:49 +04:00
BorderImage ,
2012-05-10 05:29:37 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2011-12-23 03:34:45 +04:00
CSS_PROP_BORDER (
2016-04-14 02:55:47 +03:00
border - image - outset ,
border_image_outset ,
BorderImageOutset ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-10 05:29:37 +04:00
" " ,
2016-04-14 02:55:47 +03:00
0 ,
2012-07-30 18:20:58 +04:00
nullptr ,
2011-12-23 03:34:45 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2011-12-23 03:34:45 +04:00
CSS_PROP_BORDER (
2016-04-14 02:55:47 +03:00
border - image - repeat ,
border_image_repeat ,
BorderImageRepeat ,
2011-12-23 03:34:45 +04:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-12-23 03:34:45 +04:00
0 ,
2016-04-14 02:55:47 +03:00
kBorderImageRepeatKTable ,
2011-12-23 03:34:45 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2011-12-23 03:34:45 +04:00
CSS_PROP_BORDER (
2016-04-14 02:55:47 +03:00
border - image - slice ,
border_image_slice ,
BorderImageSlice ,
2011-12-23 03:34:45 +04:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-12-23 03:34:45 +04:00
0 ,
2016-04-14 02:55:47 +03:00
kBorderImageSliceKTable ,
2011-12-23 03:34:45 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2011-12-23 03:34:45 +04:00
CSS_PROP_BORDER (
2016-04-14 02:55:47 +03:00
border - image - source ,
border_image_source ,
BorderImageSource ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_START_IMAGE_LOADS ,
2012-05-10 05:29:37 +04:00
" " ,
2016-04-14 02:55:47 +03:00
VARIANT_IMAGE | VARIANT_INHERIT ,
2012-07-30 18:20:58 +04:00
nullptr ,
2011-12-23 03:34:45 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2011-12-23 03:34:45 +04:00
CSS_PROP_BORDER (
2016-04-14 02:55:47 +03:00
border - image - width ,
border_image_width ,
BorderImageWidth ,
2011-12-23 03:34:45 +04:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2016-04-14 02:55:47 +03:00
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_SHORTHAND (
2015-07-03 05:22:56 +03:00
border - inline - end ,
border_inline_end ,
BorderInlineEnd ,
2012-05-10 05:29:37 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2015-01-17 07:16:02 +03:00
CSS_PROP_LOGICAL (
2015-07-03 05:22:56 +03:00
border - inline - end - color ,
border_inline_end_color ,
BorderInlineEndColor ,
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2015-01-17 07:22:51 +03:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_END_EDGE ,
2015-01-17 07:16:02 +03:00
" " ,
2016-09-29 10:47:22 +03:00
VARIANT_HC ,
nullptr ,
2015-01-17 07:43:20 +03:00
BorderColor ,
2015-01-17 07:16:02 +03:00
Border ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_LOGICAL (
2015-07-03 05:22:56 +03:00
border - inline - end - style ,
border_inline_end_style ,
BorderInlineEndStyle ,
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2015-01-17 07:22:51 +03:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_END_EDGE ,
2015-01-17 07:16:02 +03:00
" " ,
VARIANT_HK ,
kBorderStyleKTable ,
2015-01-17 07:43:20 +03:00
BorderStyle ,
2015-01-17 07:16:02 +03:00
Border ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_LOGICAL (
2015-07-03 05:22:56 +03:00
border - inline - end - width ,
border_inline_end_width ,
BorderInlineEndWidth ,
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-01-17 07:22:51 +03:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_END_EDGE ,
2015-01-17 07:16:02 +03:00
" " ,
VARIANT_HKL | VARIANT_CALC ,
kBorderWidthKTable ,
2015-01-17 07:43:20 +03:00
BorderWidth ,
2015-01-17 07:16:02 +03:00
Border ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2014-12-31 07:04:20 +03:00
CSS_PROP_SHORTHAND (
2015-07-03 05:22:56 +03:00
border - inline - start ,
border_inline_start ,
BorderInlineStart ,
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_PARSE_FUNCTION ,
2014-12-31 07:04:20 +03:00
" " )
2015-01-17 07:16:02 +03:00
CSS_PROP_LOGICAL (
2015-07-03 05:22:56 +03:00
border - inline - start - color ,
border_inline_start_color ,
BorderInlineStartColor ,
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_PARSE_VALUE |
2014-12-31 04:18:15 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_LOGICAL ,
2014-12-31 04:18:15 +03:00
" " ,
2016-09-29 10:47:22 +03:00
VARIANT_HC ,
nullptr ,
2015-01-17 07:43:20 +03:00
BorderColor ,
2015-01-17 07:16:02 +03:00
Border ,
2014-12-31 07:04:20 +03:00
CSS_PROP_NO_OFFSET ,
2015-01-17 07:16:02 +03:00
eStyleAnimType_None )
CSS_PROP_LOGICAL (
2015-07-03 05:22:56 +03:00
border - inline - start - style ,
border_inline_start_style ,
BorderInlineStartStyle ,
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_PARSE_VALUE |
2014-12-31 07:04:20 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_LOGICAL ,
2014-12-31 07:04:20 +03:00
" " ,
2015-01-17 07:16:02 +03:00
VARIANT_HK ,
kBorderStyleKTable ,
2015-01-17 07:43:20 +03:00
BorderStyle ,
2015-01-17 07:16:02 +03:00
Border ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_LOGICAL (
2015-07-03 05:22:56 +03:00
border - inline - start - width ,
border_inline_start_width ,
BorderInlineStartWidth ,
2015-01-17 07:16:02 +03:00
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-17 07:43:20 +03:00
BorderWidth ,
2015-01-17 07:16:02 +03:00
Border ,
2014-12-31 04:18:15 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2015-01-17 07:16:02 +03:00
CSS_PROP_SHORTHAND (
border - left ,
border_left ,
BorderLeft ,
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2014-12-31 07:04:20 +03:00
CSS_PROP_BORDER (
2015-01-17 07:16:02 +03:00
border - left - color ,
border_left_color ,
BorderLeftColor ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_HASHLESS_COLOR_QUIRK |
2014-12-31 04:18:15 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2014-12-31 07:04:20 +03:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2014-12-31 04:18:15 +03:00
" " ,
2016-09-29 10:47:22 +03:00
VARIANT_HC ,
nullptr ,
2016-09-27 13:16:35 +03:00
offsetof ( nsStyleBorder , mBorderLeftColor ) ,
eStyleAnimType_ComplexColor )
2014-12-31 07:04:20 +03:00
CSS_PROP_BORDER (
- moz - border - left - colors ,
2016-12-21 10:16:50 +03:00
_moz_border_left_colors ,
2014-12-31 07:04:20 +03:00
CSS_PROP_DOMPROP_PREFIXED ( BorderLeftColors ) ,
CSS_PROPERTY_PARSE_FUNCTION |
2014-12-31 04:18:15 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2014-12-31 07:04:20 +03:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2014-12-31 04:18:15 +03:00
" " ,
2014-12-31 07:04:20 +03:00
0 ,
nullptr ,
2014-12-31 04:18:15 +03:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2015-01-17 07:16:02 +03:00
CSS_PROP_BORDER (
2014-12-31 07:04:20 +03:00
border - left - style ,
border_left_style ,
BorderLeftStyle ,
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-10 05:29:37 +04:00
" " ,
2015-01-17 07:16:02 +03:00
VARIANT_HK ,
2014-12-31 07:04:20 +03:00
kBorderStyleKTable ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2014-12-31 07:04:20 +03:00
CSS_PROP_BORDER (
border - left - width ,
border_left_width ,
BorderLeftWidth ,
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_PARSE_VALUE |
2014-12-31 07:04:20 +03:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2014-12-31 04:18:15 +03:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2014-12-31 04:18:15 +03:00
" " ,
VARIANT_HKL | VARIANT_CALC ,
kBorderWidthKTable ,
2014-12-31 07:04:20 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Custom )
2016-04-14 02:55:47 +03:00
CSS_PROP_SHORTHAND (
border - radius ,
border_radius ,
BorderRadius ,
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2014-12-31 04:18:15 +03:00
CSS_PROP_SHORTHAND (
2014-12-31 07:04:20 +03:00
border - right ,
border_right ,
BorderRight ,
2014-12-31 04:18:15 +03:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2015-01-17 07:16:02 +03:00
CSS_PROP_BORDER (
2014-12-31 07:04:20 +03:00
border - right - color ,
border_right_color ,
BorderRightColor ,
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_HASHLESS_COLOR_QUIRK |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2012-05-10 05:29:37 +04:00
" " ,
2016-09-29 10:47:22 +03:00
VARIANT_HC ,
nullptr ,
2016-09-27 13:16:35 +03:00
offsetof ( nsStyleBorder , mBorderRightColor ) ,
eStyleAnimType_ComplexColor )
2014-12-31 07:04:20 +03:00
CSS_PROP_BORDER (
- moz - border - right - colors ,
2016-12-21 10:16:50 +03:00
_moz_border_right_colors ,
2014-12-31 07:04:20 +03:00
CSS_PROP_DOMPROP_PREFIXED ( BorderRightColors ) ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2009-07-16 04:24:24 +04:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2015-01-17 07:16:02 +03:00
CSS_PROP_BORDER (
2014-12-31 07:04:20 +03:00
border - right - style ,
border_right_style ,
BorderRightStyle ,
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-10 05:29:37 +04:00
" " ,
2015-01-17 07:16:02 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kBorderStyleKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_BORDER (
2014-12-31 07:04:20 +03:00
border - right - width ,
border_right_width ,
BorderRightWidth ,
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HKL | VARIANT_CALC ,
2009-09-11 14:46:36 +04:00
kBorderWidthKTable ,
CSS_PROP_NO_OFFSET ,
2009-10-14 06:38:20 +04:00
eStyleAnimType_Custom )
2014-12-31 07:04:20 +03:00
CSS_PROP_TABLEBORDER (
border - spacing ,
border_spacing ,
BorderSpacing ,
CSS_PROPERTY_PARSE_FUNCTION |
2015-01-08 19:57:09 +03:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2014-12-31 07:04:20 +03:00
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2014-12-31 07:04:20 +03:00
eStyleAnimType_Custom )
2009-07-16 04:24:24 +04:00
CSS_PROP_SHORTHAND (
border - style ,
border_style ,
BorderStyle ,
2012-05-10 05:29:37 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " ) // on/off will need reflow
2009-07-16 04:24:24 +04:00
CSS_PROP_SHORTHAND (
border - top ,
border_top ,
BorderTop ,
2012-05-10 05:29:37 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-07-16 04:24:24 +04:00
CSS_PROP_BORDER (
border - top - color ,
border_top_color ,
BorderTopColor ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED |
CSS_PROPERTY_HASHLESS_COLOR_QUIRK ,
2012-05-10 05:29:37 +04:00
" " ,
2016-09-29 10:47:22 +03:00
VARIANT_HC ,
nullptr ,
2016-09-27 13:16:35 +03:00
offsetof ( nsStyleBorder , mBorderTopColor ) ,
eStyleAnimType_ComplexColor )
2009-07-16 04:24:24 +04:00
CSS_PROP_BORDER (
- moz - border - top - colors ,
2016-12-21 10:16:50 +03:00
_moz_border_top_colors ,
2011-03-18 06:14:30 +03:00
CSS_PROP_DOMPROP_PREFIXED ( BorderTopColors ) ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2009-07-16 04:24:24 +04:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2010-09-09 19:21:48 +04:00
CSS_PROP_BORDER (
border - top - left - radius ,
border_top_left_radius ,
BorderTopLeftRadius ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2011-05-09 23:02:34 +04:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2016-10-03 13:14:20 +03:00
CSS_PROPERTY_STORES_CALC ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2012-07-30 18:20:58 +04:00
nullptr ,
2010-09-09 19:21:48 +04:00
offsetof ( nsStyleBorder , mBorderRadius ) ,
eStyleAnimType_Corner_TopLeft )
CSS_PROP_BORDER (
border - top - right - radius ,
border_top_right_radius ,
BorderTopRightRadius ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2011-05-09 23:02:34 +04:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2016-10-03 13:14:20 +03:00
CSS_PROPERTY_STORES_CALC ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2012-07-30 18:20:58 +04:00
nullptr ,
2010-09-09 19:21:48 +04:00
offsetof ( nsStyleBorder , mBorderRadius ) ,
eStyleAnimType_Corner_TopRight )
CSS_PROP_BORDER (
2016-04-14 02:55:47 +03:00
border - top - style ,
border_top_style ,
BorderTopStyle ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-10 05:29:37 +04:00
" " ,
2016-04-14 02:55:47 +03:00
VARIANT_HK ,
kBorderStyleKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete ) // on/off will need reflow
2010-09-09 19:21:48 +04:00
CSS_PROP_BORDER (
2016-04-14 02:55:47 +03:00
border - top - width ,
border_top_width ,
BorderTopWidth ,
CSS_PROPERTY_PARSE_VALUE |
2011-05-09 23:02:34 +04:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2016-04-14 02:55:47 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-10 05:29:37 +04:00
" " ,
2016-04-14 02:55:47 +03:00
VARIANT_HKL | VARIANT_CALC ,
kBorderWidthKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Custom )
CSS_PROP_SHORTHAND (
border - width ,
border_width ,
BorderWidth ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
" " )
2009-07-16 04:24:24 +04:00
CSS_PROP_POSITION (
bottom ,
bottom ,
Bottom ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2012-08-21 06:23:31 +04:00
CSS_PROPERTY_STORES_CALC |
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_AHLP | VARIANT_CALC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStylePosition , mOffset ) ,
eStyleAnimType_Sides_Bottom )
2016-04-14 02:55:47 +03:00
CSS_PROP_XUL (
- moz - box - align ,
2016-12-21 10:16:50 +03:00
_moz_box_align ,
2016-04-14 02:55:47 +03:00
CSS_PROP_DOMPROP_PREFIXED ( BoxAlign ) ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kBoxAlignKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete ) // XXX bug 3935
2014-05-05 21:55:53 +04: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 ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_XUL (
- moz - box - direction ,
2016-12-21 10:16:50 +03:00
_moz_box_direction ,
2016-04-14 02:55:47 +03:00
CSS_PROP_DOMPROP_PREFIXED ( BoxDirection ) ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kBoxDirectionKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete ) // XXX bug 3935
2016-04-14 02:55:47 +03:00
CSS_PROP_XUL (
- moz - box - flex ,
2016-12-21 10:16:50 +03:00
_moz_box_flex ,
2016-04-14 02:55:47 +03:00
CSS_PROP_DOMPROP_PREFIXED ( BoxFlex ) ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
" " ,
VARIANT_HN ,
nullptr ,
offsetof ( nsStyleXUL , mBoxFlex ) ,
eStyleAnimType_float ) // XXX bug 3935
CSS_PROP_XUL (
- moz - box - ordinal - group ,
2016-12-21 10:16:50 +03:00
_moz_box_ordinal_group ,
2016-04-14 02:55:47 +03:00
CSS_PROP_DOMPROP_PREFIXED ( BoxOrdinalGroup ) ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
" " ,
VARIANT_HI ,
nullptr ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_XUL (
- moz - box - orient ,
2016-12-21 10:16:50 +03:00
_moz_box_orient ,
2016-04-14 02:55:47 +03:00
CSS_PROP_DOMPROP_PREFIXED ( BoxOrient ) ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kBoxOrientKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete ) // XXX bug 3935
2016-04-14 02:55:47 +03:00
CSS_PROP_XUL (
- moz - box - pack ,
2016-12-21 10:16:50 +03:00
_moz_box_pack ,
2016-04-14 02:55:47 +03:00
CSS_PROP_DOMPROP_PREFIXED ( BoxPack ) ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kBoxPackKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete ) // XXX bug 3935
2016-04-12 08:52:42 +03:00
CSS_PROP_EFFECTS (
2010-09-11 20:27:12 +04:00
box - shadow ,
2009-07-16 04:24:24 +04:00
box_shadow ,
2010-09-11 20:27:13 +04:00
BoxShadow ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2009-07-20 15:04:42 +04:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2011-05-09 23:02:34 +04:00
// NOTE: some components must be nonnegative
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2009-09-11 14:46:36 +04:00
kBoxShadowTypeKTable ,
2016-04-12 08:52:42 +03:00
offsetof ( nsStyleEffects , mBoxShadow ) ,
2009-10-21 14:53:46 +04:00
eStyleAnimType_Shadow )
2009-07-16 04:24:24 +04:00
CSS_PROP_POSITION (
2014-01-18 04:13:22 +04:00
box - sizing ,
2009-07-16 04:24:24 +04:00
box_sizing ,
2014-01-18 04:13:22 +04:00
BoxSizing ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kBoxSizingKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_TABLEBORDER (
caption - side ,
caption_side ,
CaptionSide ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kCaptionSideKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-12-22 03:04:15 +03:00
CSS_PROP_USERINTERFACE (
caret - color ,
caret_color ,
CaretColor ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
" " ,
VARIANT_AUTO | VARIANT_HC ,
nullptr ,
offsetof ( nsStyleUserInterface , mCaretColor ) ,
eStyleAnimType_ComplexColor )
2009-07-16 04:24:24 +04:00
CSS_PROP_DISPLAY (
clear ,
clear ,
Clear ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kClearKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-12 08:52:42 +03:00
CSS_PROP_EFFECTS (
2009-07-16 04:24:24 +04:00
clip ,
clip ,
Clip ,
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2012-07-30 18:20:58 +04:00
nullptr ,
2016-04-12 08:52:42 +03:00
offsetof ( nsStyleEffects , mClip ) ,
2009-12-22 00:46:25 +03:00
eStyleAnimType_Custom )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVGRESET (
clip - path ,
clip_path ,
ClipPath ,
2016-08-23 12:27:07 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
2016-09-20 21:05:43 +03:00
CSS_PROPERTY_CREATES_STACKING_CONTEXT |
CSS_PROPERTY_STORES_CALC ,
2016-04-14 02:55:47 +03:00
" " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
2016-04-19 01:04:20 +03:00
eStyleAnimType_Custom )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVG (
clip - rule ,
clip_rule ,
ClipRule ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kFillRuleKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_COLOR (
color ,
color ,
Color ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED |
CSS_PROPERTY_HASHLESS_COLOR_QUIRK ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStyleColor , mColor ) ,
eStyleAnimType_Color )
2016-03-08 20:25:24 +03:00
CSS_PROP_VISIBILITY (
color - adjust ,
color_adjust ,
ColorAdjust ,
CSS_PROPERTY_PARSE_VALUE ,
" layout.css.color-adjust.enabled " ,
VARIANT_HK ,
kColorAdjustKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVG (
color - interpolation ,
color_interpolation ,
ColorInterpolation ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kColorInterpolationKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVG (
color - interpolation - filters ,
color_interpolation_filters ,
ColorInterpolationFilters ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kColorInterpolationKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_COLUMN (
2016-10-10 23:16:57 +03:00
column - count ,
2016-08-31 03:21:03 +03:00
column_count ,
2016-10-10 23:16:57 +03:00
ColumnCount ,
2011-03-05 20:58:33 +03: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 23:02:35 +04:00
CSS_PROPERTY_VALUE_AT_LEAST_ONE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_AHI ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-12-11 19:13:19 +03:00
offsetof ( nsStyleColumn , mColumnCount ) ,
eStyleAnimType_Custom )
2012-07-31 20:21:19 +04:00
CSS_PROP_COLUMN (
2016-10-10 23:16:57 +03:00
column - fill ,
2016-08-31 03:21:03 +03:00
column_fill ,
2016-10-10 23:16:57 +03:00
ColumnFill ,
2012-07-31 20:21:19 +04:00
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kColumnFillKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_COLUMN (
2016-10-10 23:16:57 +03:00
column - gap ,
2016-08-31 03:21:03 +03:00
column_gap ,
2016-10-10 23:16:57 +03:00
ColumnGap ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HL | VARIANT_NORMAL | VARIANT_CALC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStyleColumn , mColumnGap ) ,
eStyleAnimType_Coord )
2009-07-16 04:24:24 +04:00
CSS_PROP_SHORTHAND (
2016-10-10 23:16:57 +03:00
column - rule ,
2016-08-31 03:21:03 +03:00
column_rule ,
2016-10-10 23:16:57 +03:00
ColumnRule ,
2012-05-10 05:29:37 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-07-16 04:24:24 +04:00
CSS_PROP_COLUMN (
2016-10-10 23:16:57 +03:00
column - rule - color ,
2016-08-31 03:21:03 +03:00
column_rule_color ,
2016-10-10 23:16:57 +03:00
ColumnRuleColor ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2012-05-10 05:29:37 +04:00
" " ,
2016-09-29 10:47:22 +03:00
VARIANT_HC ,
nullptr ,
2016-09-27 13:12:08 +03:00
offsetof ( nsStyleColumn , mColumnRuleColor ) ,
eStyleAnimType_ComplexColor )
2009-07-16 04:24:24 +04:00
CSS_PROP_COLUMN (
2016-10-10 23:16:57 +03:00
column - rule - style ,
2016-08-31 03:21:03 +03:00
column_rule_style ,
2016-10-10 23:16:57 +03:00
ColumnRuleStyle ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kBorderStyleKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_COLUMN (
2016-10-10 23:16:57 +03:00
column - rule - width ,
2016-08-31 03:21:03 +03:00
column_rule_width ,
2016-10-10 23:16:57 +03:00
ColumnRuleWidth ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HKL | VARIANT_CALC ,
2009-09-11 14:46:36 +04:00
kBorderWidthKTable ,
CSS_PROP_NO_OFFSET ,
2009-12-11 19:13:19 +03:00
eStyleAnimType_Custom )
2017-02-14 03:57:33 +03:00
CSS_PROP_COLUMN (
column - span ,
column_span ,
ColumnSpan ,
CSS_PROPERTY_PARSE_VALUE ,
" layout.css.column-span.enabled " ,
VARIANT_HK ,
kColumnSpanKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_COLUMN (
2016-10-10 23:16:57 +03:00
column - width ,
2016-08-31 03:21:03 +03:00
column_width ,
2016-10-10 23:16:57 +03:00
ColumnWidth ,
2016-04-14 02:55:47 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
" " ,
VARIANT_AHL | VARIANT_CALC ,
nullptr ,
offsetof ( nsStyleColumn , mColumnWidth ) ,
eStyleAnimType_Coord )
CSS_PROP_SHORTHAND (
2016-08-31 03:21:03 +03:00
columns ,
2016-10-10 23:16:57 +03:00
columns ,
Columns ,
2016-04-14 02:55:47 +03:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2015-06-04 17:38:00 +03:00
CSS_PROP_DISPLAY (
contain ,
contain ,
Contain ,
CSS_PROPERTY_PARSE_VALUE |
2015-12-01 02:46:44 +03:00
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_FIXPOS_CB ,
2015-06-04 17:38:00 +03:00
" layout.css.contain.enabled " ,
// Does not affect parsing, but is needed for tab completion in devtools:
VARIANT_HK | VARIANT_NONE ,
kContainKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_CONTENT (
content ,
content ,
Content ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_START_IMAGE_LOADS ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2009-09-11 14:46:36 +04:00
kContentKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2014-02-05 14:08:48 +04:00
# ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
CSS_PROP_TEXT (
- moz - control - character - visibility ,
_moz_control_character_visibility ,
CSS_PROP_DOMPROP_PREFIXED ( ControlCharacterVisibility ) ,
2015-09-22 08:58:20 +03:00
CSS_PROPERTY_INTERNAL |
CSS_PROPERTY_PARSE_VALUE ,
2014-02-05 14:08:48 +04:00
" " ,
VARIANT_HK ,
kControlCharacterVisibilityKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2016-04-14 02:55:47 +03:00
# endif // CSS_PROP_LIST_EXCLUDE_INTERNAL
2009-07-16 04:24:24 +04:00
CSS_PROP_CONTENT (
counter - increment ,
counter_increment ,
CounterIncrement ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_FUNCTION ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete ) // XXX bug 137285
2009-07-16 04:24:24 +04:00
CSS_PROP_CONTENT (
counter - reset ,
counter_reset ,
CounterReset ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_FUNCTION ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete ) // XXX bug 137285
2009-07-16 04:24:24 +04:00
CSS_PROP_USERINTERFACE (
cursor ,
cursor ,
Cursor ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
2009-11-15 06:16:59 +03:00
CSS_PROPERTY_START_IMAGE_LOADS |
CSS_PROPERTY_IMAGE_IS_IN_ARRAY_0 ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2009-09-11 14:46:36 +04:00
kCursorKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2013-10-03 22:49:19 +04:00
# ifndef CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
2009-07-16 04:24:24 +04:00
CSS_PROP_VISIBILITY (
direction ,
direction ,
Direction ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kDirectionKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2013-10-03 22:49:19 +04:00
# endif // !defined(CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND)
2009-07-16 04:24:24 +04:00
CSS_PROP_DISPLAY (
display ,
display ,
Display ,
2012-11-09 14:25:52 +04: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-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kDisplayKTable ,
2009-10-22 01:57:57 +04:00
offsetof ( nsStyleDisplay , mDisplay ) ,
2016-04-15 07:18:12 +03:00
eStyleAnimType_None )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVGRESET (
dominant - baseline ,
dominant_baseline ,
DominantBaseline ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kDominantBaselineKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_TABLEBORDER (
empty - cells ,
empty_cells ,
EmptyCells ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kEmptyCellsKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVG (
fill ,
fill ,
Fill ,
2015-11-03 17:18:06 +03:00
CSS_PROPERTY_PARSE_FUNCTION ,
2013-12-05 22:57:50 +04:00
" " ,
2016-04-14 02:55:47 +03:00
0 ,
kContextPatternKTable ,
offsetof ( nsStyleSVG , mFill ) ,
eStyleAnimType_PaintServer )
CSS_PROP_SVG (
fill - opacity ,
fill_opacity ,
FillOpacity ,
CSS_PROPERTY_PARSE_VALUE ,
2013-11-09 19:53:14 +04:00
" " ,
2016-04-14 02:55:47 +03:00
VARIANT_HN | VARIANT_OPENTYPE_SVG_KEYWORD ,
kContextOpacityKTable ,
offsetof ( nsStyleSVG , mFillOpacity ) ,
eStyleAnimType_float )
CSS_PROP_SVG (
fill - rule ,
fill_rule ,
FillRule ,
CSS_PROPERTY_PARSE_VALUE ,
2013-11-09 19:53:14 +04:00
" " ,
2016-02-08 19:35:01 +03:00
VARIANT_HK ,
2016-04-14 02:55:47 +03:00
kFillRuleKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_EFFECTS (
filter ,
filter ,
Filter ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_CREATES_STACKING_CONTEXT |
CSS_PROPERTY_FIXPOS_CB ,
" " ,
0 ,
nullptr ,
2015-11-03 17:18:06 +03:00
CSS_PROP_NO_OFFSET ,
2016-04-14 02:55:47 +03:00
eStyleAnimType_Custom )
2012-07-07 04:06:23 +04:00
CSS_PROP_SHORTHAND (
flex ,
2012-10-15 23:42:43 +04:00
flex ,
Flex ,
2012-07-07 04:06:23 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
2013-11-09 19:53:14 +04:00
" " )
2012-07-07 04:06:23 +04:00
CSS_PROP_POSITION (
2012-10-15 23:42:43 +04:00
flex - basis ,
2012-07-07 04:06:23 +04:00
flex_basis ,
2012-10-15 23:42:43 +04:00
FlexBasis ,
2012-07-07 04:06:23 +04:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_STORES_CALC ,
2013-11-09 19:53:14 +04:00
" " ,
2012-07-07 04:06:23 +04: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-07 04:06:23 +04:00
VARIANT_AHKLP | VARIANT_CALC ,
2014-11-26 02:40:24 +03:00
kWidthKTable ,
2012-07-07 04:06:23 +04:00
offsetof ( nsStylePosition , mFlexBasis ) ,
eStyleAnimType_Coord )
2012-07-07 04:06:20 +04:00
CSS_PROP_POSITION (
2012-10-15 23:42:43 +04:00
flex - direction ,
2012-07-07 04:06:20 +04:00
flex_direction ,
2012-10-15 23:42:43 +04:00
FlexDirection ,
2012-07-07 04:06:20 +04:00
CSS_PROPERTY_PARSE_VALUE ,
2013-11-09 19:53:14 +04:00
" " ,
2012-07-07 04:06:20 +04:00
VARIANT_HK ,
kFlexDirectionKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2013-12-05 22:57:51 +04:00
CSS_PROP_SHORTHAND (
flex - flow ,
flex_flow ,
FlexFlow ,
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2012-07-07 04:06:22 +04:00
CSS_PROP_POSITION (
2012-10-15 23:42:43 +04:00
flex - grow ,
2012-07-07 04:06:22 +04:00
flex_grow ,
2012-10-15 23:42:43 +04:00
FlexGrow ,
2012-07-07 04:06:22 +04:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2013-11-09 19:53:14 +04:00
" " ,
2012-07-07 04:06:23 +04: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-07 04:06:22 +04:00
VARIANT_HN ,
2012-07-30 18:20:58 +04:00
nullptr ,
2012-07-07 04:06:22 +04:00
offsetof ( nsStylePosition , mFlexGrow ) ,
2014-05-04 20:12:32 +04:00
eStyleAnimType_float )
2012-07-07 04:06:22 +04:00
CSS_PROP_POSITION (
2012-10-15 23:42:43 +04:00
flex - shrink ,
2012-07-07 04:06:22 +04:00
flex_shrink ,
2012-10-15 23:42:43 +04:00
FlexShrink ,
2012-07-07 04:06:22 +04:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2013-11-09 19:53:14 +04:00
" " ,
2012-07-07 04:06:23 +04: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-07 04:06:22 +04:00
VARIANT_HN ,
2012-07-30 18:20:58 +04:00
nullptr ,
2012-07-07 04:06:22 +04:00
offsetof ( nsStylePosition , mFlexShrink ) ,
2014-05-04 20:12:32 +04:00
eStyleAnimType_float )
2013-12-05 22:57:50 +04:00
CSS_PROP_POSITION (
flex - wrap ,
flex_wrap ,
FlexWrap ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kFlexWrapKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_DISPLAY (
float ,
2016-11-03 06:41:02 +03:00
float_ ,
2013-03-25 20:24:21 +04:00
CSS_PROP_PUBLIC_OR_PRIVATE ( CssFloat , Float ) ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kFloatKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_BORDER (
- moz - float - edge ,
2016-12-21 10:16:50 +03:00
_moz_float_edge ,
2011-03-18 06:14:30 +03:00
CSS_PROP_DOMPROP_PREFIXED ( FloatEdge ) ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kFloatEdgeKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete ) // XXX bug 3935
2016-04-14 02:55:47 +03:00
CSS_PROP_SVGRESET (
flood - color ,
flood_color ,
FloodColor ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HC ,
nullptr ,
offsetof ( nsStyleSVGReset , mFloodColor ) ,
eStyleAnimType_Color )
CSS_PROP_SVGRESET (
flood - opacity ,
flood_opacity ,
FloodOpacity ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HN ,
nullptr ,
offsetof ( nsStyleSVGReset , mFloodOpacity ) ,
eStyleAnimType_float )
2009-07-16 04:24:24 +04:00
CSS_PROP_SHORTHAND (
font ,
font ,
Font ,
2012-05-10 05:29:37 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-07-16 04:24:24 +04:00
CSS_PROP_FONT (
font - family ,
font_family ,
FontFamily ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2010-07-14 00:30:42 +04:00
CSS_PROP_FONT (
2014-08-20 11:54:35 +04:00
font - feature - settings ,
2010-07-14 00:30:42 +04:00
font_feature_settings ,
2014-08-20 11:54:35 +04:00
FontFeatureSettings ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2012-04-26 10:24:26 +04:00
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-10 05:29:37 +04:00
" " ,
2012-04-26 10:24:26 +04:00
0 ,
2012-07-30 18:20:58 +04:00
nullptr ,
2010-07-14 00:30:42 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2013-05-20 06:59:20 +04: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 11:54:35 +04:00
" " ,
2013-05-20 06:59:20 +04:00
VARIANT_HK ,
kFontKerningKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2010-07-14 00:30:42 +04:00
CSS_PROP_FONT (
2014-08-20 11:54:35 +04:00
font - language - override ,
2010-07-14 00:30:42 +04:00
font_language_override ,
2014-08-20 11:54:35 +04:00
FontLanguageOverride ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_NORMAL | VARIANT_INHERIT | VARIANT_STRING ,
2012-07-30 18:20:58 +04:00
nullptr ,
2010-07-14 00:30:42 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_FONT (
font - size ,
font_size ,
FontSize ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HKLP | VARIANT_SYSFONT | VARIANT_CALC ,
2009-09-11 14:46:36 +04:00
kFontSizeKTable ,
2009-09-11 14:46:36 +04: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-16 04:24:24 +04:00
CSS_PROP_FONT (
font - size - adjust ,
font_size_adjust ,
FontSizeAdjust ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2011-05-09 23:02:34 +04:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HON | VARIANT_SYSFONT ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-10-09 05:30:51 +04:00
offsetof ( nsStyleFont , mFont . sizeAdjust ) ,
eStyleAnimType_float )
2009-07-16 04:24:24 +04:00
CSS_PROP_FONT (
font - stretch ,
font_stretch ,
FontStretch ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK | VARIANT_SYSFONT ,
2009-09-11 14:46:36 +04:00
kFontStretchKTable ,
2009-11-15 06:16:59 +03:00
offsetof ( nsStyleFont , mFont . stretch ) ,
eStyleAnimType_Custom )
2009-07-16 04:24:24 +04:00
CSS_PROP_FONT (
font - style ,
font_style ,
FontStyle ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK | VARIANT_SYSFONT ,
2009-09-11 14:46:36 +04:00
kFontStyleKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2013-09-29 09:45:28 +04:00
CSS_PROP_FONT (
2013-05-20 06:59:20 +04: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 11:54:35 +04:00
" " ,
2013-05-20 06:59:20 +04:00
0 ,
kFontSynthesisKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2014-08-20 11:54:25 +04:00
CSS_PROP_SHORTHAND (
2009-07-16 04:24:24 +04:00
font - variant ,
font_variant ,
FontVariant ,
2014-08-20 11:54:25 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2013-05-20 06:59:20 +04: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 11:54:35 +04:00
" " ,
2014-08-20 11:54:25 +04:00
0 ,
2013-05-20 06:59:20 +04:00
kFontVariantAlternatesKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2013-05-20 06:59:20 +04:00
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 11:54:35 +04:00
" " ,
2013-05-20 06:59:20 +04:00
VARIANT_HMK ,
kFontVariantCapsKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2013-05-20 06:59:20 +04:00
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 11:54:35 +04:00
" " ,
2013-05-20 06:59:20 +04:00
0 ,
kFontVariantEastAsianKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2013-05-20 06:59:20 +04:00
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 11:54:35 +04:00
" " ,
2013-05-20 06:59:20 +04:00
0 ,
kFontVariantLigaturesKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2013-05-20 06:59:20 +04:00
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 11:54:35 +04:00
" " ,
2013-05-20 06:59:20 +04:00
0 ,
kFontVariantNumericKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2013-05-20 06:59:20 +04:00
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 11:54:35 +04:00
" " ,
2013-05-20 06:59:20 +04:00
VARIANT_HMK ,
kFontVariantPositionKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-12-03 15:18:36 +03:00
CSS_PROP_FONT (
font - variation - settings ,
font_variation_settings ,
FontVariationSettings ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
" layout.css.font-variations.enabled " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
2016-12-03 15:18:41 +03:00
eStyleAnimType_Custom )
2009-07-16 04:24:24 +04:00
CSS_PROP_FONT (
font - weight ,
font_weight ,
FontWeight ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2011-05-09 23:02:34 +04:00
// NOTE: This property has range restrictions on interpolation!
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2009-09-11 14:46:36 +04:00
kFontWeightKTable ,
2009-11-15 06:16:59 +03:00
offsetof ( nsStyleFont , mFont . weight ) ,
eStyleAnimType_Custom )
2009-07-16 04:24:24 +04:00
CSS_PROP_UIRESET (
- moz - force - broken - image - icon ,
2016-12-21 10:16:50 +03:00
_moz_force_broken_image_icon ,
2011-03-18 06:14:30 +03:00
CSS_PROP_DOMPROP_PREFIXED ( ForceBrokenImageIcon ) ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HI ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete ) // bug 58646
2016-04-14 02:55:47 +03:00
CSS_PROP_SHORTHAND (
grid ,
grid ,
Grid ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " )
CSS_PROP_SHORTHAND (
grid - area ,
grid_area ,
GridArea ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " )
2014-03-11 02:54:16 +04:00
CSS_PROP_POSITION (
2016-04-14 02:55:47 +03:00
grid - auto - columns ,
grid_auto_columns ,
GridAutoColumns ,
2016-03-09 01:03:26 +03:00
CSS_PROPERTY_PARSE_FUNCTION |
2016-04-14 02:55:47 +03:00
CSS_PROPERTY_STORES_CALC |
2016-03-09 01:03:26 +03:00
CSS_PROPERTY_ENABLED_IN_UA_SHEETS ,
2014-03-11 02:54:16 +04:00
" layout.css.grid.enabled " ,
0 ,
2016-04-14 02:55:47 +03:00
kGridTrackBreadthKTable ,
2014-03-11 02:54:16 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2014-03-11 02:54:15 +04:00
CSS_PROP_POSITION (
2016-04-14 02:55:47 +03:00
grid - auto - flow ,
grid_auto_flow ,
GridAutoFlow ,
2014-03-11 02:54:15 +04:00
CSS_PROPERTY_PARSE_FUNCTION |
2016-03-09 01:03:26 +03:00
CSS_PROPERTY_ENABLED_IN_UA_SHEETS ,
2014-03-11 02:54:15 +04:00
" layout.css.grid.enabled " ,
0 ,
2016-04-14 02:55:47 +03:00
kGridAutoFlowKTable ,
2014-03-11 02:54:15 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2014-03-11 02:54:15 +04:00
CSS_PROP_POSITION (
grid - auto - rows ,
grid_auto_rows ,
GridAutoRows ,
CSS_PROPERTY_PARSE_FUNCTION |
2016-03-09 01:03:26 +03:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS ,
2014-03-11 02:54:15 +04:00
" layout.css.grid.enabled " ,
0 ,
kGridTrackBreadthKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_SHORTHAND (
grid - column ,
grid_column ,
GridColumn ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " )
2014-03-11 02:54:14 +04:00
CSS_PROP_POSITION (
2016-04-14 02:55:47 +03:00
grid - column - end ,
grid_column_end ,
GridColumnEnd ,
CSS_PROPERTY_PARSE_FUNCTION ,
2014-03-11 02:54:14 +04:00
" layout.css.grid.enabled " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2014-03-11 02:54:13 +04:00
CSS_PROP_POSITION (
2016-04-14 02:55:47 +03:00
grid - column - gap ,
grid_column_gap ,
GridColumnGap ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
2016-03-09 01:03:26 +03:00
CSS_PROPERTY_ENABLED_IN_UA_SHEETS ,
2014-03-11 02:54:13 +04:00
" layout.css.grid.enabled " ,
2016-05-25 11:48:52 +03:00
VARIANT_HLP | VARIANT_CALC ,
2016-04-14 02:55:47 +03:00
nullptr ,
offsetof ( nsStylePosition , mGridColumnGap ) ,
2016-05-25 11:48:52 +03:00
eStyleAnimType_Coord )
2014-03-11 02:54:13 +04:00
CSS_PROP_POSITION (
2016-04-14 02:55:47 +03:00
grid - column - start ,
grid_column_start ,
GridColumnStart ,
CSS_PROPERTY_PARSE_FUNCTION ,
2014-03-11 02:54:13 +04:00
" layout.css.grid.enabled " ,
0 ,
2016-04-14 02:55:47 +03:00
nullptr ,
2014-03-11 02:54:13 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2014-03-21 19:06:12 +04:00
CSS_PROP_SHORTHAND (
2016-04-14 02:55:47 +03:00
grid - gap ,
grid_gap ,
GridGap ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " )
CSS_PROP_SHORTHAND (
grid - row ,
grid_row ,
GridRow ,
2014-03-21 19:06:12 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " )
2014-03-11 02:54:17 +04:00
CSS_PROP_POSITION (
2016-04-14 02:55:47 +03:00
grid - row - end ,
grid_row_end ,
GridRowEnd ,
2014-03-11 02:54:17 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2014-03-11 02:54:17 +04:00
CSS_PROP_POSITION (
2016-04-14 02:55:47 +03:00
grid - row - gap ,
grid_row_gap ,
GridRowGap ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS ,
2014-03-11 02:54:17 +04:00
" layout.css.grid.enabled " ,
2016-05-25 11:48:52 +03:00
VARIANT_HLP | VARIANT_CALC ,
2014-03-11 02:54:17 +04:00
nullptr ,
2016-04-14 02:55:47 +03:00
offsetof ( nsStylePosition , mGridRowGap ) ,
2016-05-25 11:48:52 +03:00
eStyleAnimType_Coord )
2014-03-11 02:54:17 +04:00
CSS_PROP_POSITION (
grid - row - start ,
grid_row_start ,
GridRowStart ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-21 17:18:34 +03:00
CSS_PROP_SHORTHAND (
grid - template ,
grid_template ,
GridTemplate ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.grid.enabled " )
2014-03-11 02:54:17 +04:00
CSS_PROP_POSITION (
2016-04-14 02:55:47 +03:00
grid - template - areas ,
grid_template_areas ,
GridTemplateAreas ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS ,
2014-03-11 02:54:17 +04:00
" layout.css.grid.enabled " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2015-11-18 21:52:27 +03:00
CSS_PROP_POSITION (
2016-04-14 02:55:47 +03:00
grid - template - columns ,
grid_template_columns ,
GridTemplateColumns ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2016-03-09 01:03:26 +03:00
CSS_PROPERTY_ENABLED_IN_UA_SHEETS ,
2015-11-18 21:52:27 +03:00
" layout.css.grid.enabled " ,
2016-04-14 02:55:47 +03:00
0 ,
kGridTrackBreadthKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2015-11-18 21:52:27 +03:00
CSS_PROP_POSITION (
2016-04-14 02:55:47 +03:00
grid - template - rows ,
grid_template_rows ,
GridTemplateRows ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2016-03-09 01:03:26 +03:00
CSS_PROPERTY_ENABLED_IN_UA_SHEETS ,
2015-11-18 21:52:27 +03:00
" layout.css.grid.enabled " ,
2016-04-14 02:55:47 +03:00
0 ,
kGridTrackBreadthKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_POSITION (
height ,
height ,
Height ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_STORES_CALC |
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-10 05:29:37 +04:00
" " ,
2015-06-25 01:40:38 +03:00
VARIANT_AHKLP | VARIANT_CALC ,
kWidthKTable ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStylePosition , mHeight ) ,
eStyleAnimType_Coord )
2016-04-14 02:55:47 +03:00
CSS_PROP_TEXT (
hyphens ,
hyphens ,
Hyphens ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kHyphensKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-07-28 10:23:36 +03:00
CSS_PROP_TEXTRESET (
initial - letter ,
initial_letter ,
InitialLetter ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
" layout.css.initial-letter.enabled " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2013-08-29 02:39:06 +04: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 ) ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_LIST (
- moz - image - region ,
2016-12-21 10:16:50 +03:00
_moz_image_region ,
2011-03-18 06:14:30 +03:00
CSS_PROP_DOMPROP_PREFIXED ( ImageRegion ) ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_FUNCTION ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-12-22 00:46:25 +03:00
offsetof ( nsStyleList , mImageRegion ) ,
eStyleAnimType_Custom )
2016-04-14 02:55:47 +03:00
CSS_PROP_VISIBILITY (
image - rendering ,
image_rendering ,
ImageRendering ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kImageRenderingKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_UIRESET (
ime - mode ,
ime_mode ,
ImeMode ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kIMEModeKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2015-01-17 07:50:09 +03: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 |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS ,
2016-08-23 10:39:40 +03:00
" " ,
2015-01-17 07:50:09 +03:00
VARIANT_AHKLP | VARIANT_CALC ,
kWidthKTable ,
Size ,
Position ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2016-04-14 02:55:47 +03: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 ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_POSITION (
justify - content ,
justify_content ,
JustifyContent ,
CSS_PROPERTY_PARSE_FUNCTION ,
" " ,
VARIANT_HK ,
kAutoCompletionAlignJustifyContent ,
CSS_PROP_NO_OFFSET ,
2016-08-16 08:29:21 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_POSITION (
justify - items ,
justify_items ,
JustifyItems ,
CSS_PROPERTY_PARSE_FUNCTION ,
" " ,
VARIANT_HK ,
// for auto-completion we use same values as justify-self:
kAutoCompletionAlignJustifySelf ,
CSS_PROP_NO_OFFSET ,
2016-08-16 08:29:21 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_POSITION (
justify - self ,
justify_self ,
JustifySelf ,
CSS_PROPERTY_PARSE_FUNCTION ,
" " ,
VARIANT_HK ,
kAutoCompletionAlignJustifySelf ,
CSS_PROP_NO_OFFSET ,
2016-08-16 08:29:21 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
# ifndef CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
# ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
CSS_PROP_FONT (
- x - lang ,
_x_lang ,
Lang ,
CSS_PROPERTY_INTERNAL |
CSS_PROPERTY_PARSE_INACCESSIBLE ,
" " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
# endif // CSS_PROP_LIST_EXCLUDE_INTERNAL
# endif // CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
2009-07-16 04:24:24 +04:00
CSS_PROP_POSITION (
left ,
left ,
Left ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_STORES_CALC |
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_AHLP | VARIANT_CALC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStylePosition , mOffset ) ,
eStyleAnimType_Sides_Left )
2009-07-16 04:24:24 +04:00
CSS_PROP_TEXT (
letter - spacing ,
letter_spacing ,
LetterSpacing ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HL | VARIANT_NORMAL | VARIANT_CALC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStyleText , mLetterSpacing ) ,
eStyleAnimType_Coord )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVGRESET (
lighting - color ,
lighting_color ,
LightingColor ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HC ,
nullptr ,
offsetof ( nsStyleSVGReset , mLightingColor ) ,
eStyleAnimType_Color )
2009-07-16 04:24:24 +04:00
CSS_PROP_TEXT (
line - height ,
line_height ,
LineHeight ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-10 05:29:37 +04:00
" " ,
2016-03-15 05:37:37 +03:00
VARIANT_HLPN | VARIANT_KEYWORD | VARIANT_NORMAL | VARIANT_SYSFONT | VARIANT_CALC ,
2009-09-11 14:46:36 +04:00
kLineHeightKTable ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStyleText , mLineHeight ) ,
eStyleAnimType_Coord )
2009-07-16 04:24:24 +04:00
CSS_PROP_SHORTHAND (
list - style ,
list_style ,
ListStyle ,
2012-05-10 05:29:37 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-07-16 04:24:24 +04:00
CSS_PROP_LIST (
list - style - image ,
list_style_image ,
ListStyleImage ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_START_IMAGE_LOADS ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HUO ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_LIST (
list - style - position ,
list_style_position ,
ListStylePosition ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kListStylePositionKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_LIST (
list - style - type ,
list_style_type ,
ListStyleType ,
2014-06-12 05:12:00 +04:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION ,
2012-05-10 05:29:37 +04:00
" " ,
2014-06-12 05:12:00 +04:00
0 ,
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_SHORTHAND (
margin ,
margin ,
Margin ,
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_PARSE_FUNCTION |
2012-09-01 01:21:28 +04:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_APPLIES_TO_PAGE_RULE ,
2012-05-10 05:29:37 +04:00
" " )
2015-01-17 07:22:52 +03: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 |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE ,
2016-08-23 10:39:40 +03:00
" " ,
2015-01-17 07:22:52 +03:00
VARIANT_AHLP | VARIANT_CALC ,
nullptr ,
2015-01-17 07:43:20 +03:00
Margin ,
2015-01-17 07:22:52 +03: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 |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
2016-08-23 10:39:40 +03:00
" " ,
2015-01-17 07:22:52 +03:00
VARIANT_AHLP | VARIANT_CALC ,
nullptr ,
2015-01-17 07:43:20 +03:00
Margin ,
2015-01-17 07:22:52 +03:00
Margin ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-16 04:24:24 +04:00
CSS_PROP_MARGIN (
margin - bottom ,
margin_bottom ,
MarginBottom ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_STORES_CALC |
2012-09-01 01:21:28 +04:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_APPLIES_TO_PAGE_RULE |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_AHLP | VARIANT_CALC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStyleMargin , mMargin ) ,
eStyleAnimType_Sides_Bottom )
2015-01-17 07:16:02 +03:00
CSS_PROP_LOGICAL (
2015-07-03 05:22:56 +03:00
margin - inline - end ,
margin_inline_end ,
MarginInlineEnd ,
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_PARSE_VALUE |
2014-12-31 04:18:14 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_STORES_CALC |
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_APPLIES_TO_PAGE_RULE |
2015-01-17 07:22:51 +03:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_END_EDGE ,
2014-12-31 04:18:14 +03:00
" " ,
2015-01-17 07:16:02 +03:00
VARIANT_AHLP | VARIANT_CALC ,
2014-12-31 04:18:14 +03:00
nullptr ,
2015-01-17 07:43:20 +03:00
Margin ,
2015-01-17 07:16:02 +03:00
Margin ,
2014-12-31 04:18:14 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2015-01-17 07:16:02 +03:00
CSS_PROP_LOGICAL (
2015-07-03 05:22:56 +03:00
margin - inline - start ,
margin_inline_start ,
MarginInlineStart ,
2015-01-17 07:16:02 +03:00
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-17 07:43:20 +03:00
Margin ,
2015-01-17 07:16:02 +03:00
Margin ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_MARGIN (
2009-07-16 04:24:24 +04:00
margin - left ,
margin_left ,
MarginLeft ,
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_PARSE_VALUE |
2012-09-01 01:21:28 +04:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2014-12-31 07:04:20 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_STORES_CALC |
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_APPLIES_TO_PAGE_RULE |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-10 05:29:37 +04:00
" " ,
2015-01-17 07:16:02 +03:00
VARIANT_AHLP | VARIANT_CALC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStyleMargin , mMargin ) ,
eStyleAnimType_Sides_Left )
2009-07-16 04:24:24 +04:00
CSS_PROP_MARGIN (
margin - right ,
margin_right ,
MarginRight ,
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_PARSE_VALUE |
2012-09-01 01:21:28 +04:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2014-12-31 07:04:20 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_STORES_CALC |
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_APPLIES_TO_PAGE_RULE |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-10 05:29:37 +04:00
" " ,
2015-01-17 07:16:02 +03:00
VARIANT_AHLP | VARIANT_CALC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStyleMargin , mMargin ) ,
eStyleAnimType_Sides_Right )
2009-07-16 04:24:24 +04:00
CSS_PROP_MARGIN (
margin - top ,
margin_top ,
MarginTop ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_STORES_CALC |
2012-09-01 01:21:28 +04:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_APPLIES_TO_PAGE_RULE |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_AHLP | VARIANT_CALC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStyleMargin , mMargin ) ,
eStyleAnimType_Sides_Top )
2016-04-14 02:55:47 +03:00
CSS_PROP_SHORTHAND (
marker ,
marker ,
Marker ,
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
CSS_PROP_SVG (
marker - end ,
marker_end ,
MarkerEnd ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HUO ,
nullptr ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVG (
marker - mid ,
marker_mid ,
MarkerMid ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HUO ,
nullptr ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVG (
marker - start ,
marker_start ,
MarkerStart ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HUO ,
2015-06-25 01:40:38 +03:00
nullptr ,
2015-01-17 07:50:09 +03:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
# ifndef MOZ_ENABLE_MASK_AS_SHORTHAND
CSS_PROP_SVGRESET (
mask ,
mask ,
Mask ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2016-04-14 02:55:47 +03:00
CSS_PROPERTY_CREATES_STACKING_CONTEXT ,
2012-05-10 05:29:37 +04:00
" " ,
2016-04-14 02:55:47 +03:00
VARIANT_HUO ,
nullptr ,
2015-01-17 07:50:09 +03:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
# else
CSS_PROP_SHORTHAND (
mask ,
mask ,
Mask ,
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
CSS_PROP_SVGRESET (
mask - clip ,
mask_clip ,
MaskClip ,
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-10 05:29:37 +04:00
" " ,
2016-04-14 02:55:47 +03:00
VARIANT_KEYWORD , // used by list parsing
2016-10-19 10:48:47 +03:00
kMaskClipKTable ,
2016-04-14 02:55:47 +03:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVGRESET (
mask - composite ,
mask_composite ,
MaskComposite ,
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
" " ,
VARIANT_KEYWORD , // used by list parsing
kImageLayerCompositeKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVGRESET (
mask - image ,
mask_image ,
MaskImage ,
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_CREATES_STACKING_CONTEXT |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
CSS_PROPERTY_START_IMAGE_LOADS ,
" " ,
VARIANT_IMAGE , // used by list parsing
nullptr ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVGRESET (
mask - mode ,
mask_mode ,
MaskMode ,
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
" " ,
VARIANT_KEYWORD , // used by list parsing
kImageLayerModeKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVGRESET (
mask - origin ,
mask_origin ,
MaskOrigin ,
CSS_PROPERTY_PARSE_VALUE_LIST |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
" " ,
VARIANT_KEYWORD , // used by list parsing
2016-10-19 10:48:47 +03:00
kMaskOriginKTable ,
2016-04-14 02:55:47 +03:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-29 21:12:10 +03:00
CSS_PROP_SHORTHAND (
2016-04-14 02:55:47 +03:00
mask - position ,
mask_position ,
MaskPosition ,
2016-04-29 21:12:10 +03:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
" " )
CSS_PROP_SVGRESET (
mask - position - x ,
mask_position_x ,
MaskPositionX ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
CSS_PROPERTY_STORES_CALC ,
" " ,
0 ,
kImageLayerPositionKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Custom )
CSS_PROP_SVGRESET (
mask - position - y ,
mask_position_y ,
MaskPositionY ,
2016-04-14 02:55:47 +03:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
CSS_PROPERTY_STORES_CALC ,
" " ,
0 ,
kImageLayerPositionKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Custom )
CSS_PROP_SVGRESET (
mask - repeat ,
mask_repeat ,
MaskRepeat ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
" " ,
VARIANT_KEYWORD , // used by list parsing
kImageLayerRepeatKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVGRESET (
mask - size ,
mask_size ,
MaskSize ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_STORES_CALC ,
" " ,
0 ,
kImageLayerSizeKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Custom )
# endif // MOZ_ENABLE_MASK_AS_SHORTHAND
CSS_PROP_SVGRESET (
mask - type ,
mask_type ,
MaskType ,
CSS_PROPERTY_PARSE_VALUE ,
2016-10-08 18:28:17 +03:00
" " ,
2016-04-14 02:55:47 +03:00
VARIANT_HK ,
kMaskTypeKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
# ifndef CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
2015-10-08 02:19:29 +03:00
# ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
CSS_PROP_FONT (
2016-04-14 02:55:47 +03:00
- moz - math - display ,
2016-12-21 10:16:50 +03:00
_moz_math_display ,
2016-04-14 02:55:47 +03:00
MathDisplay ,
2015-10-08 02:19:29 +03:00
CSS_PROPERTY_INTERNAL |
2016-04-14 02:55:47 +03:00
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_PARSE_VALUE ,
2015-10-08 02:19:29 +03:00
" " ,
2016-04-14 02:55:47 +03:00
VARIANT_HK ,
kMathDisplayKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_FONT (
- moz - math - variant ,
2016-12-21 10:16:50 +03:00
_moz_math_variant ,
2016-04-14 02:55:47 +03:00
MathVariant ,
CSS_PROPERTY_INTERNAL |
CSS_PROPERTY_PARSE_INACCESSIBLE ,
" " ,
VARIANT_HK ,
kMathVariantKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
# endif // CSS_PROP_LIST_EXCLUDE_INTERNAL
# endif // CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
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 |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
2016-08-23 10:39:40 +03:00
" " ,
2016-04-14 02:55:47 +03:00
VARIANT_HLPO | VARIANT_CALC ,
2015-10-08 02:19:29 +03:00
nullptr ,
2016-04-14 02:55:47 +03:00
MaxSize ,
Position ,
CSS_PROP_NO_OFFSET ,
2015-10-08 02:19:29 +03:00
eStyleAnimType_None )
2009-07-16 04:24:24 +04:00
CSS_PROP_POSITION (
2016-04-14 02:55:47 +03:00
max - height ,
max_height ,
MaxHeight ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_STORES_CALC |
2016-10-03 13:14:20 +03:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
2012-05-10 05:29:37 +04:00
" " ,
2016-04-14 02:55:47 +03:00
VARIANT_HKLPO | VARIANT_CALC ,
2015-06-25 01:40:38 +03:00
kWidthKTable ,
2016-04-14 02:55:47 +03:00
offsetof ( nsStylePosition , mMaxHeight ) ,
eStyleAnimType_Coord )
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 |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS ,
2016-08-23 10:39:40 +03:00
" " ,
2016-04-14 02:55:47 +03:00
VARIANT_HKLPO | VARIANT_CALC ,
kWidthKTable ,
MaxSize ,
Position ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_POSITION (
max - width ,
max_width ,
MaxWidth ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_STORES_CALC |
2016-10-03 13:14:20 +03:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
2016-04-14 02:55:47 +03:00
" " ,
VARIANT_HKLPO | VARIANT_CALC ,
kWidthKTable ,
offsetof ( nsStylePosition , mMaxWidth ) ,
2009-09-11 14:46:36 +04:00
eStyleAnimType_Coord )
2015-01-17 07:50:09 +03: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 |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
2016-08-23 10:39:40 +03:00
" " ,
2015-06-25 01:40:38 +03:00
VARIANT_AHLP | VARIANT_CALC ,
nullptr ,
2015-01-17 07:50:09 +03:00
MinSize ,
Position ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2016-04-14 02:55:47 +03:00
# ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
CSS_PROP_FONT (
- moz - min - font - size - ratio ,
_moz_min_font_size_ratio ,
CSS_PROP_DOMPROP_PREFIXED ( MinFontSizeRatio ) ,
CSS_PROPERTY_INTERNAL |
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS ,
" " ,
VARIANT_INHERIT | VARIANT_PERCENT ,
nullptr ,
offsetof ( nsStyleFont , mMinFontSizeRatio ) ,
eStyleAnimType_None )
# endif // CSS_PROP_LIST_EXCLUDE_INTERNAL
CSS_PROP_POSITION (
min - height ,
min_height ,
MinHeight ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_STORES_CALC |
2016-10-03 13:14:20 +03:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
2016-04-14 02:55:47 +03:00
" " ,
VARIANT_AHKLP | VARIANT_CALC ,
kWidthKTable ,
offsetof ( nsStylePosition , mMinHeight ) ,
eStyleAnimType_Coord )
2015-01-17 07:50:09 +03:00
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 |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS ,
2016-08-23 10:39:40 +03:00
" " ,
2015-01-17 07:50:09 +03:00
VARIANT_AHKLP | VARIANT_CALC ,
kWidthKTable ,
MinSize ,
Position ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-16 04:24:24 +04:00
CSS_PROP_POSITION (
min - width ,
min_width ,
MinWidth ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_STORES_CALC |
2016-10-03 13:14:20 +03:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
2012-05-10 05:29:37 +04:00
" " ,
2014-07-22 19:24:34 +04:00
VARIANT_AHKLP | VARIANT_CALC ,
2009-09-11 14:46:36 +04:00
kWidthKTable ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStylePosition , mMinWidth ) ,
eStyleAnimType_Coord )
2016-04-12 08:52:42 +03:00
CSS_PROP_EFFECTS (
2013-08-07 11:59:10 +04:00
mix - blend - mode ,
mix_blend_mode ,
MixBlendMode ,
2014-02-06 08:50:22 +04:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_CREATES_STACKING_CONTEXT ,
2013-08-07 11:59:10 +04:00
" layout.css.mix-blend-mode.enabled " ,
VARIANT_HK ,
kBlendModeKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2014-09-10 05:09:32 +04:00
CSS_PROP_POSITION (
object - fit ,
object_fit ,
ObjectFit ,
2017-03-02 21:04:00 +03:00
CSS_PROPERTY_PARSE_VALUE ,
" " ,
2014-09-10 05:09:32 +04:00
VARIANT_HK ,
kObjectFitKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2014-09-10 05:09:32 +04:00
CSS_PROP_POSITION (
object - position ,
object_position ,
ObjectPosition ,
CSS_PROPERTY_PARSE_FUNCTION |
2017-03-02 21:04:00 +03:00
CSS_PROPERTY_STORES_CALC ,
" " ,
2014-09-10 05:09:32 +04:00
0 ,
2016-01-28 08:27:00 +03:00
kImageLayerPositionKTable ,
2014-09-10 05:09:32 +04:00
offsetof ( nsStylePosition , mObjectPosition ) ,
eStyleAnimType_Custom )
2015-01-17 07:53:27 +03: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 |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE ,
2016-08-23 10:39:40 +03:00
" " ,
2015-01-17 07:53:27 +03:00
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 |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
2016-08-23 10:39:40 +03:00
" " ,
2015-01-17 07:53:27 +03:00
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 |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_END_EDGE ,
2016-08-23 10:39:40 +03:00
" " ,
2015-01-17 07:53:27 +03:00
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 |
CSS_PROPERTY_LOGICAL ,
2016-08-23 10:39:40 +03:00
" " ,
2015-01-17 07:53:27 +03:00
VARIANT_AHLP | VARIANT_CALC ,
nullptr ,
Offset ,
Position ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2016-04-12 08:52:43 +03:00
CSS_PROP_EFFECTS (
2009-07-16 04:24:24 +04:00
opacity ,
opacity ,
Opacity ,
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_PARSE_VALUE |
2015-04-01 01:05:54 +03:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2015-08-18 09:13:56 +03:00
CSS_PROPERTY_CAN_ANIMATE_ON_COMPOSITOR |
CSS_PROPERTY_CREATES_STACKING_CONTEXT ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HN ,
2012-07-30 18:20:58 +04:00
nullptr ,
2016-04-12 08:52:43 +03:00
offsetof ( nsStyleEffects , mOpacity ) ,
2012-07-28 02:53:08 +04:00
eStyleAnimType_float )
2016-04-14 02:55:47 +03:00
CSS_PROP_POSITION (
order ,
order ,
Order ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HI ,
nullptr ,
offsetof ( nsStylePosition , mOrder ) ,
eStyleAnimType_Custom ) // <integer>
2011-05-10 17:47:46 +04:00
CSS_PROP_DISPLAY (
- moz - orient ,
2016-12-21 10:16:50 +03:00
_moz_orient ,
2011-05-10 17:47:46 +04:00
CSS_PROP_DOMPROP_PREFIXED ( Orient ) ,
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-05-10 17:47:46 +04:00
VARIANT_HK ,
kOrientKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_FONT (
- moz - osx - font - smoothing ,
2016-12-21 10:16:50 +03:00
_moz_osx_font_smoothing ,
2016-04-14 02:55:47 +03:00
CSS_PROP_DOMPROP_PREFIXED ( OsxFontSmoothing ) ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
" layout.css.osx-font-smoothing.enabled " ,
VARIANT_HK ,
kFontSmoothingKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_SHORTHAND (
outline ,
outline ,
Outline ,
2012-05-10 05:29:37 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-07-16 04:24:24 +04:00
CSS_PROP_OUTLINE (
outline - color ,
outline_color ,
OutlineColor ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2012-05-10 05:29:37 +04:00
" " ,
2016-09-29 10:47:22 +03:00
VARIANT_HC ,
nullptr ,
2016-09-27 13:44:19 +03:00
offsetof ( nsStyleOutline , mOutlineColor ) ,
eStyleAnimType_ComplexColor )
2009-07-16 04:24:24 +04:00
CSS_PROP_OUTLINE (
2016-04-14 02:55:47 +03:00
outline - offset ,
outline_offset ,
OutlineOffset ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2016-04-14 02:55:47 +03:00
VARIANT_HL | VARIANT_CALC ,
nullptr ,
offsetof ( nsStyleOutline , mOutlineOffset ) ,
eStyleAnimType_nscoord )
CSS_PROP_SHORTHAND (
- moz - outline - radius ,
_moz_outline_radius ,
CSS_PROP_DOMPROP_PREFIXED ( OutlineRadius ) ,
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
CSS_PROP_OUTLINE (
- moz - outline - radius - bottomleft ,
2016-12-21 10:16:50 +03:00
_moz_outline_radius_bottomleft ,
2016-04-14 02:55:47 +03:00
CSS_PROP_DOMPROP_PREFIXED ( OutlineRadiusBottomleft ) ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_VALUE_NONNEGATIVE |
2016-10-03 13:14:20 +03:00
CSS_PROPERTY_STORES_CALC ,
2016-04-14 02:55:47 +03:00
" " ,
0 ,
nullptr ,
offsetof ( nsStyleOutline , mOutlineRadius ) ,
eStyleAnimType_Corner_BottomLeft )
CSS_PROP_OUTLINE (
- moz - outline - radius - bottomright ,
2016-12-21 10:16:50 +03:00
_moz_outline_radius_bottomright ,
2016-04-14 02:55:47 +03:00
CSS_PROP_DOMPROP_PREFIXED ( OutlineRadiusBottomright ) ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_VALUE_NONNEGATIVE |
2016-10-03 13:14:20 +03:00
CSS_PROPERTY_STORES_CALC ,
2016-04-14 02:55:47 +03:00
" " ,
0 ,
nullptr ,
offsetof ( nsStyleOutline , mOutlineRadius ) ,
eStyleAnimType_Corner_BottomRight )
CSS_PROP_OUTLINE (
- moz - outline - radius - topleft ,
2016-12-21 10:16:50 +03:00
_moz_outline_radius_topleft ,
2016-04-14 02:55:47 +03:00
CSS_PROP_DOMPROP_PREFIXED ( OutlineRadiusTopleft ) ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_VALUE_NONNEGATIVE |
2016-10-03 13:14:20 +03:00
CSS_PROPERTY_STORES_CALC ,
2016-04-14 02:55:47 +03:00
" " ,
0 ,
nullptr ,
offsetof ( nsStyleOutline , mOutlineRadius ) ,
eStyleAnimType_Corner_TopLeft )
CSS_PROP_OUTLINE (
- moz - outline - radius - topright ,
2016-12-21 10:16:50 +03:00
_moz_outline_radius_topright ,
2016-04-14 02:55:47 +03:00
CSS_PROP_DOMPROP_PREFIXED ( OutlineRadiusTopright ) ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_VALUE_NONNEGATIVE |
2016-10-03 13:14:20 +03:00
CSS_PROPERTY_STORES_CALC ,
2016-04-14 02:55:47 +03:00
" " ,
0 ,
nullptr ,
offsetof ( nsStyleOutline , mOutlineRadius ) ,
eStyleAnimType_Corner_TopRight )
CSS_PROP_OUTLINE (
outline - style ,
outline_style ,
OutlineStyle ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kOutlineStyleKTable ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_OUTLINE (
outline - width ,
outline_width ,
OutlineWidth ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HKL | VARIANT_CALC ,
2009-09-11 14:46:36 +04:00
kBorderWidthKTable ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStyleOutline , mOutlineWidth ) ,
2016-11-29 15:08:08 +03:00
eStyleAnimType_nscoord )
2009-07-16 04:24:24 +04:00
CSS_PROP_SHORTHAND (
overflow ,
overflow ,
Overflow ,
2012-05-10 05:29:37 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2014-02-22 05:18:23 +04:00
CSS_PROP_DISPLAY (
overflow - clip - box ,
overflow_clip_box ,
OverflowClipBox ,
CSS_PROPERTY_PARSE_VALUE |
2015-10-03 04:12:09 +03:00
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
2014-02-22 05:18:23 +04:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
" layout.css.overflow-clip-box.enabled " ,
VARIANT_HK ,
kOverflowClipBoxKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_DISPLAY (
overflow - x ,
overflow_x ,
OverflowX ,
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_PARSE_VALUE |
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kOverflowSubKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_DISPLAY (
overflow - y ,
overflow_y ,
OverflowY ,
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_PARSE_VALUE |
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kOverflowSubKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_SHORTHAND (
padding ,
padding ,
Padding ,
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
2012-05-10 05:29:37 +04:00
" " )
2015-01-17 07:22:51 +03: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 |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE ,
2016-08-23 10:39:40 +03:00
" " ,
2015-01-17 07:22:51 +03:00
VARIANT_HLP | VARIANT_CALC ,
nullptr ,
2015-01-17 07:43:20 +03:00
Padding ,
2015-01-17 07:22:51 +03: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 |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS ,
2016-08-23 10:39:40 +03:00
" " ,
2015-01-17 07:22:51 +03:00
VARIANT_HLP | VARIANT_CALC ,
nullptr ,
2015-01-17 07:43:20 +03:00
Padding ,
2015-01-17 07:22:51 +03:00
Padding ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-16 04:24:24 +04:00
CSS_PROP_PADDING (
padding - bottom ,
padding_bottom ,
PaddingBottom ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-11-09 14:25:52 +04:00
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_STORES_CALC |
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HLP | VARIANT_CALC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStylePadding , mPadding ) ,
eStyleAnimType_Sides_Bottom )
2015-01-17 07:16:02 +03:00
CSS_PROP_LOGICAL (
2015-07-03 05:22:56 +03:00
padding - inline - end ,
padding_inline_end ,
PaddingInlineEnd ,
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-11-09 14:25:52 +04:00
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-01-17 07:22:51 +03:00
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_END_EDGE ,
2012-05-10 05:29:37 +04:00
" " ,
2015-01-17 07:16:02 +03:00
VARIANT_HLP | VARIANT_CALC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2015-01-17 07:43:20 +03:00
Padding ,
2015-01-17 07:16:02 +03:00
Padding ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2015-01-17 07:16:02 +03:00
CSS_PROP_LOGICAL (
2015-07-03 05:22:56 +03:00
padding - inline - start ,
padding_inline_start ,
PaddingInlineStart ,
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-11-09 14:25:52 +04:00
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_LOGICAL ,
2012-05-10 05:29:37 +04:00
" " ,
2015-01-17 07:16:02 +03:00
VARIANT_HLP | VARIANT_CALC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2015-01-17 07:43:20 +03:00
Padding ,
2015-01-17 07:16:02 +03:00
Padding ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-07-16 04:24:24 +04:00
CSS_PROP_PADDING (
2015-01-17 07:16:02 +03:00
padding - left ,
padding_left ,
PaddingLeft ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-11-09 14:25:52 +04:00
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-10 05:29:37 +04:00
" " ,
2015-01-17 07:16:02 +03:00
VARIANT_HLP | VARIANT_CALC ,
nullptr ,
offsetof ( nsStylePadding , mPadding ) ,
eStyleAnimType_Sides_Left )
CSS_PROP_PADDING (
2009-07-16 04:24:24 +04:00
padding - right ,
padding_right ,
PaddingRight ,
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_PARSE_VALUE |
2014-12-31 07:04:20 +03:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-11-09 14:25:52 +04:00
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2015-01-17 07:16:02 +03:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-10 05:29:37 +04:00
" " ,
2015-01-17 07:16:02 +03:00
VARIANT_HLP | VARIANT_CALC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStylePadding , mPadding ) ,
eStyleAnimType_Sides_Right )
2009-07-16 04:24:24 +04:00
CSS_PROP_PADDING (
padding - top ,
padding_top ,
PaddingTop ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
2012-11-09 14:25:52 +04:00
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_STORES_CALC |
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HLP | VARIANT_CALC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStylePadding , mPadding ) ,
eStyleAnimType_Sides_Top )
2009-07-16 04:24:24 +04:00
CSS_PROP_DISPLAY (
page - break - after ,
page_break_after ,
PageBreakAfter ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kPageBreakKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete ) // temp fix for bug 24000
2009-07-16 04:24:24 +04:00
CSS_PROP_DISPLAY (
page - break - before ,
page_break_before ,
PageBreakBefore ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kPageBreakKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete ) // temp fix for bug 24000
2012-11-08 20:09:37 +04:00
CSS_PROP_DISPLAY (
2009-07-16 04:24:24 +04:00
page - break - inside ,
page_break_inside ,
PageBreakInside ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2012-11-08 20:09:37 +04:00
kPageBreakInsideKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2013-01-13 03:27:53 +04:00
CSS_PROP_SVG (
paint - order ,
paint_order ,
PaintOrder ,
CSS_PROPERTY_PARSE_FUNCTION ,
" svg.paint-order.enabled " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_DISPLAY (
perspective ,
perspective ,
Perspective ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_CREATES_STACKING_CONTEXT |
CSS_PROPERTY_FIXPOS_CB ,
" " ,
2016-08-12 07:52:48 +03:00
VARIANT_NONE | VARIANT_INHERIT | VARIANT_LENGTH |
VARIANT_NONNEGATIVE_DIMENSION ,
2016-04-14 02:55:47 +03:00
nullptr ,
offsetof ( nsStyleDisplay , mChildPerspective ) ,
eStyleAnimType_Coord )
CSS_PROP_DISPLAY (
perspective - origin ,
perspective_origin ,
PerspectiveOrigin ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
" " ,
0 ,
kImageLayerPositionKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Custom )
2016-11-28 02:44:22 +03:00
CSS_PROP_SHORTHAND (
place - content ,
place_content ,
PlaceContent ,
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
CSS_PROP_SHORTHAND (
place - items ,
place_items ,
PlaceItems ,
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
CSS_PROP_SHORTHAND (
place - self ,
place_self ,
PlaceSelf ,
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2016-04-12 08:52:41 +03:00
CSS_PROP_USERINTERFACE (
2009-08-27 07:53:35 +04:00
pointer - events ,
pointer_events ,
PointerEvents ,
2012-11-09 14:27:03 +04:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kPointerEventsKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_DISPLAY (
position ,
position ,
Position ,
2014-02-06 08:50:22 +04:00
CSS_PROPERTY_PARSE_VALUE |
2015-08-17 02:02:54 +03:00
// For position: sticky/fixed
2015-12-08 02:39:41 +03:00
CSS_PROPERTY_CREATES_STACKING_CONTEXT |
CSS_PROPERTY_ABSPOS_CB ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kPositionKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-12 08:52:40 +03:00
CSS_PROP_LIST (
2009-07-16 04:24:24 +04:00
quotes ,
quotes ,
Quotes ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_FUNCTION ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2010-03-19 14:49:33 +03:00
CSS_PROP_DISPLAY (
resize ,
2010-07-05 18:41:04 +04:00
resize ,
Resize ,
2012-11-09 14:25:52 +04: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-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2010-03-19 14:49:33 +03:00
kResizeKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_POSITION (
right ,
right ,
Right ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_STORES_CALC |
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_AHLP | VARIANT_CALC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStylePosition , mOffset ) ,
eStyleAnimType_Sides_Right )
2015-02-17 08:01:49 +03:00
CSS_PROP_TEXT (
ruby - align ,
ruby_align ,
RubyAlign ,
CSS_PROPERTY_PARSE_VALUE ,
2015-12-01 01:39:37 +03:00
" " ,
2015-02-17 08:01:49 +03:00
VARIANT_HK ,
kRubyAlignKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2014-12-09 09:47:18 +03:00
CSS_PROP_TEXT (
ruby - position ,
ruby_position ,
RubyPosition ,
2015-01-22 06:04:55 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2015-12-01 01:39:37 +03:00
" " ,
2015-01-22 06:04:55 +03:00
VARIANT_HK ,
2014-12-09 09:47:18 +03:00
kRubyPositionKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
# ifndef CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
# ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
CSS_PROP_FONT (
- moz - script - level ,
2016-12-21 10:16:50 +03:00
_moz_script_level ,
2016-04-14 02:55:47 +03:00
ScriptLevel ,
// We only allow 'script-level' when unsafe rules are enabled, because
// otherwise it could interfere with rulenode optimizations if used in
// a non-MathML-enabled document.
CSS_PROPERTY_INTERNAL |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_PARSE_VALUE ,
" " ,
// script-level can take Auto, Integer and Number values, but only Auto
// ("increment if parent is not in displaystyle") and Integer
// ("relative") values can be specified in a style sheet.
VARIANT_AHI ,
nullptr ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_FONT (
- moz - script - min - size ,
2016-12-21 10:16:50 +03:00
_moz_script_min_size ,
2016-04-14 02:55:47 +03:00
ScriptMinSize ,
CSS_PROPERTY_INTERNAL |
CSS_PROPERTY_PARSE_INACCESSIBLE ,
" " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
CSS_PROP_FONT (
- moz - script - size - multiplier ,
2016-12-21 10:16:50 +03:00
_moz_script_size_multiplier ,
2016-04-14 02:55:47 +03:00
ScriptSizeMultiplier ,
CSS_PROPERTY_INTERNAL |
CSS_PROPERTY_PARSE_INACCESSIBLE ,
" " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
# endif // CSS_PROP_LIST_EXCLUDE_INTERNAL
# endif // CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
2014-09-15 23:29:58 +04: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 ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2014-02-04 05:54:22 +04:00
CSS_PROP_DISPLAY (
2015-03-13 20:00:00 +03: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-04 05:54:22 +04:00
" layout.css.scroll-snap.enabled " ,
2015-03-13 20:00:00 +03:00
0 ,
2016-01-28 08:27:00 +03:00
kImageLayerPositionKTable ,
2014-02-04 05:54:22 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2014-02-04 05:54:22 +04:00
CSS_PROP_DISPLAY (
2015-03-13 20:00:00 +03:00
scroll - snap - destination ,
scroll_snap_destination ,
ScrollSnapDestination ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_STORES_CALC ,
2014-02-04 05:54:22 +04:00
" layout.css.scroll-snap.enabled " ,
2015-03-13 20:00:00 +03:00
0 ,
2016-01-28 08:27:00 +03:00
kImageLayerPositionKTable ,
2014-02-04 05:54:22 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2014-02-04 05:54:22 +04:00
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 ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2014-02-04 05:54:22 +04:00
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 ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2015-03-13 20:00:00 +03:00
CSS_PROP_SHORTHAND (
scroll - snap - type ,
scroll_snap_type ,
ScrollSnapType ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.scroll-snap.enabled " )
2014-02-04 05:54:22 +04:00
CSS_PROP_DISPLAY (
2015-03-13 20:00:00 +03:00
scroll - snap - type - x ,
scroll_snap_type_x ,
ScrollSnapTypeX ,
CSS_PROPERTY_PARSE_VALUE ,
2014-02-04 05:54:22 +04:00
" layout.css.scroll-snap.enabled " ,
2015-03-13 20:00:00 +03:00
VARIANT_HK ,
kScrollSnapTypeKTable ,
2014-02-04 05:54:22 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2014-02-04 05:54:22 +04:00
CSS_PROP_DISPLAY (
2015-03-13 20:00:00 +03:00
scroll - snap - type - y ,
scroll_snap_type_y ,
ScrollSnapTypeY ,
CSS_PROPERTY_PARSE_VALUE ,
2014-02-04 05:54:22 +04:00
" layout.css.scroll-snap.enabled " ,
2015-03-13 20:00:00 +03:00
VARIANT_HK ,
kScrollSnapTypeKTable ,
2014-02-04 05:54:22 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-07-22 10:40:01 +03:00
CSS_PROP_DISPLAY (
shape - outside ,
shape_outside ,
ShapeOutside ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER ,
" layout.css.shape-outside.enabled " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete ) // FIXME: Bug 1289049 for adding animation support
2016-04-14 02:55:47 +03:00
CSS_PROP_SVG (
shape - rendering ,
shape_rendering ,
ShapeRendering ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2016-04-14 02:55:47 +03:00
kShapeRenderingKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
# ifndef CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
# ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
CSS_PROP_TABLE (
- x - span ,
_x_span ,
Span ,
CSS_PROPERTY_INTERNAL |
CSS_PROPERTY_PARSE_INACCESSIBLE ,
2012-05-10 05:29:37 +04:00
" " ,
2016-04-14 02:55:47 +03:00
0 ,
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2016-04-14 02:55:47 +03:00
# endif // CSS_PROP_LIST_EXCLUDE_INTERNAL
# endif // CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
CSS_PROP_XUL (
- moz - stack - sizing ,
2016-12-21 10:16:50 +03:00
_moz_stack_sizing ,
2016-04-14 02:55:47 +03:00
CSS_PROP_DOMPROP_PREFIXED ( StackSizing ) ,
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2012-01-12 21:52:21 +04:00
VARIANT_HK ,
2016-04-14 02:55:47 +03:00
kStackSizingKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVGRESET (
stop - color ,
stop_color ,
StopColor ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HC ,
nullptr ,
offsetof ( nsStyleSVGReset , mStopColor ) ,
eStyleAnimType_Color )
CSS_PROP_SVGRESET (
stop - opacity ,
stop_opacity ,
StopOpacity ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HN ,
nullptr ,
offsetof ( nsStyleSVGReset , mStopOpacity ) ,
eStyleAnimType_float )
CSS_PROP_SVG (
stroke ,
stroke ,
Stroke ,
2012-05-10 05:29:37 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
2016-04-14 02:55:47 +03:00
" " ,
2013-08-19 14:26:44 +04:00
0 ,
2016-04-14 02:55:47 +03:00
kContextPatternKTable ,
offsetof ( nsStyleSVG , mStroke ) ,
eStyleAnimType_PaintServer )
CSS_PROP_SVG (
stroke - dasharray ,
stroke_dasharray ,
StrokeDasharray ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
CSS_PROPERTY_NUMBERS_ARE_PIXELS ,
// NOTE: Internal values have range restrictions.
2012-05-10 05:29:37 +04:00
" " ,
2016-04-14 02:55:47 +03:00
0 ,
kStrokeContextValueKTable ,
CSS_PROP_NO_OFFSET , /* property stored in 2 separate members */
eStyleAnimType_Custom )
CSS_PROP_SVG (
stroke - dashoffset ,
stroke_dashoffset ,
StrokeDashoffset ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_NUMBERS_ARE_PIXELS ,
" " ,
VARIANT_HLPN | VARIANT_OPENTYPE_SVG_KEYWORD ,
kStrokeContextValueKTable ,
offsetof ( nsStyleSVG , mStrokeDashoffset ) ,
eStyleAnimType_Coord )
CSS_PROP_SVG (
stroke - linecap ,
stroke_linecap ,
StrokeLinecap ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kStrokeLinecapKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVG (
stroke - linejoin ,
stroke_linejoin ,
StrokeLinejoin ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kStrokeLinejoinKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVG (
stroke - miterlimit ,
stroke_miterlimit ,
StrokeMiterlimit ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_AT_LEAST_ONE ,
" " ,
VARIANT_HN ,
nullptr ,
offsetof ( nsStyleSVG , mStrokeMiterlimit ) ,
eStyleAnimType_float )
CSS_PROP_SVG (
stroke - opacity ,
stroke_opacity ,
StrokeOpacity ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HN | VARIANT_OPENTYPE_SVG_KEYWORD ,
kContextOpacityKTable ,
offsetof ( nsStyleSVG , mStrokeOpacity ) ,
eStyleAnimType_float )
CSS_PROP_SVG (
stroke - width ,
stroke_width ,
StrokeWidth ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_NUMBERS_ARE_PIXELS ,
" " ,
VARIANT_HLPN | VARIANT_OPENTYPE_SVG_KEYWORD ,
kStrokeContextValueKTable ,
offsetof ( nsStyleSVG , mStrokeWidth ) ,
eStyleAnimType_Coord )
# ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
CSS_PROP_FONT (
- x - system - font ,
_x_system_font ,
CSS_PROP_DOMPROP_PREFIXED ( SystemFont ) ,
CSS_PROPERTY_INTERNAL |
CSS_PROPERTY_PARSE_INACCESSIBLE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
" " ,
0 ,
kFontKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
# endif // CSS_PROP_LIST_EXCLUDE_INTERNAL
CSS_PROP_TEXT (
- moz - tab - size ,
_moz_tab_size ,
CSS_PROP_DOMPROP_PREFIXED ( TabSize ) ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE ,
" " ,
2016-11-25 07:23:14 +03:00
VARIANT_INHERIT | VARIANT_LNCALC ,
2016-04-14 02:55:47 +03:00
nullptr ,
offsetof ( nsStyleText , mTabSize ) ,
2016-12-13 23:31:23 +03:00
eStyleAnimType_Coord )
2016-04-14 02:55:47 +03:00
CSS_PROP_TABLE (
table - layout ,
table_layout ,
TableLayout ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kTableLayoutKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_TEXT (
text - align ,
text_align ,
TextAlign ,
CSS_PROPERTY_PARSE_VALUE | CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
" " ,
// When we support aligning on a string, we can parse text-align
// as a string....
VARIANT_HK /* | VARIANT_STRING */ ,
kTextAlignKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_TEXT (
2016-05-30 07:52:01 +03:00
text - align - last ,
2016-04-14 02:55:47 +03:00
text_align_last ,
2016-05-30 07:52:01 +03:00
TextAlignLast ,
2016-04-14 02:55:47 +03:00
CSS_PROPERTY_PARSE_VALUE | CSS_PROPERTY_VALUE_PARSER_FUNCTION ,
" " ,
VARIANT_HK ,
kTextAlignLastKTable ,
offsetof ( nsStyleText , mTextAlignLast ) ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_SVG (
text - anchor ,
text_anchor ,
TextAnchor ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kTextAnchorKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_TEXT (
text - combine - upright ,
text_combine_upright ,
TextCombineUpright ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION ,
" layout.css.text-combine-upright.enabled " ,
0 ,
kTextCombineUprightKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_SHORTHAND (
text - decoration ,
text_decoration ,
TextDecoration ,
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
CSS_PROP_TEXTRESET (
text - decoration - color ,
text_decoration_color ,
TextDecorationColor ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
" " ,
2016-09-29 10:47:22 +03:00
VARIANT_HC ,
nullptr ,
2016-09-27 13:19:48 +03:00
offsetof ( nsStyleTextReset , mTextDecorationColor ) ,
eStyleAnimType_ComplexColor )
2011-04-23 09:16:41 +04:00
CSS_PROP_TEXTRESET (
2014-11-18 13:23:09 +03:00
text - decoration - line ,
2011-04-23 09:16:41 +04:00
text_decoration_line ,
2014-11-18 13:23:09 +03:00
TextDecorationLine ,
2011-04-23 09:16:41 +04:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-04-23 09:16:41 +04:00
0 ,
kTextDecorationLineKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2011-03-31 16:26:35 +04:00
CSS_PROP_TEXTRESET (
2014-11-18 13:23:09 +03:00
text - decoration - style ,
2011-03-31 16:26:35 +04:00
text_decoration_style ,
2014-11-18 13:23:09 +03:00
TextDecorationStyle ,
2011-03-31 16:26:35 +04:00
CSS_PROPERTY_PARSE_VALUE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-31 16:26:35 +04:00
VARIANT_HK ,
kTextDecorationStyleKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2015-11-28 03:56:33 +03:00
CSS_PROP_SHORTHAND (
text - emphasis ,
text_emphasis ,
TextEmphasis ,
2016-05-30 07:52:01 +03:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2015-11-28 03:56:33 +03:00
CSS_PROP_TEXT (
text - emphasis - color ,
text_emphasis_color ,
TextEmphasisColor ,
CSS_PROPERTY_PARSE_VALUE |
2016-05-30 07:52:01 +03:00
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
" " ,
2015-11-28 03:56:33 +03:00
VARIANT_HC ,
nullptr ,
2016-09-16 07:40:45 +03:00
offsetof ( nsStyleText , mTextEmphasisColor ) ,
eStyleAnimType_ComplexColor )
2015-11-28 03:56:33 +03:00
CSS_PROP_TEXT (
text - emphasis - position ,
text_emphasis_position ,
TextEmphasisPosition ,
CSS_PROPERTY_PARSE_VALUE |
2016-05-30 07:52:01 +03:00
CSS_PROPERTY_VALUE_PARSER_FUNCTION ,
" " ,
2015-11-28 03:56:33 +03:00
0 ,
kTextEmphasisPositionKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2015-11-28 03:56:33 +03:00
CSS_PROP_TEXT (
text - emphasis - style ,
text_emphasis_style ,
TextEmphasisStyle ,
CSS_PROPERTY_PARSE_VALUE |
2016-05-30 07:52:01 +03:00
CSS_PROPERTY_VALUE_PARSER_FUNCTION ,
" " ,
2015-11-28 03:56:33 +03:00
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-03-25 10:54:49 +03:00
CSS_PROP_TEXT (
- webkit - text - fill - color ,
_webkit_text_fill_color ,
WebkitTextFillColor ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
" layout.css.prefixes.webkit " ,
VARIANT_HC ,
nullptr ,
offsetof ( nsStyleText , mWebkitTextFillColor ) ,
2016-09-16 07:40:45 +03:00
eStyleAnimType_ComplexColor )
2009-07-16 04:24:24 +04:00
CSS_PROP_TEXT (
text - indent ,
text_indent ,
TextIndent ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_STORES_CALC |
2016-10-03 13:14:20 +03:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HLP | VARIANT_CALC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStyleText , mTextIndent ) ,
eStyleAnimType_Coord )
2017-03-01 15:58:25 +03:00
CSS_PROP_TEXT (
text - justify ,
text_justify ,
TextJustify ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
" layout.css.text-justify.enabled " ,
VARIANT_HK ,
kTextJustifyKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2014-12-11 21:56:19 +03:00
CSS_PROP_VISIBILITY (
2013-08-19 14:26:44 +04:00
text - orientation ,
text_orientation ,
TextOrientation ,
2016-08-23 10:39:40 +03:00
CSS_PROPERTY_PARSE_VALUE ,
" " ,
2013-08-19 14:26:44 +04:00
VARIANT_HK ,
kTextOrientationKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2011-06-22 22:11:47 +04:00
CSS_PROP_TEXTRESET (
text - overflow ,
text_overflow ,
TextOverflow ,
2011-08-21 00:41:39 +04:00
CSS_PROPERTY_PARSE_VALUE |
2013-02-23 14:38:15 +04:00
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-08-21 00:41:39 +04:00
0 ,
2011-06-22 22:11:47 +04:00
kTextOverflowKTable ,
offsetof ( nsStyleTextReset , mTextOverflow ) ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
CSS_PROP_TEXT (
text - rendering ,
text_rendering ,
TextRendering ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kTextRenderingKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_TEXT (
text - shadow ,
text_shadow ,
TextShadow ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2009-07-16 04:24:24 +04:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
2011-05-09 23:02:34 +04:00
// NOTE: some components must be nonnegative
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-10-21 14:53:46 +04:00
offsetof ( nsStyleText , mTextShadow ) ,
eStyleAnimType_Shadow )
2011-11-24 06:48:23 +04:00
CSS_PROP_TEXT (
- moz - text - size - adjust ,
2016-12-21 10:16:50 +03:00
_moz_text_size_adjust ,
2011-11-24 06:48:23 +04:00
CSS_PROP_DOMPROP_PREFIXED ( TextSizeAdjust ) ,
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2017-02-17 00:27:16 +03:00
VARIANT_HK ,
kTextSizeAdjustKTable ,
2011-11-24 06:48:23 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-22 20:40:39 +03:00
CSS_PROP_SHORTHAND (
- webkit - text - stroke ,
_webkit_text_stroke ,
WebkitTextStroke ,
CSS_PROPERTY_PARSE_FUNCTION ,
" layout.css.prefixes.webkit " )
CSS_PROP_TEXT (
- webkit - text - stroke - color ,
_webkit_text_stroke_color ,
WebkitTextStrokeColor ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED ,
" layout.css.prefixes.webkit " ,
VARIANT_HC ,
nullptr ,
offsetof ( nsStyleText , mWebkitTextStrokeColor ) ,
2016-09-16 07:40:45 +03:00
eStyleAnimType_ComplexColor )
2016-04-22 20:40:39 +03:00
CSS_PROP_TEXT (
- webkit - text - stroke - width ,
_webkit_text_stroke_width ,
WebkitTextStrokeWidth ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
" layout.css.prefixes.webkit " ,
VARIANT_HKL | VARIANT_CALC ,
kBorderWidthKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_TEXT (
text - transform ,
text_transform ,
TextTransform ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kTextTransformKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
# ifndef CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
# ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
CSS_PROP_FONT (
- x - text - zoom ,
_x_text_zoom ,
TextZoom ,
CSS_PROPERTY_INTERNAL |
CSS_PROPERTY_PARSE_INACCESSIBLE ,
" " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
# endif // CSS_PROP_LIST_EXCLUDE_INTERNAL
# endif // CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
CSS_PROP_POSITION (
top ,
top ,
Top ,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
" " ,
VARIANT_AHLP | VARIANT_CALC ,
nullptr ,
offsetof ( nsStylePosition , mOffset ) ,
eStyleAnimType_Sides_Top )
# ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
CSS_PROP_DISPLAY (
- moz - top - layer ,
_moz_top_layer ,
CSS_PROP_DOMPROP_PREFIXED ( TopLayer ) ,
CSS_PROPERTY_INTERNAL |
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS ,
" " ,
VARIANT_HK ,
kTopLayerKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
# endif // CSS_PROP_LIST_EXCLUDE_INTERNAL
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 ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2015-03-20 07:12:17 +03:00
CSS_PROP_DISPLAY (
2012-05-05 13:00:04 +04:00
transform ,
2012-07-02 10:23:54 +04:00
transform ,
Transform ,
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_PARSE_FUNCTION |
2014-02-06 08:50:22 +04:00
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
2015-04-01 01:05:54 +03:00
CSS_PROPERTY_CREATES_STACKING_CONTEXT |
2015-12-01 02:46:44 +03:00
CSS_PROPERTY_CAN_ANIMATE_ON_COMPOSITOR |
CSS_PROPERTY_FIXPOS_CB ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2013-08-22 18:16:07 +04:00
nullptr ,
2015-03-20 07:12:17 +03:00
offsetof ( nsStyleDisplay , mSpecifiedTransform ) ,
2010-07-03 08:18:56 +04:00
eStyleAnimType_Custom )
2016-04-14 02:55:47 +03:00
// This shorthand is essentially an alias, but it requires different
// parsing rules, and it therefore implemented as a shorthand.
CSS_PROP_SHORTHAND (
- moz - transform ,
_moz_transform ,
MozTransform ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_IS_ALIAS ,
" layout.css.prefixes.transforms " )
2015-05-16 00:43:25 +03:00
CSS_PROP_DISPLAY (
transform - box ,
transform_box ,
TransformBox ,
CSS_PROPERTY_PARSE_VALUE ,
2015-09-16 00:10:48 +03:00
" svg.transform-box.enabled " ,
2015-05-16 00:43:25 +03:00
VARIANT_HK ,
kTransformBoxKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2015-03-20 07:12:17 +03:00
CSS_PROP_DISPLAY (
2012-07-02 10:23:54 +04:00
transform - origin ,
2012-05-05 13:00:04 +04:00
transform_origin ,
2012-07-02 10:23:54 +04:00
TransformOrigin ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_FUNCTION |
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
0 ,
2016-01-28 08:27:00 +03:00
kImageLayerPositionKTable ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2009-12-11 19:13:19 +03:00
eStyleAnimType_Custom )
2015-03-20 07:12:17 +03:00
CSS_PROP_DISPLAY (
2016-04-14 02:55:47 +03:00
transform - style ,
transform_style ,
TransformStyle ,
2014-02-06 08:50:22 +04:00
CSS_PROPERTY_PARSE_VALUE |
2015-12-01 02:46:44 +03:00
CSS_PROPERTY_CREATES_STACKING_CONTEXT |
CSS_PROPERTY_FIXPOS_CB ,
2012-05-10 05:29:37 +04:00
" " ,
2011-08-27 04:01:06 +04:00
VARIANT_HK ,
kTransformStyleKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-08-21 01:52:47 +04:00
CSS_PROP_SHORTHAND (
transition ,
2012-07-09 05:25:10 +04:00
transition ,
Transition ,
2012-05-10 05:29:37 +04:00
CSS_PROPERTY_PARSE_FUNCTION ,
" " )
2009-08-21 01:52:47 +04:00
CSS_PROP_DISPLAY (
2012-07-09 05:25:10 +04:00
transition - delay ,
2009-08-21 01:52:47 +04:00
transition_delay ,
2012-07-09 05:25:10 +04:00
TransitionDelay ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE_LIST |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_TIME , // used by list parsing
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-08-21 01:52:47 +04:00
CSS_PROP_DISPLAY (
2012-07-09 05:25:10 +04:00
transition - duration ,
2009-08-21 01:52:47 +04:00
transition_duration ,
2012-07-09 05:25:10 +04:00
TransitionDuration ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE_LIST |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-10 05:29:37 +04:00
" " ,
2012-07-14 05:01:34 +04:00
VARIANT_TIME | VARIANT_NONNEGATIVE_DIMENSION , // used by list parsing
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-08-21 01:52:47 +04:00
CSS_PROP_DISPLAY (
2012-07-09 05:25:10 +04:00
transition - property ,
2009-08-21 01:52:47 +04:00
transition_property ,
2012-07-09 05:25:10 +04:00
TransitionProperty ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_IDENTIFIER | VARIANT_NONE | VARIANT_ALL , // used only in shorthand
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2009-08-21 01:52:47 +04:00
CSS_PROP_DISPLAY (
2012-07-09 05:25:10 +04:00
transition - timing - function ,
2009-08-21 01:52:47 +04:00
transition_timing_function ,
2012-07-09 05:25:10 +04:00
TransitionTimingFunction ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE_LIST |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
2012-05-10 05:29:37 +04:00
" " ,
2011-04-12 10:18:42 +04:00
VARIANT_KEYWORD | VARIANT_TIMING_FUNCTION , // used by list parsing
2009-09-11 14:46:36 +04:00
kTransitionTimingFunctionKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2013-10-03 22:49:19 +04:00
# ifndef CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
2009-07-16 04:24:24 +04:00
CSS_PROP_TEXTRESET (
unicode - bidi ,
unicode_bidi ,
UnicodeBidi ,
2012-08-07 12:42:46 +04:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2012-08-07 12:42:46 +04:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kUnicodeBidiKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-04-14 02:55:47 +03:00
# endif // CSS_PROP_LIST_ONLY_COMPONENTS_OF_ALL_SHORTHAND
2009-07-16 04:24:24 +04:00
CSS_PROP_USERINTERFACE (
- moz - user - focus ,
2016-12-21 10:16:50 +03:00
_moz_user_focus ,
2011-03-18 06:14:30 +03:00
CSS_PROP_DOMPROP_PREFIXED ( UserFocus ) ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kUserFocusKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete ) // XXX bug 3935
2009-07-16 04:24:24 +04:00
CSS_PROP_USERINTERFACE (
- moz - user - input ,
2016-12-21 10:16:50 +03:00
_moz_user_input ,
2011-03-18 06:14:30 +03:00
CSS_PROP_DOMPROP_PREFIXED ( UserInput ) ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kUserInputKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete ) // XXX ??? // XXX bug 3935
2009-07-16 04:24:24 +04:00
CSS_PROP_USERINTERFACE (
- moz - user - modify ,
2016-12-21 10:16:50 +03:00
_moz_user_modify ,
2011-03-18 06:14:30 +03:00
CSS_PROP_DOMPROP_PREFIXED ( UserModify ) ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kUserModifyKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete ) // XXX bug 3935
2009-07-16 04:24:24 +04:00
CSS_PROP_UIRESET (
- moz - user - select ,
2016-12-21 10:16:50 +03:00
_moz_user_select ,
2011-03-18 06:14:30 +03:00
CSS_PROP_DOMPROP_PREFIXED ( UserSelect ) ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kUserSelectKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete ) // XXX bug 3935
2016-04-14 02:55:47 +03:00
CSS_PROP_SVGRESET (
vector - effect ,
vector_effect ,
VectorEffect ,
CSS_PROPERTY_PARSE_VALUE ,
" " ,
VARIANT_HK ,
kVectorEffectKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2008-12-12 21:59:03 +03: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
2016-04-12 08:52:41 +03:00
CSS_PROP_DISPLAY (
2009-07-16 04:24:24 +04:00
vertical - align ,
vertical_align ,
VerticalAlign ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_STORES_CALC |
2016-10-03 13:14:20 +03:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HKLP | VARIANT_CALC ,
2009-09-11 14:46:36 +04:00
kVerticalAlignKTable ,
2016-04-12 08:52:41 +03:00
offsetof ( nsStyleDisplay , mVerticalAlign ) ,
2009-09-11 14:46:36 +04:00
eStyleAnimType_Coord )
2009-07-16 04:24:24 +04:00
CSS_PROP_VISIBILITY (
visibility ,
visibility ,
Visibility ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kVisibilityKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete ) // reflow for collapse
2009-07-16 04:24:24 +04:00
CSS_PROP_TEXT (
white - space ,
white_space ,
WhiteSpace ,
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_PARSE_VALUE |
// This is required by the UA stylesheet and can't be overridden.
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kWhitespaceKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_POSITION (
width ,
width ,
Width ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_VALUE_NONNEGATIVE |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_STORES_CALC |
2013-09-23 17:28:55 +04:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_AHKLP | VARIANT_CALC ,
2009-09-11 14:46:36 +04:00
kWidthKTable ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStylePosition , mWidth ) ,
eStyleAnimType_Coord )
2016-04-14 02:55:47 +03:00
CSS_PROP_DISPLAY (
will - change ,
will_change ,
WillChange ,
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_VALUE_LIST_USES_COMMAS ,
" " ,
0 ,
nullptr ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2016-01-27 13:58:33 +03:00
CSS_PROP_UIRESET (
2014-09-18 12:52:25 +04:00
- moz - window - dragging ,
_moz_window_dragging ,
CSS_PROP_DOMPROP_PREFIXED ( WindowDragging ) ,
2015-10-09 03:35:09 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2014-09-18 12:52:25 +04:00
" " ,
VARIANT_HK ,
kWindowDraggingKTable ,
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2015-10-09 03:35:09 +03:00
# ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
2009-07-16 04:24:24 +04:00
CSS_PROP_UIRESET (
- moz - window - shadow ,
_moz_window_shadow ,
2011-03-18 06:14:30 +03:00
CSS_PROP_DOMPROP_PREFIXED ( WindowShadow ) ,
2015-10-06 06:18:35 +03:00
CSS_PROPERTY_INTERNAL |
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS_AND_CHROME ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2009-09-11 14:46:36 +04:00
kWindowShadowKTable ,
CSS_PROP_NO_OFFSET ,
eStyleAnimType_None )
2016-04-14 02:55:47 +03:00
# endif // CSS_PROP_LIST_EXCLUDE_INTERNAL
2012-05-07 23:18:23 +04:00
CSS_PROP_TEXT (
word - break ,
word_break ,
WordBreak ,
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2012-05-07 23:18:23 +04:00
VARIANT_HK ,
kWordBreakKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_TEXT (
word - spacing ,
word_spacing ,
WordSpacing ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE |
2012-07-16 17:11:33 +04:00
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE |
2012-11-09 14:25:52 +04:00
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
2015-11-09 03:40:37 +03:00
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
CSS_PROPERTY_STORES_CALC ,
2012-05-10 05:29:37 +04:00
" " ,
2015-11-09 03:40:37 +03:00
VARIANT_HLP | VARIANT_NORMAL | VARIANT_CALC ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-09-11 14:46:36 +04:00
offsetof ( nsStyleText , mWordSpacing ) ,
2015-10-22 08:13:11 +03:00
eStyleAnimType_Coord )
2009-07-16 04:24:24 +04:00
CSS_PROP_TEXT (
2016-05-24 03:27:21 +03:00
overflow - wrap ,
overflow_wrap ,
OverflowWrap ,
2011-03-05 20:58:33 +03:00
CSS_PROPERTY_PARSE_VALUE ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_HK ,
2016-05-24 03:27:21 +03:00
kOverflowWrapKTable ,
2009-09-11 14:46:36 +04:00
CSS_PROP_NO_OFFSET ,
2016-11-11 10:40:38 +03:00
eStyleAnimType_Discrete )
2013-08-19 14:26:44 +04:00
CSS_PROP_VISIBILITY (
writing - mode ,
writing_mode ,
WritingMode ,
2016-08-23 10:39:40 +03:00
CSS_PROPERTY_PARSE_VALUE ,
" " ,
2013-08-19 14:26:44 +04:00
VARIANT_HK ,
kWritingModeKTable ,
2016-08-16 08:30:16 +03:00
CSS_PROP_NO_OFFSET ,
eStyleAnimType_Discrete )
2009-07-16 04:24:24 +04:00
CSS_PROP_POSITION (
z - index ,
z_index ,
ZIndex ,
2014-02-06 08:50:22 +04:00
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_CREATES_STACKING_CONTEXT ,
2012-05-10 05:29:37 +04:00
" " ,
2011-03-05 20:58:33 +03:00
VARIANT_AHI ,
2012-07-30 18:20:58 +04:00
nullptr ,
2009-11-13 04:40:05 +03:00
offsetof ( nsStylePosition , mZIndex ) ,
eStyleAnimType_Coord )
2003-06-08 02:14:42 +04: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_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
2004-06-17 15:57:37 +04:00
# undef CSS_PROP_COLUMN
2003-06-08 02:14:42 +04:00
# undef CSS_PROP_SVG
Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).
Not part of default build; code is #ifdef'ed out.
r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 15:39:26 +03:00
# undef CSS_PROP_SVGRESET
2013-12-12 06:09:40 +04:00
# undef CSS_PROP_VARIABLES
2016-04-12 08:52:42 +03:00
# undef CSS_PROP_EFFECTS
2003-06-08 02:14:42 +04:00
# 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
2002-09-26 07:46:50 +04:00
# endif
2003-06-08 02:14:42 +04:00
# 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_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
2004-06-17 15:57:37 +04:00
# ifdef DEFINED_CSS_PROP_COLUMN
# undef CSS_PROP_COLUMN
# undef DEFINED_CSS_PROP_COLUMN
# endif
2003-06-08 02:14:42 +04:00
# ifdef DEFINED_CSS_PROP_SVG
# undef CSS_PROP_SVG
# undef DEFINED_CSS_PROP_SVG
# endif
Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).
Not part of default build; code is #ifdef'ed out.
r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 15:39:26 +03:00
# ifdef DEFINED_CSS_PROP_SVGRESET
# undef CSS_PROP_SVGRESET
# undef DEFINED_CSS_PROP_SVGRESET
# endif
2013-12-12 06:09:40 +04:00
# ifdef DEFINED_CSS_PROP_VARIABLES
# undef CSS_PROP_VARIABLES
# undef DEFINED_CSS_PROP_VARIABLES
# endif
2016-04-12 08:52:42 +03:00
# ifdef DEFINED_CSS_PROP_EFFECTS
# undef CSS_PROP_EFFECTS
# undef DEFINED_CSS_PROP_EFFECTS
# endif
2003-06-08 02:14:42 +04:00
# endif /* !defined(USED_CSS_PROP) */
2002-09-26 07:46:50 +04:00
2003-06-08 02:14:42 +04:00
# ifdef DEFINED_CSS_PROP_SHORTHAND
# undef CSS_PROP_SHORTHAND
# undef DEFINED_CSS_PROP_SHORTHAND
# endif
2015-01-17 07:16:01 +03:00
# ifdef DEFINED_CSS_PROP_LOGICAL
# undef CSS_PROP_LOGICAL
# undef DEFINED_CSS_PROP_LOGICAL
# endif
2013-03-25 20:24:21 +04:00
2013-03-25 20:34:23 +04:00
# undef CSS_PROP_DOMPROP_PREFIXED