WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
83050
Animation related classes should use CSSPropertyID rather than integers when manipulating CSS property ids.
https://bugs.webkit.org/show_bug.cgi?id=83050
Summary
Animation related classes should use CSSPropertyID rather than integers when ...
Alexis Menard (darktears)
Reported
2012-04-03 11:18:54 PDT
Animation related classes should use CSSPropertyId rather than integers when manipulating CSS property ids.
Attachments
Patch
(45.43 KB, patch)
2012-04-03 11:24 PDT
,
Alexis Menard (darktears)
no flags
Details
Formatted Diff
Diff
Patch
(45.44 KB, patch)
2012-04-03 11:39 PDT
,
Alexis Menard (darktears)
no flags
Details
Formatted Diff
Diff
Patch
(50.23 KB, patch)
2012-04-03 11:58 PDT
,
Alexis Menard (darktears)
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ec2-cr-linux-04
(6.92 MB, application/zip)
2012-04-03 14:10 PDT
,
WebKit Review Bot
no flags
Details
Patch
(47.12 KB, patch)
2012-04-04 05:33 PDT
,
Alexis Menard (darktears)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Alexis Menard (darktears)
Comment 1
2012-04-03 11:24:23 PDT
Created
attachment 135373
[details]
Patch
Alexis Menard (darktears)
Comment 2
2012-04-03 11:25:43 PDT
(In reply to
comment #1
)
> Created an attachment (id=135373) [details] > Patch
I'm looking for feedback. The change in blendProperties could maybe be improved.
Alexis Menard (darktears)
Comment 3
2012-04-03 11:39:56 PDT
Created
attachment 135376
[details]
Patch
Alexis Menard (darktears)
Comment 4
2012-04-03 11:58:04 PDT
Created
attachment 135383
[details]
Patch
Simon Fraser (smfr)
Comment 5
2012-04-03 12:02:48 PDT
Comment on
attachment 135383
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=135383&action=review
Nice change!
> Source/WebCore/platform/animation/Animation.h:184 > + static CSSPropertyID initialAnimationProperty() { return CSSPropertyInvalid; }
I don't know that it is worth having initialAnimationProperty() and friends. This was copied from the RenderStyle pattern, but it's only used in one place.
Alexis Menard (darktears)
Comment 6
2012-04-03 12:06:33 PDT
(In reply to
comment #5
)
> (From update of
attachment 135383
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=135383&action=review
> > Nice change! > > > Source/WebCore/platform/animation/Animation.h:184 > > + static CSSPropertyID initialAnimationProperty() { return CSSPropertyInvalid; } > > I don't know that it is worth having initialAnimationProperty() and friends. This was copied from the RenderStyle pattern, but it's only used in one place.
It is also used by CSSStyleApplyProperty. I didn't want to touch this guy.
Alexis Menard (darktears)
Comment 7
2012-04-03 12:07:33 PDT
(In reply to
comment #6
)
> (In reply to
comment #5
) > > (From update of
attachment 135383
[details]
[details]) > > View in context:
https://bugs.webkit.org/attachment.cgi?id=135383&action=review
> > > > Nice change! > > > > > Source/WebCore/platform/animation/Animation.h:184 > > > + static CSSPropertyID initialAnimationProperty() { return CSSPropertyInvalid; } > > > > I don't know that it is worth having initialAnimationProperty() and friends. This was copied from the RenderStyle pattern, but it's only used in one place. > > It is also used by CSSStyleApplyProperty. I didn't want to touch this guy.
I'll wait EWS to munch it then I cq+. Thanks for the review.
WebKit Review Bot
Comment 8
2012-04-03 14:10:47 PDT
Comment on
attachment 135383
[details]
Patch
Attachment 135383
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/12320410
New failing tests: transitions/transition-end-event-all-properties.html fast/forms/validation-message-on-listbox.html fast/forms/validation-message-on-menulist.html transitions/shorthand-border-transitions.html transitions/inherit-other-props.html transitions/hang-with-bad-transition-list.html compositing/repaint/opacity-between-absolute2.html transitions/multiple-mask-transitions.html fast/forms/validation-message-on-radio.html fast/forms/validation-message-on-checkbox.html fast/forms/validation-message-on-range.html transitions/cubic-bezier-overflow-shadow.html fast/forms/validation-message-in-relative-body.html fast/forms/validation-message-appearance.html css3/filters/composited-during-transition-layertree.html transitions/inherit.html fast/forms/validation-message-on-textarea.html compositing/repaint/opacity-between-absolute.html
WebKit Review Bot
Comment 9
2012-04-03 14:10:53 PDT
Created
attachment 135423
[details]
Archive of layout-test-results from ec2-cr-linux-04 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-04 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Alexis Menard (darktears)
Comment 10
2012-04-03 14:14:01 PDT
(In reply to
comment #8
)
> (From update of
attachment 135383
[details]
) >
Attachment 135383
[details]
did not pass chromium-ews (chromium-xvfb): > Output:
http://queues.webkit.org/results/12320410
> > New failing tests: > transitions/transition-end-event-all-properties.html > fast/forms/validation-message-on-listbox.html > fast/forms/validation-message-on-menulist.html > transitions/shorthand-border-transitions.html > transitions/inherit-other-props.html > transitions/hang-with-bad-transition-list.html > compositing/repaint/opacity-between-absolute2.html > transitions/multiple-mask-transitions.html > fast/forms/validation-message-on-radio.html > fast/forms/validation-message-on-checkbox.html > fast/forms/validation-message-on-range.html > transitions/cubic-bezier-overflow-shadow.html > fast/forms/validation-message-in-relative-body.html > fast/forms/validation-message-appearance.html > css3/filters/composited-during-transition-layertree.html > transitions/inherit.html > fast/forms/validation-message-on-textarea.html > compositing/repaint/opacity-between-absolute.html
I'm looking. I ran the Animations tests but forgot the Transitions ones :(.
Luke Macpherson
Comment 11
2012-04-03 20:17:19 PDT
Comment on
attachment 135383
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=135383&action=review
> Source/WebCore/rendering/RenderLayerBacking.h:-108 > - bool startTransition(double timeOffset, int property, const RenderStyle* fromStyle, const RenderStyle* toStyle);
This is another good example of names that should not be removed - fromStyle and toStyle are critical information when understanding what this function does, and should not be removed.
Alexis Menard (darktears)
Comment 12
2012-04-04 05:33:21 PDT
Created
attachment 135567
[details]
Patch
Alexis Menard (darktears)
Comment 13
2012-04-04 06:16:19 PDT
(In reply to
comment #12
)
> Created an attachment (id=135567) [details] > Patch
EWS is green. Dean or Simon you mind reviewing this again. Thanks.
WebKit Review Bot
Comment 14
2012-04-04 12:33:40 PDT
Comment on
attachment 135567
[details]
Patch Clearing flags on attachment: 135567 Committed
r113225
: <
http://trac.webkit.org/changeset/113225
>
WebKit Review Bot
Comment 15
2012-04-04 12:33:54 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug