Checking in Sources/Docs of DOM Level 2 from :
http://www.w3.org/DOM/DOMTM git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225913 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
7d5c881d20
commit
82b88df622
231 files changed
+66110
No files matched your search
@@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- ViewCSS interface -->
|
||||
|
||||
<interface id="CSS-ViewCSS" name="ViewCSS" inherits="views::AbstractView" since="DOM Level 2">
|
||||
<descr>
|
||||
<p>
|
||||
This interface represents a CSS view. The <code>getComputedStyle</code>
|
||||
method provides a <b>read only access</b> to the <xspecref
|
||||
href="&css2;/cascade.html#computed-value">computed values</xspecref> of
|
||||
an element.
|
||||
</p>
|
||||
<p>
|
||||
The expectation is that an instance of the <code>ViewCSS</code>
|
||||
interface can be obtained by using binding-specific casting methods on an
|
||||
instance of the <code>AbstractView</code> interface.
|
||||
</p>
|
||||
<p>
|
||||
Since a computed style is related to an <code>Element</code> node, if
|
||||
this element is removed from the document, the associated
|
||||
<code>CSSStyleDeclaration</code> and <code>CSSValue</code> related to
|
||||
this declaration are no longer valid.
|
||||
</p>
|
||||
|
||||
</descr>
|
||||
|
||||
<method id="CSS-CSSview-getComputedStyle" name="getComputedStyle">
|
||||
<descr>
|
||||
<p>
|
||||
This method is used to get the computed style as it is defined in
|
||||
<bibref ref="CSS2"/>.
|
||||
</p>
|
||||
</descr>
|
||||
<parameters>
|
||||
<param name="elt" type="Element" attr="in">
|
||||
<descr>
|
||||
<p>
|
||||
The element whose style is to be computed. This parameter cannot
|
||||
be null.
|
||||
</p>
|
||||
</descr>
|
||||
</param>
|
||||
<param name="pseudoElt" type="DOMString" attr="in">
|
||||
<descr>
|
||||
<p>
|
||||
The pseudo-element or <code>null</code> if none.
|
||||
</p>
|
||||
</descr>
|
||||
</param>
|
||||
</parameters>
|
||||
<returns type="CSSStyleDeclaration">
|
||||
<descr>
|
||||
<p>
|
||||
The computed style. The <code>CSSStyleDeclaration</code> is
|
||||
read-only and contains only absolute values.
|
||||
</p>
|
||||
</descr>
|
||||
</returns>
|
||||
<raises>
|
||||
<!-- No Exception -->
|
||||
</raises>
|
||||
</method>
|
||||
|
||||
</interface>
|
||||
Reference in new issue
Block a user