| Index: third_party/WebKit/LayoutTests/css-parser/content-parsing-invalid.html
|
| diff --git a/third_party/WebKit/LayoutTests/css-parser/content-parsing-invalid.html b/third_party/WebKit/LayoutTests/css-parser/content-parsing-invalid.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6aa63571ce7b906fef3884dacd987c389ef7c4cb
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/css-parser/content-parsing-invalid.html
|
| @@ -0,0 +1,21 @@
|
| +<!doctype html>
|
| +<script src="../resources/testharness.js"></script>
|
| +<script src="../resources/testharnessreport.js"></script>
|
| +
|
| +<style>
|
| +#target::before {
|
| + content: normal normal;
|
| +}
|
| +#target::after {
|
| + content: normal normal;
|
| +}
|
| +</style>
|
| +
|
| +<div id="target"></div>
|
| +
|
| +<script>
|
| +test(function(){
|
| + assert_equals(getComputedStyle(target, '::before').content, '');
|
| + assert_equals(getComputedStyle(target, '::after').content, '');
|
| +}, "Test to ensure that invalid values of content on pseudo elements are dropped by the parser");
|
| +</script>
|
|
|