Bug 1692937 [wpt PR 27636] - new parameter --include-file for wptrunner, a=testonly
[gecko.git] / layout / style / CSS.h
blob7fc93bf944486099e866d446b735714cca7842a7
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 /* DOM object holding utility CSS functions */
9 #ifndef mozilla_dom_CSS_h_
10 #define mozilla_dom_CSS_h_
12 #include "mozilla/Attributes.h"
13 #include "mozilla/Preferences.h"
15 namespace mozilla {
17 class ErrorResult;
19 namespace dom {
21 class GlobalObject;
23 class CSS {
24 private:
25 CSS() = delete;
27 public:
28 static bool Supports(const GlobalObject&, const nsACString& aProperty,
29 const nsACString& aValue);
31 static bool Supports(const GlobalObject&, const nsACString& aDeclaration);
33 static void Escape(const GlobalObject&, const nsAString& aIdent,
34 nsAString& aReturn);
37 } // namespace dom
38 } // namespace mozilla
40 #endif // mozilla_dom_CSS_h_