Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
spec:computed-values [2011/10/30 09:17] dbaronspec:computed-values [2012/09/13 13:04] – Make the "no layout" bit more strict. Add rule about what elements you can compute from. Rearrange the list. tabatkins
Line 5: Line 5:
 If you're a spec editor, you should check the "computed value:" definition of the properties in your spec with this document. If you're a spec editor, you should check the "computed value:" definition of the properties in your spec with this document.
  
 +  - computed values should depend only on the specified or computed values of properties on the element or its parent
 +  - computed values must never depend on layout
   - shorthand properties do not have computed values. For them, simply specify:    - shorthand properties do not have computed values. For them, simply specify: 
     * Computed value: see individual properties     * Computed value: see individual properties
Line 13: Line 15:
   - properties that just accept keyword or IDREF values, should just specify:    - properties that just accept keyword or IDREF values, should just specify: 
     * Computed value: as specified     * Computed value: as specified
-  - computed values should never depend on layout +  - (disputed) computed values should never depend on containing block hierarchy (though note that they already do in CSS21, eg 'height' for percentage values (http://lists.w3.org/Archives/Public/www-style/2011Sep/0008.html)
-  - (disputed) computed values should never depend on containing block hierarchy+
 
spec/computed-values.txt · Last modified: 2014/12/09 15:48 by 127.0.0.1
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki