- From: Rune Lillesveen <rune@opera.com>
- Date: Mon, 24 Jun 2013 14:17:12 +0200
- To: "www-style list" <www-style@w3.org>
When you serialize properties which have been set to its initial value by a shorthand, and the UA supports the 'initial' keyword, should the serialization use the 'initial' keyword or the actual initial value? Example: <style> p { background-position: center; background: blue; } </style> <script> alert(document.styleSheets[0].cssRules[0].style.backgroundPosition); </script> Output "0% 0%" or "initial"? Also, is an explicit use of 'initial' different?: <style> p { background-position: initial; } </style> <script> alert(document.styleSheets[0].cssRules[0].style.backgroundPosition); </script> Output "0% 0%" or "initial"? -- Rune Lillesveen
Received on Monday, 24 June 2013 12:17:43 UTC