summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/webkit/DOMCSSStyleDeclaration.inc
blob: 8f4d7ec7e621c69a2dbe48338a532de0e43a138c (plain)
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
{ Parsed from WebKit.framework DOMCSSStyleDeclaration.h }


{$ifdef TYPES}
type
  DOMCSSStyleDeclarationPtr = ^DOMCSSStyleDeclaration;
{$endif}

{$ifdef CLASSES}

type
  DOMCSSStyleDeclaration = objcclass external (DOMObject)
  public
    procedure setCssText(newValue: NSString); message 'setCssText:';
    function cssText: NSString; message 'cssText';
    function length: cuint; message 'length';
    function parentRule: DOMCSSRule; message 'parentRule';
    function getPropertyValue (propertyName: NSString): NSString; message 'getPropertyValue:';
    function getPropertyCSSValue (propertyName: NSString): DOMCSSValue; message 'getPropertyCSSValue:';
    function removeProperty (propertyName: NSString): NSString; message 'removeProperty:';
    function getPropertyPriority (propertyName: NSString): NSString; message 'getPropertyPriority:';
    procedure setProperty_value_priority (propertyName: NSString; value: NSString; priority: NSString); message 'setProperty:value:priority:'; { available in 10_5 }
    function item (index: cuint): NSString; message 'item:';
    function getPropertyShorthand (propertyName: NSString): NSString; message 'getPropertyShorthand:'; deprecated 'in 10_5, 10_5';
    function isPropertyImplicit (propertyName: NSString): ObjCBOOL; message 'isPropertyImplicit:'; { available in 10_5 }
  end;


type
  DOMCSSStyleDeclarationDeprecated = objccategory external (DOMCSSStyleDeclaration)
    procedure setProperty_value (propertyName: NSString; priority: NSString); message 'setProperty:value:'; deprecated 'in 10_4, 10_5';
  end;
{$endif}