OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 21 matching lines...) Expand all Loading... |
32 // RuleType | 32 // RuleType |
33 const unsigned short UNKNOWN_RULE = 0; | 33 const unsigned short UNKNOWN_RULE = 0; |
34 const unsigned short STYLE_RULE = 1; | 34 const unsigned short STYLE_RULE = 1; |
35 const unsigned short CHARSET_RULE = 2; | 35 const unsigned short CHARSET_RULE = 2; |
36 const unsigned short IMPORT_RULE = 3; | 36 const unsigned short IMPORT_RULE = 3; |
37 const unsigned short MEDIA_RULE = 4; | 37 const unsigned short MEDIA_RULE = 4; |
38 const unsigned short FONT_FACE_RULE = 5; | 38 const unsigned short FONT_FACE_RULE = 5; |
39 const unsigned short PAGE_RULE = 6; | 39 const unsigned short PAGE_RULE = 6; |
40 const unsigned short WEBKIT_KEYFRAMES_RULE = 7; | 40 const unsigned short WEBKIT_KEYFRAMES_RULE = 7; |
41 const unsigned short WEBKIT_KEYFRAME_RULE = 8; | 41 const unsigned short WEBKIT_KEYFRAME_RULE = 8; |
| 42 #if defined(ENABLE_CSS_REGIONS) && ENABLE_CSS_REGIONS |
42 const unsigned short WEBKIT_REGION_RULE = 10; | 43 const unsigned short WEBKIT_REGION_RULE = 10; |
| 44 #endif |
43 | 45 |
44 readonly attribute unsigned short type; | 46 readonly attribute unsigned short type; |
45 | 47 |
46 attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullStri
ng] DOMString cssText | 48 attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullStri
ng] DOMString cssText |
47 setter raises (DOMException); | 49 setter raises (DOMException); |
48 | 50 |
49 readonly attribute CSSStyleSheet parentStyleSheet; | 51 readonly attribute CSSStyleSheet parentStyleSheet; |
50 readonly attribute CSSRule parentRule; | 52 readonly attribute CSSRule parentRule; |
51 | 53 |
52 }; | 54 }; |
53 | 55 |
54 } | 56 } |
OLD | NEW |