Files
tubestation/layout/reftests/css-animations/no-style-sharing-with-animations-ref.html
Hiroyuki Ikezoe 672e36406e Bug 1392851 - A reftest to check that we don't share styles for elements that have animations which are about to be removed. r=birtles
This was a test case for bug 1379203 (Google Inbox issue), but to pass this test
also needs the fix in this series to cancel animations when changing
animation-name to 'none' in the specified CSS rule.

Actually the fix in this series also fixes the Google Inbox issue so that this
test can pass without the fix for the Google Inbox issue. But even so without
the fix for bug 1379203, the style data for the first div element in this test
is cached and the second div element uses the cached data.

MozReview-Commit-ID: GfKSDfTZef4
2017-08-24 18:27:31 +09:00

12 lines
132 B
HTML

<!DOCTYPE html>
<html>
<style>
div {
background-color: green;
width: 100px;
height: 100px;
}
</style>
<div></div>
<div></div>