Specify cascading rules.

Thu, 16 Aug 2012 14:40:05 -0700

author
L. David Baron <dbaron@dbaron.org>
date
Thu, 16 Aug 2012 14:40:05 -0700
changeset 6486
b139c2dad64d
parent 6485
d71ab862ce20
child 6487
cd908039c977

Specify cascading rules.

css3-overflow/Overview.html file | annotate | diff | comparison | revisions
css3-overflow/Overview.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/css3-overflow/Overview.html	Thu Aug 16 14:35:33 2012 -0700
     1.2 +++ b/css3-overflow/Overview.html	Thu Aug 16 14:40:05 2012 -0700
     1.3 @@ -484,6 +484,13 @@
     1.4     selector (excluding the ‘<code class=css>::nth-fragment()</code>’
     1.5     pseudo-element) matches the element generating the fragments.
     1.6  
     1.7 +  <p> When determining the style of the <a href="#fragment-box"><i>fragment
     1.8 +   box</i></a>, these rules that match the fragment pseudo-element cascade
     1.9 +   together with the rules that match the element, with the fragment
    1.10 +   pseudo-element adding the specificity of a pseudo-class to the specificity
    1.11 +   calculation. <span class=issue>Does this need to be specified in the
    1.12 +   cascading module as well?</span>
    1.13 +
    1.14    <div class=example>
    1.15     <table class=source-demo-pair>
    1.16      <tbody>
     2.1 --- a/css3-overflow/Overview.src.html	Thu Aug 16 14:35:33 2012 -0700
     2.2 +++ b/css3-overflow/Overview.src.html	Thu Aug 16 14:40:05 2012 -0700
     2.3 @@ -378,6 +378,16 @@
     2.4  		matches the element generating the fragments.
     2.5  	</p>
     2.6  
     2.7 +	<p>
     2.8 +		When determining the style of the <i>fragment box</i>,
     2.9 +		these rules that match the fragment pseudo-element
    2.10 +		cascade together with the rules that match the element,
    2.11 +		with the fragment pseudo-element adding the specificity
    2.12 +		of a pseudo-class to the specificity calculation.
    2.13 +		<span class="issue">Does this need to be specified in
    2.14 +		the cascading module as well?</span>
    2.15 +	</p>
    2.16 +
    2.17  	<div class="example">
    2.18  		<table class="source-demo-pair"><tr><td><pre>&lt;!DOCTYPE HTML&gt;
    2.19  &lt;style&gt;

mercurial