This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ideas:aliasing [2012/06/25 02:12] – created florian | ideas:aliasing [2014/12/09 15:48] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
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' | ===== Opera' | ||
- | 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: | + | 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: |
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. |