1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
/*
* Copyright (C)2005-2015 Haxe Foundation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
// This file is generated from mozilla/CSSPrimitiveValue.webidl line 9:0. Do not edit!
package js.html;
@:native("CSSPrimitiveValue")
extern class CSSPrimitiveValue extends CSSValue
{
static inline var CSS_UNKNOWN : Int = 0;
static inline var CSS_NUMBER : Int = 1;
static inline var CSS_PERCENTAGE : Int = 2;
static inline var CSS_EMS : Int = 3;
static inline var CSS_EXS : Int = 4;
static inline var CSS_PX : Int = 5;
static inline var CSS_CM : Int = 6;
static inline var CSS_MM : Int = 7;
static inline var CSS_IN : Int = 8;
static inline var CSS_PT : Int = 9;
static inline var CSS_PC : Int = 10;
static inline var CSS_DEG : Int = 11;
static inline var CSS_RAD : Int = 12;
static inline var CSS_GRAD : Int = 13;
static inline var CSS_MS : Int = 14;
static inline var CSS_S : Int = 15;
static inline var CSS_HZ : Int = 16;
static inline var CSS_KHZ : Int = 17;
static inline var CSS_DIMENSION : Int = 18;
static inline var CSS_STRING : Int = 19;
static inline var CSS_URI : Int = 20;
static inline var CSS_IDENT : Int = 21;
static inline var CSS_ATTR : Int = 22;
static inline var CSS_COUNTER : Int = 23;
static inline var CSS_RECT : Int = 24;
static inline var CSS_RGBCOLOR : Int = 25;
var primitiveType(default,null) : Int;
/** @throws DOMError */
function setFloatValue( unitType : Int, floatValue : Float ) : Void;
/** @throws DOMError */
function getFloatValue( unitType : Int ) : Float;
/** @throws DOMError */
function setStringValue( stringType : Int, stringValue : String ) : Void;
/** @throws DOMError */
function getStringValue() : String;
/** @throws DOMError */
function getCounterValue() : Dynamic/*MISSING Counter*/;
/** @throws DOMError */
function getRectValue() : Rect;
/** @throws DOMError */
function getRGBColorValue() : RGBColor;
}
|