mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
39 lines
1.5 KiB
C
39 lines
1.5 KiB
C
/* vim: set shiftwidth=2 tabstop=8 autoindent cindent expandtab: */
|
|
/* 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/. */
|
|
|
|
/*
|
|
* a list of all CSS property aliases with data about them, for preprocessing
|
|
*/
|
|
|
|
/******
|
|
|
|
This file contains the list of all CSS properties that are just
|
|
aliases for other properties (e.g., for when we temporarily continue
|
|
to support a prefixed property after adding support for its unprefixed
|
|
form). 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_ALIAS macro which will have cruel and unusual things done to
|
|
it.
|
|
|
|
The arguments to CSS_PROP_ALIAS are:
|
|
|
|
-. 'aliasname' entries represent a CSS property name and *must* use
|
|
only lowercase characters.
|
|
|
|
-. 'id' should be the same as the 'id' field in nsCSSPropList.h for
|
|
the property that 'aliasname' is being aliased to.
|
|
|
|
-. 'method' is the CSS2Properties property name. Unlike
|
|
nsCSSPropList.h, prefixes should just be included in this file (rather
|
|
than needing the CSS_PROP_DOMPROP_PREFIXED(prop) macro).
|
|
|
|
-. '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.
|
|
|
|
******/
|
|
|
|
CSS_PROP_ALIAS(-moz-border-image, border_image, MozBorderImage, "")
|