File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22<html lang="en">
3- <!-- $Id: cascade.src,v 2.56 2006-01 -31 19: 13:32 bbos Exp $ -->
3+ <!-- $Id: cascade.src,v 2.57 2006-03 -31 13:25:58 howcome Exp $ -->
44<HEAD>
55<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66<TITLE>Assigning property values, Cascading, and Inheritance</TITLE>
@@ -276,7 +276,9 @@ must apply the following sorting order:</p>
276276 Declarations apply if the associated selector <A
277277 HREF="selector.html">matches</A> the element in question.
278278
279- <LI>Sort by importance (normal or important) and origin (author, user, or user agent). In ascending order:
279+ <LI>Sort according to importance (normal or important)
280+ and origin (author, user, or user agent). In ascending order of
281+ precendence:
280282
281283<ol>
282284<li>user agent style sheets
@@ -287,7 +289,7 @@ must apply the following sorting order:</p>
287289</ol>
288290
289291 <LI>
290- Sort by <a href="#specificity">specificity</a>
292+ Sort rules with the same importance and origin by <a href="#specificity">specificity</a>
291293 of selector: more specific
292294 selectors will override more general ones. Pseudo-elements and
293295 pseudo-classes are counted as normal elements and classes,
You can’t perform that action at this time.
0 commit comments