001/*
002 * To change this license header, choose License Headers in Project Properties.
003 * To change this template file, choose Tools | Templates
004 * and open the template in the editor.
005 */
006package gwt.material.design.jscore.client.api.html;
007
008import jsinterop.annotations.JsProperty;
009
010/** 
011 * Native CSSRule 
012 * https://developer.mozilla.org/en-US/docs/Web/API/CSSRule
013 * 
014 * @author Cristian Rinaldi
015 */
016public class CSSRule {
017    
018    final short STYLE_RULE = 1;
019    final short CHARSET_RULE = 2; // Obsolete
020    final short IMPORT_RULE = 3;
021    final short MEDIA_RULE = 4;
022    final short FONT_FACE_RULE = 5;
023    final short PAGE_RULE = 6;
024    final short KEYFRAMES_RULE = 7;
025    final short KEYFRAME_RULE = 8;
026    final short NAMESPACE_RULE = 10;
027    final short COUNTER_STYLE_RULE = 11;
028    final short SUPPORTS_RULE = 12;
029    final short DOCUMENT_RULE = 13;
030    final short FONT_FEATURE_VALUES_RULE = 14;
031    final short VIEWPORT_RULE = 15;
032    final short REGION_STYLE_RULE = 16;
033    
034    @JsProperty
035    public native short getType();
036    
037    
038}