1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 /* a list of style struct's member variables which can be visited-dependent */
9 /* This file contains the list of all style structs and fields that can
10 * be visited-dependent. Each entry is defined as a STYLE_STRUCT macro
11 * with the following parameters:
12 * - 'name_' the name of the style struct
13 * - 'fields_' the list of member variables in the style struct that can
14 * be visited-dependent
16 * Users of this list should define a macro STYLE_STRUCT(name_, fields_)
17 * before including this file.
19 * Note that, currently, there is a restriction that all fields in a
20 * each entry must have the same type, otherwise you need two entries.
23 STYLE_STRUCT(Background
, (mBackgroundColor
))
24 STYLE_STRUCT(Border
, (mBorderTopColor
,
28 STYLE_STRUCT(Outline
, (mOutlineColor
))
29 STYLE_STRUCT(Column
, (mColumnRuleColor
))
30 STYLE_STRUCT(Text
, (mColor
))
31 STYLE_STRUCT(Text
, (mTextEmphasisColor
,
33 mWebkitTextStrokeColor
))
34 STYLE_STRUCT(TextReset
, (mTextDecorationColor
))
35 STYLE_STRUCT(SVG
, (mFill
, mStroke
))
36 STYLE_STRUCT(UI
, (mCaretColor
))