[Webkit-unassigned] [Bug 112411] WebKitCSSKeyframesRule.idl should have item method

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 15 02:30:03 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=112411


Kentaro Hara <haraken at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cmarrin at apple.com,
                   |                            |dino at apple.com,
                   |                            |hyatt at apple.com




--- Comment #5 from Kentaro Hara <haraken at chromium.org>  2013-03-15 02:32:28 PST ---
(In reply to comment #4)
> Regarding the working draft, there is no item method in CSSKeyframesRule.
> http://www.w3.org/TR/css3-animations/#csskeyframesrule
> 
> Meanwhile, WebKitCSSKeyframesRule.idl has [IndexedGetter] attribute.
> According to the WebKitIDL spec, the bindings code for indexed getters is generated automatically so that XXX[i] behaves equivalent to XXX.item(i).
> This implies the interface should have item method.
> http://trac.webkit.org/wiki/WebKitIDL#IndexedGetter
> 
> Thus here my conclusion is:
> (1) This patch is not good.
> (2) There's inconsistency between CSS3 Animations Working draft and WebKitIDL.
>     ([IndexedGetter] but no item() method in WebKitIDL)

Thanks, so a right fix would be either of:

[1] Remove [IndexedGetter] from WebKitIDL according to the spec.
[2] Propose to add [IndexedGetter] and item() to the spec.

CC-ing spec folks.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list