mozilla

Compare Revisions

:root

Change Revisions

Revision 289361:

Revision 289361 by teoli on

Revision 293071:

Revision 293071 by teoli on

Title:
:root
:root
Slug:
CSS/:root
CSS/:root
Tags:
css, NeedsMobileBrowserCompatibility, CSS Reference, Selectors
css, NeedsMobileBrowserCompatibility, CSS Reference, Selectors
Content:

Revision 289361
Revision 293071
n14      The <code>:root</code> <a href="/en/CSS/Pseudo-classes" titn14      The <code>:root</code> CSS <a href="/en/CSS/Pseudo-classes"
>le="Pseudo-classes">pseudo-class</a> matches the root element of > title="Pseudo-classes">pseudo-class</a> matches the root element
>a tree representing the document. In HTML, <code>:root</code> rep> of a tree representing the document. Applied to HTML, <code>:roo
>resents the {{ HTMLElement("html") }} element and is identical to>t</code> represents the {{ HTMLElement("html") }} element and is 
> the selector <code>html</code>, except that its <a href="/en/CSS>identical to the selector <code>html</code>, except that its <a h
>/Specificity" title="Specificity">specifity</a> is higher.>ref="/en/CSS/Specificity" title="Specificity">specifity</a> is hi
 >gher.
n16    <h2 class="editable" id="Specifications">n16    <h2 id="Specifications">
17      <span>Specifications</span>17      Specifications
t19    <ul>t19    <table class="standard-table">
20      <li>20      <thead>
21        <a class="external" href="http://www.w3.org/TR/css3-selec21        <tr>
>tors/#root-pseudo" rel="external nofollow" target="_blank" title= 
>"http://www.w3.org/TR/css3-selectors/#root-pseudo">CSS 3 Selector 
>s #root-pseudo</a> 
22          <th scope="col">
23            Specification
24          </th>
25          <th scope="col">
26            Status
27          </th>
28          <th scope="col">
29            Comment
30          </th>
22      </li>31        </tr>
32      </thead>
33      <tbody>
34        <tr>
35          <td>
36            {{ SpecName('CSS3 Selectors', '#root-pseudo', ':root'
 >) }}
37          </td>
38          <td>
39            {{ Spec2('CSS3 Selectors') }}
40          </td>
41          <td>
42            &nbsp;
43          </td>
44        </tr>
45      </tbody>
23    </ul>46    </table>

Back to History