cssom/cssom-source

changeset 6642
aac637834c2e
parent 6534
f6b40801289d
child 6794
7c881a97c919
     1.1 --- a/cssom/cssom-source	Fri Aug 31 17:27:28 2012 -0700
     1.2 +++ b/cssom/cssom-source	Mon Sep 03 13:31:48 2012 +0800
     1.3 @@ -1338,48 +1338,6 @@
     1.4     attribute, followed the character "<code>;</code>" (U+003B).</p></dd>
     1.5    </dl>
     1.6  
     1.7 -  <p>To <dfn>insert a CSS rule</dfn> <var>rule</var> into a
     1.8 -  CSS rule list <var>list</var> at location
     1.9 -  <var>index</var> follow these steps:</p>
    1.10 -
    1.11 -  <ol>
    1.12 -   <li><p>If <var>index</var> is negative or greater than the
    1.13 -   length of the <var>list</var>,
    1.14 -   <span data-anolis-spec=dom title=concept-throw>throw</span> an
    1.15 -   "<code data-anolis-spec=dom>IndexSizeError</code>" exception and
    1.16 -   terminate these steps.</li>
    1.17 -
    1.18 -   <li><p><span title="Parse a CSS rule">Parse</span>
    1.19 -   <var>rule</var>.</p></li>
    1.20 -
    1.21 -   <li><p>If parsing failed terminate these steps.</p></li>
    1.22 -
    1.23 -   <li><p>If the new object can not be inserted within the
    1.24 -   <var>list</var> at the given <var>index</var> due to
    1.25 -   limitations of the CSS specification,
    1.26 -   <span data-anolis-spec=dom title=concept-throw>throw</span> an
    1.27 -   "<code data-anolis-spec=dom>HierarchyRequestError</code>" exception and
    1.28 -   terminate these steps.</li>
    1.29 -
    1.30 -   <li><p>Insert the new object at the given <var>index</var>
    1.31 -   within the <var>list</var>.</p></li>
    1.32 -  </ol>
    1.33 -
    1.34 -  <p>To <dfn>remove a CSS rule</dfn> from CSS rule list
    1.35 -  <var>list</var> at location <var>index</var> follow
    1.36 -  these steps:</p>
    1.37 -
    1.38 -  <ol>
    1.39 -   <li><p>If <var>index</var> is negative or greater than the
    1.40 -   length of the <var>list</var>
    1.41 -   <span data-anolis-spec=dom title=concept-throw>throw</span> an
    1.42 -   "<code data-anolis-spec=dom>IndexSizeError</code>" exception and terminate these steps.</p></li>
    1.43 -
    1.44 -   <li><p>Remove the object at <var>index</var> from
    1.45 -   <var>list</var>.</p></li>
    1.46 -  </ol>
    1.47 -
    1.48 -
    1.49    <!-- ........................................................................................................................ -->
    1.50  
    1.51    <h4>The <code>CSSRuleList</code> Sequence</h4>

mercurial