- From: Øyvind Stenhaug <oyvinds@opera.com>
- Date: Fri, 16 Sep 2011 11:16:23 +0200
- To: "Brian Manthos" <brianman@microsoft.com>, "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: "L. David Baron" <dbaron@dbaron.org>, "www-style@w3.org" <www-style@w3.org>
On Thu, 15 Sep 2011 21:48:43 +0200, Tab Atkins Jr. <jackalmage@gmail.com>
wrote:
> On Thu, Sep 15, 2011 at 2:41 AM, Brian Manthos <brianman@microsoft.com>
> wrote:
>> Example D (CSS3)
>> from { text-shadow: 1px 2px 3px red; }
>> to { text-shadow: 1px 2px 3px blue; }
>>
>> Example E (CSSn, where n > 3)
>> from { text-shadow: 1px 2px 3px pink; text-shadow-color: red;
>> }
>> to { text-shadow: 1px 2px 3px cyan; text-shadow-color:
>> blue; }
>> CSS3 browser - Example D
>> 1. text-shadow event ("1px 2px 3px red" -> "1px 2px 3px blue")
>>
>> CSS3 browser - Example E
>> 1. text-shadow event ("1px 2px 3px pink" -> "1px 2px 3px cyan")
>>
>> CSSn browser - Example D
>> 1. text-shadow event ("1px 2px 3px red" -> "1px 2px 3px blue")
>> 2. text-shadow-color event ("red" -> "blue")
>>
>> CSSn browser - Example E
>> 1. text-shadow event ("1px 2px 3px red" -> "1px 2px 3px blue")
>> 2. text-shadow-color event ("red" -> "blue")
>
> Agreed with all of these - this is the only way I can see it working
> sanely with the possibility of turning properties into shorthands in
> the future.
So a shorthand value is constructed based on the cascaded longhand values
(or something like that). What if that's not possible? No event?
E.g.
from { border: solid; }
to { border: dotted; border-left-style: none; }
--
Øyvind Stenhaug
Core Norway, Opera Software ASA
Received on Friday, 16 September 2011 09:17:16 UTC