CSSStyleRule.h 638 B

123456789101112131415161718192021222324
  1. /**
  2. http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-CSSStyleRule
  3. interface CSSStyleRule : CSSRule {
  4. attribute DOMString selectorText;
  5. // raises(DOMException) on setting
  6. readonly attribute CSSStyleDeclaration style;
  7. */
  8. #import <Foundation/Foundation.h>
  9. #import "CSSRule.h"
  10. #import "CSSStyleDeclaration.h"
  11. @interface CSSStyleRule : CSSRule
  12. @property(nonatomic,strong) NSString* selectorText;
  13. @property(nonatomic,strong) CSSStyleDeclaration* style;
  14. #pragma mark - methods needed for ObjectiveC implementation
  15. - (id)initWithSelectorText:(NSString*) selector styleText:(NSString*) styleText;
  16. @end