Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/css-parser/whitespace-declaration.html |
| diff --git a/third_party/WebKit/LayoutTests/css-parser/whitespace-declaration.html b/third_party/WebKit/LayoutTests/css-parser/whitespace-declaration.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..588680aa138e84509eec9d786c412f34424a105b |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/css-parser/whitespace-declaration.html |
| @@ -0,0 +1,13 @@ |
| +<!DOCTYPE html> |
| +<script src="../resources/js-test.js"></script> |
| +<script src="../fast/css/getComputedStyle/resources/computed-style-listing.js"></script> |
| +<div id="target"></div> |
| +<script> |
|
Timothy Loh
2016/01/06 00:14:52
Can we use testharness instead of js-test? Otherwi
rwlbuis
2016/01/06 08:11:03
Done.
|
| +description("This test documents all computed styles on a div element."); |
| + var style = getComputedStyle(target); |
| + for (var i = 0; i < style.length; i++) { |
| + var property = style.item(i); |
| + shouldBeFalse("CSS.supports('" + property + "', '')"); |
| + shouldBeFalse("CSS.supports('" + property + "', ' ')"); |
| + } |
| +</script> |