|
2 | 2 |
|
3 | 3 | <html lang=en> |
4 | 4 | <head profile="http://dublincore.org/documents/2008/08/04/dc-html/ "> |
| 5 | + <meta charset=utf8> |
5 | 6 | <title>CSS Cascading and Inheritance Level 3</title> |
6 | 7 |
|
7 | 8 | <link href="http://purl.org/dc/terms/" rel=schema.dcterms> |
8 | 9 | <link href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright" |
9 | 10 | rel=dcterms.rights> |
10 | 11 | <meta content="CSS Cascading and Inheritance Level 3" name=dcterms.title> |
11 | 12 | <meta content=text name=dcterms.type> |
12 | | - <meta content=2013-06-08 name=dcterms.date> |
| 13 | + <meta content=2013-06-10 name=dcterms.date> |
13 | 14 | <meta content="Håkon Wium Lie" name=dcterms.creator> |
14 | 15 | <meta content="Elika J. Etemad" name=dcterms.creator> |
15 | 16 | <meta content="Tab Atkins Jr." name=dcterms.creator> |
|
28 | 29 |
|
29 | 30 | <h1>CSS Cascading and Inheritance Level 3</h1> |
30 | 31 |
|
31 | | - <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 8 June 2013</h2> |
| 32 | + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 10 June 2013</h2> |
32 | 33 |
|
33 | 34 | <dl><!-- |
34 | 35 | <dt>This version: |
35 | | - <dd><a href="http://dev.w3.org/csswg/css3-cascade/">http://www.w3.org/TR/2013/WD-css3-cascade-20130608/</a> |
| 36 | + <dd><a href="http://dev.w3.org/csswg/css3-cascade/">http://www.w3.org/TR/2013/WD-css3-cascade-20130610/</a> |
36 | 37 | --> |
37 | 38 |
|
38 | 39 | <dt>Latest version: |
@@ -555,16 +556,9 @@ <h3 id=cascade><span class=secno>4.2. </span> Cascading Declarations</h3> |
555 | 556 | rules the declaration whose <a href="#scoping-element"><i>scoping |
556 | 557 | element</i></a> is the descendant wins, and for important rules the |
557 | 558 | declaration whose <a href="#scoping-element"><i>scoping element</i></a> |
558 | | - is the ancestor wins. |
559 | | - |
560 | | - <p class=issue> In this definition, an inner scope wins over an outer one |
561 | | - for normal rules, but for important rules the outer one gets the last |
562 | | - word, similar to how the UA/user/author levels relate to each other. |
563 | | - This allows outer scopes to set defaults that are then overridden, but |
564 | | - to override inner scopes in !important cases. An alternative definition |
565 | | - would be to repeat the same ordering for important rules, similar to how |
566 | | - override rules work. This means !important simply jumps everything up |
567 | | - over Animations. |
| 559 | + is the ancestor wins. In other words, for normal declarations the inner |
| 560 | + scope's declarations override, but for <code>!important</code> rules |
| 561 | + <em>outer</em> scope's override. |
568 | 562 |
|
569 | 563 | <p> For the purpose of this step, all unscoped declarations are |
570 | 564 | considered to be <a href="#scoped"><i>scoped</i></a> to the root |
@@ -830,14 +824,6 @@ <h4 id=default><span class=secno>4.3.3. </span> Rolling back the cascade: |
830 | 824 | href="http://lists.w3.org/Archives/Public/www-style/2012Dec/0270.html">dbaron's |
831 | 825 | message</a>. |
832 | 826 |
|
833 | | - <p class=issue> The ‘<a href="#default-keyword"><code |
834 | | - class=css>default</code></a>’ keyword exposes the exact origin |
835 | | - structure, which was previously only indirectly observable. As a result, |
836 | | - we can never again change what origin a given declaration is in, such as |
837 | | - by splitting one origin into multiple smaller origins. Already, ‘<a |
838 | | - href="#default-keyword"><code class=css>default</code></a>’ explicitly |
839 | | - groups several author-level origins. Should we do more grouping like this? |
840 | | - |
841 | 827 | <h2 id=value-stages><span class=secno>5. </span> Stages of Value |
842 | 828 | Computation</h2> |
843 | 829 |
|
|
0 commit comments