diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /layout/style/nsCSSVisitedDependentPropList.h | |
parent | Initial commit. (diff) | |
download | firefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/style/nsCSSVisitedDependentPropList.h')
-rw-r--r-- | layout/style/nsCSSVisitedDependentPropList.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/layout/style/nsCSSVisitedDependentPropList.h b/layout/style/nsCSSVisitedDependentPropList.h new file mode 100644 index 0000000000..e6a688369c --- /dev/null +++ b/layout/style/nsCSSVisitedDependentPropList.h @@ -0,0 +1,36 @@ +/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* vim: set ts=8 sts=2 et sw=2 tw=80: */ +/* 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 style struct's member variables which can be visited-dependent */ + +/* This file contains the list of all style structs and fields that can + * be visited-dependent. Each entry is defined as a STYLE_STRUCT macro + * with the following parameters: + * - 'name_' the name of the style struct + * - 'fields_' the list of member variables in the style struct that can + * be visited-dependent + * + * Users of this list should define a macro STYLE_STRUCT(name_, fields_) + * before including this file. + * + * Note that, currently, there is a restriction that all fields in a + * each entry must have the same type, otherwise you need two entries. + */ + +STYLE_STRUCT(Background, (mBackgroundColor)) +STYLE_STRUCT(Border, (mBorderTopColor, + mBorderRightColor, + mBorderBottomColor, + mBorderLeftColor)) +STYLE_STRUCT(Outline, (mOutlineColor)) +STYLE_STRUCT(Column, (mColumnRuleColor)) +STYLE_STRUCT(Text, (mColor)) +STYLE_STRUCT(Text, (mTextEmphasisColor, + mWebkitTextFillColor, + mWebkitTextStrokeColor)) +STYLE_STRUCT(TextReset, (mTextDecorationColor)) +STYLE_STRUCT(SVG, (mFill, mStroke)) +STYLE_STRUCT(UI, (mCaretColor)) |