Closed Bug 1299760 Opened 8 years ago Closed 8 years ago

testcase for an animated viewBox affecting clip-path.

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
firefox52 --- fixed

People

(Reporter: u459114, Assigned: u459114)

References

Details

Attachments

(1 file)

According to bug 1289011 comment 26, heycam ask for a test for an animated viewBox="" affecting clip-path.
Attachment #8796416 - Flags: review?(cam)
Comment on attachment 8796416 [details]
Bug 1299760 - a testcase for animated-viewBox affecting clip-path.

https://reviewboard.mozilla.org/r/82288/#review80908

r=me with this change.

::: layout/reftests/svg/clip-path-viewBox-animation.svg:7
(Diff revision 1)
> +  <![CDATA[
> +    window.addEventListener("load", function () {
> +      setTimeout(function () {
> +        document.documentElement.removeAttribute("class");
> +      }, 2000);
> +    }, false);
> +  ]]>

Instead of waiting 2s, please use the same technique that tests in layout/reftests/svg/smil/ do, i.e. using setTimeAndSnapshot from smil-util.js.
Attachment #8796416 - Flags: review?(cam) → review+
Pushed by cku@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7f9e6e421e24
a testcase for animated-viewBox affecting clip-path. r=heycam
https://hg.mozilla.org/integration/mozilla-inbound/rev/adf1eb119bd2998a9b293f962405b8a2d5d29618
Bug 1299760 - a testcase for animated-viewBox affecting clip-path. r=heycam
https://hg.mozilla.org/mozilla-central/rev/adf1eb119bd2
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: