Skip to content
Permalink
Browse files

[] (0) Fix the bug whereby color rules on 'html' elements in author C…

…SS wouldn't work. (credit: sp)

git-svn-id: http://svn.whatwg.org/webapps@2779 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Feb 11, 2009
1 parent c7c3e76 commit e55427e1b6e38dc76586b4b0b0dda046aa44c8d0
Showing with 10 additions and 2 deletions.
  1. +4 −1 index
  2. +6 −1 source
5 index

:link { color: blue; }
:visited { color: purple; }
body { color: black; background: white; }
mark { background: yellow; color: black; }

table, td, th { border-color: gray; }

</pre>

<hr><p>The initial value for the 'color' property is expected to be
black. The initial value for the 'background-color' property is
expected to be white.</p>

<hr><p>The <code><a href=#the-article-element>article</a></code>, <code><a href=#the-aside-element>aside</a></code>, <code><a href=#the-nav-element>nav</a></code>,
and <code><a href=#the-section-element>section</a></code> elements are expected to affect the styling
of <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code> elements, based on the nesting depth. If <var title="">x</var> is a selector that matches elements that are either
7 source

:link { color: blue; }
:visited { color: purple; }
body { color: black; background: white; }
mark { background: yellow; color: black; }

table, td, th { border-color: gray; }

<hr>

<p>The initial value for the 'color' property is expected to be
black. The initial value for the 'background-color' property is
expected to be white.</p>

<hr>

<p>The <code>article</code>, <code>aside</code>, <code>nav</code>,
and <code>section</code> elements are expected to affect the styling
of <code>h1</code> elements, based on the nesting depth. If <var

0 comments on commit e55427e

Please sign in to comment.
You can’t perform that action at this time.