W3C home > Mailing lists > Public > www-style@w3.org > April 2011

Re: [css3-animations] "Applies To" lines are wrong

From: Alan Gresley <alan@css-class.com>
Date: Fri, 15 Apr 2011 01:04:45 +1000
Message-ID: <4DA70D0D.6050806@css-class.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: "L. David Baron" <dbaron@dbaron.org>, www-style@w3.org
On 13/04/2011 1:44 AM, Tab Atkins Jr. wrote:
> On Mon, Apr 11, 2011 at 9:29 PM, L. David Baron<dbaron@dbaron.org>  wrote:
>> All of the property definitions in css3-animations should have the
>> same change applied to them as was applied to css3-transitions to
>> fix http://lists.w3.org/Archives/Public/www-style/2009Jun/0479.html :
>> they should apply to "all elements, :before and :after pseudo
>> elements".
>
> (Slight tangent.)


Not quite Tab.


> Hrm.  Does that mean that basically *all* properties should have that
> in their "Applies To" line?


Yes.


> This seems less than ideal - it means
> that introducing new general-purpose pseudo-elements that can accept
> all properties (like ::marker) requires updating every property
> definition in every spec.


Depends on what you allow ::marker to do (see below).


> Could we handle this some other way such that just saying "All
> elements" works?  We could either define ::before and ::after to count
> as "All elements" in that context, or just define for each
> pseudo-element what properties apply to them (including a phrase like
> "any property that applies to all elements", or something similarly
> broad).
>
> ~TJ


No, the specs needs to state that animations apply to ::before and 
::after and the specs needs to state the expected behavior. I believe 
that both Safari and Chromes shows the expected behavior in this demo.


http://css-class.com/test/css/3/transforms-generated-content.htm


The expected behavior that I talking about is that the generated content 
(::after in the demo) must have it's perspective (vanishing point) 
anchored to the real element which is the frame (framework in demo) that 
rotates along the x axis.


I'm curious, is this the sort of behavior that you expect with ::marker?



-- 
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
Received on Thursday, 14 April 2011 15:05:16 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:39 GMT