4 https://bugzilla.mozilla.org/show_bug.cgi?id=1380133
8 <title>Test for transition value at start (Bug
1380133)
</title>
9 <script src=
"/resources/testharness.js"></script>
10 <script src=
"/resources/testharnessreport.js"></script>
11 <link rel=
"stylesheet" href=
"/resources/testharness.css">
15 transition:
100s color;
23 <a id=anchor
><span id=span
>Test
</span></a>
28 const anchor
= document
.getElementById('anchor');
29 const span
= document
.getElementById('span');
32 anchor
.getBoundingClientRect();
33 anchor
.classList
.add('active');
34 assert_equals(getComputedStyle(span
).color
, 'rgb(255, 0, 0)',
35 'The child of a transitioning element should inherit its'
36 + ' parent\'s transition start value');
37 }, 'Transition start value should be inherited');