diff --git a/layout/reftests/web-animations/child-in-animating-element-display-none-ref.html b/layout/reftests/web-animations/child-in-animating-element-display-none-ref.html index 159ceeda4bc4..9a5a1dec9672 100644 --- a/layout/reftests/web-animations/child-in-animating-element-display-none-ref.html +++ b/layout/reftests/web-animations/child-in-animating-element-display-none-ref.html @@ -6,11 +6,13 @@ div { height: 100px; background-color: blue; } -span { +#child { background-color: green; + width: 50px; + height: 50px; }