Bug 1877642 - Disable browser_fullscreen-tab-close-race.js on apple_silicon !debug...
[gecko.git] / accessible / base / StyleInfo.h
blobe078a8683461f2820fd816d3a2da3961b7783261
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set expandtab shiftwidth=2 tabstop=2: */
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 #ifndef _mozilla_a11y_style_h_
8 #define _mozilla_a11y_style_h_
10 #include "mozilla/gfx/Types.h"
11 #include "mozilla/AlreadyAddRefed.h"
12 #include "nsStringFwd.h"
13 #include "nsColor.h"
15 class nsAtom;
17 namespace mozilla {
19 enum class StyleTextDecorationStyle : uint8_t;
21 namespace dom {
22 class Element;
23 } // namespace dom
24 namespace a11y {
26 class StyleInfo {
27 public:
28 static void FormatColor(const nscolor& aValue, nsAString& aFormattedValue);
29 static already_AddRefed<nsAtom> TextDecorationStyleToAtom(
30 StyleTextDecorationStyle aValue);
33 } // namespace a11y
34 } // namespace mozilla
36 #endif