Differences

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

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
ideas:aliasing [2012/06/25 02:12] – created florianideas:aliasing [2012/06/25 02:20] – [Opera's handling of break-*] florian
Line 1: Line 1:
 The need for css property aliasing has kept showing up recently, but we have yet to define how it actually works. This is an attempt at listing the alternatives.  The need for css property aliasing has kept showing up recently, but we have yet to define how it actually works. This is an attempt at listing the alternatives. 
- 
-**This is a work in progress.** 
  
 ====== Use cases ====== ====== Use cases ======
Line 55: Line 53:
 ===== Opera's handling of break-* ===== ===== Opera's handling of break-* =====
    
-Here is what Opera currently does for **break-*** and **page-break-***. They are parsed separately, and each only accepts the values that their respective specs allow (ie, page-break-before:avoid-column is invalid). At when we determine the specified value, if there is a break-* property, we use that, otherwise if there is a **page-break-*** property we use it, otherwise we use the default value(auto).+Here is what Opera currently does for **break-*** and **page-break-***. They are parsed separately, and each only accepts the values that their respective specs allow (ie, page-break-before:avoid-column is invalid). When we determine the specified value, if there is a break-* property, we use that, otherwise if there is a **page-break-*** property we use it, otherwise we use the default value (**auto**).
    
 This is stored in an unnamed internal thing that has the semantics of **break-***. This is stored in an unnamed internal thing that has the semantics of **break-***.
Line 113: Line 111:
    
    
-=== shorthand / longhand, take 2 ===+===== shorthand / longhand, take 2 =====
    
 It may a bit suprising, but we could turn the shorthand / longhand thing on its head, and say that **page-break-*** are shorthands to **break-***. Shorthands with a single longhand are unheard of as far as I know, but it would work relatively intuitively if you don't think of it too much. It may a bit suprising, but we could turn the shorthand / longhand thing on its head, and say that **page-break-*** are shorthands to **break-***. Shorthands with a single longhand are unheard of as far as I know, but it would work relatively intuitively if you don't think of it too much.
 
ideas/aliasing.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