OLD | NEW |
(Empty) | |
| 1 <!doctype html> |
| 2 <script src="../resources/testharness.js"></script> |
| 3 <script src="../resources/testharnessreport.js"></script> |
| 4 |
| 5 <style> |
| 6 #target::before { |
| 7 content: normal normal; |
| 8 } |
| 9 #target::after { |
| 10 content: normal normal; |
| 11 } |
| 12 </style> |
| 13 |
| 14 <div id="target"></div> |
| 15 |
| 16 <script> |
| 17 test(function(){ |
| 18 assert_equals(getComputedStyle(target, '::before').content, ''); |
| 19 assert_equals(getComputedStyle(target, '::after').content, ''); |
| 20 }, "Test to ensure that invalid values of content on pseudo elements are dropped
by the parser"); |
| 21 </script> |
OLD | NEW |