|
| 1 | +[NoInterfaceObject, Documentation= |
| 2 | +"<p>The <dfn>associated document</dfn> of an object <var>obj</var> is <var>obj</var>'s <span data-anolis-spec=dom title=concept-node-document>node\ |
| 3 | + document</span> if <var>obj</var> is an <code>Element</code> object, or <var>obj</var>'s associated <code>Element</code> object's\ |
| 4 | + <span data-anolis-spec=dom title=concept-node-document>node document</span> if <var>obj</var> is a <code>PseudoElement</code> object.</p>" |
| 5 | +] |
| 6 | +interface GetStyleUtils { |
| 7 | + |
| 8 | + [Documentation= |
| 9 | + "<!--ATRISK--><p>The {@name} {@type} must return a <span>CSS declaration block</span> with the\ |
| 10 | + <span>CSS declaration block readonly flag</span> set and the\ |
| 11 | + <span>CSS declaration block declarations</span> set to all properties\ |
| 12 | + the user agent supports with as value the <span>specified value</span>\ |
| 13 | + computed for the <span data-anolis-spec=dom>context object</span> using the style rules associated\ |
| 14 | + with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>.</p>" |
| 15 | + ] |
| 16 | + readonly attribute CSSStyleDeclaration specifiedStyle; |
| 17 | + |
| 18 | + [Documentation= |
| 19 | + "<!--ATRISK--><p>The {@name} {@type} must return a <span>CSS declaration block</span> with the <span>CSS declaration block readonly flag</span> set and the\ |
| 20 | + <span>CSS declaration block declarations</span> set to all properties the user agent supports with as value the <span>computed value</span> computed for\ |
| 21 | + the <span data-anolis-spec=dom>context object</span> using the user agent-level style rules and user-level style rules associated with the\ |
| 22 | + <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>, ignoring transitions, animations, author-level style\ |
| 23 | + rules, author-level presentational hints and override-level style rules.</p>" |
| 24 | + ] |
| 25 | + readonly attribute CSSStyleDeclaration defaultStyle; |
| 26 | + |
| 27 | + [Documentation= |
| 28 | + "<!--ATRISK--><p>The {@name} {@type} must return a <span>CSS declaration block</span> with the\ |
| 29 | + <span>CSS declaration block readonly flag</span> set and the\ |
| 30 | + <span>CSS declaration block declarations</span> set to all properties\ |
| 31 | + the user agent supports with as value the <span>computed value</span>\ |
| 32 | + computed for the <span data-anolis-spec=dom>context object</span> using the style rules associated\ |
| 33 | + with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>.</p>" |
| 34 | + ] |
| 35 | + readonly attribute CSSStyleDeclaration computedStyle; |
| 36 | + |
| 37 | + [Documentation= |
| 38 | + "<!--ATRISK--><p>The {@name} {@type} must return a <span>CSS declaration block</span> with the\ |
| 39 | + <span>CSS declaration block readonly flag</span> set and the\ |
| 40 | + <span>CSS declaration block declarations</span> set to all properties\ |
| 41 | + the user agent supports with as value the <span>used value</span>\ |
| 42 | + computed for the <span data-anolis-spec=dom>context object</span> using the style rules associated\ |
| 43 | + with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>.</p>" |
| 44 | + ] |
| 45 | + readonly attribute CSSStyleDeclaration usedStyle; |
| 46 | + |
| 47 | +}; |
0 commit comments