mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
bug 821593 - add RGBColor webidl r=bz
This commit is contained in:
parent
54792f2e4d
commit
73579d7d88
17
dom/webidl/RGBColor.webidl
Normal file
17
dom/webidl/RGBColor.webidl
Normal file
@ -0,0 +1,17 @@
|
||||
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* 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/.
|
||||
*
|
||||
* The origin of this IDL file is
|
||||
* http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-RGBColor
|
||||
*/
|
||||
|
||||
interface RGBColor {
|
||||
readonly attribute CSSPrimitiveValue red;
|
||||
readonly attribute CSSPrimitiveValue green;
|
||||
readonly attribute CSSPrimitiveValue blue;
|
||||
|
||||
// mozilla specific
|
||||
readonly attribute CSSPrimitiveValue alpha;
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user