diff --git a/css/css-cascade/scope-invalidation.html b/css/css-cascade/scope-invalidation.html index d53257e8944603..86c06f19a2db8d 100644 --- a/css/css-cascade/scope-invalidation.html +++ b/css/css-cascade/scope-invalidation.html @@ -26,6 +26,9 @@ function assert_green(element) { assert_equals(getComputedStyle(element).backgroundColor, 'rgb(0, 128, 0)'); } +function assert_red(element) { + assert_equals(getComputedStyle(element).backgroundColor, 'rgb(255, 0, 0)'); +} function assert_not_green(element) { assert_equals(getComputedStyle(element).backgroundColor, 'rgb(0, 0, 0)'); } @@ -780,3 +783,90 @@ }, ':nth-child() in scope limit'); + + + + + + + + +