bug 821593 - add RGBColor webidl r=bz
authorTrevor Saunders <trev.saunders@gmail.com>
Sat, 20 Oct 2012 13:42:20 -0400
changeset 125354 9ea3572c80b338b518ec3f211e4a739a13f010f0
parent 125353 163f1b12bdef4a50726f85830d0552f98d364ba6
child 125355 7c8138b6848a740319b3b8fbb8a5611d91bdb3e7
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs821593
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 821593 - add RGBColor webidl r=bz
dom/webidl/RGBColor.webidl
new file mode 100644
--- /dev/null
+++ b/dom/webidl/RGBColor.webidl
@@ -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;
+};