| Index: LayoutTests/fast/css/invalidation/content-attr-style-mutation.html
|
| diff --git a/LayoutTests/fast/css/invalidation/content-attr-style-mutation.html b/LayoutTests/fast/css/invalidation/content-attr-style-mutation.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e4a9c6611a0447fea7ec91656fa3f7e5fa316f61
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css/invalidation/content-attr-style-mutation.html
|
| @@ -0,0 +1,13 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| + #target::before { content: "FAIL (string) "; }
|
| +</style>
|
| +<div id="target">test</div>
|
| +<script>
|
| +addEventListener("load", function(){
|
| + target.setAttribute("my-attr", "FAIL (attribute) ");
|
| + target.offsetTop;
|
| + document.styleSheets[0].cssRules[0].style.content = "attr(my-attr)";
|
| + target.setAttribute("my-attr", "PASS ");
|
| +});
|
| +</script>
|
|
|