forked from SVGKit/SVGKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCSSStyleSheet.h
More file actions
31 lines (22 loc) · 861 Bytes
/
Copy pathCSSStyleSheet.h
File metadata and controls
31 lines (22 loc) · 861 Bytes
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
/**
http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-CSSStyleSheet
interface CSSStyleSheet : stylesheets::StyleSheet {
readonly attribute CSSRule ownerRule;
readonly attribute CSSRuleList cssRules;
unsigned long insertRule(in DOMString rule,
in unsigned long index)
raises(DOMException);
void deleteRule(in unsigned long index)
raises(DOMException);
*/
#import <Foundation/Foundation.h>
#import "CSSRule.h"
#import "CSSRuleList.h"
@interface CSSStyleSheet : NSObject
@property(nonatomic,retain) CSSRule* ownerRule;
@property(nonatomic,retain) CSSRuleList* cssRules;
-(long) insertRule:(NSString*) rule index:(unsigned long) index;
-(void) deleteRule:(unsigned long) index;
#pragma mark - methods needed for ObjectiveC implementation
- (id)initWithString:(NSString*) styleSheetBody;
@end