| Index: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-clip.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-clip.html b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-clip.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ba9c0e95980b44d4a961f9a9e21b05a3b157c0c2
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-clip.html
|
| @@ -0,0 +1,13 @@
|
| +<script src="../../../resources/testharness.js"></script>
|
| +<script src="../../../resources/testharnessreport.js"></script>
|
| +<div id="target1" style="clip: rect(auto, auto, auto, auto);"></div>
|
| +<div id="target2" style="clip: rect(auto, auto, auto, 5);"></div>
|
| +<div id="target3" style="clip: rect(5, 2, auto, 5);"></div>
|
| +<script>
|
| +test(function() {
|
| + // Tests https://code.google.com/p/chromium/issues/detail?id=412921
|
| + assert_equals(getComputedStyle(target1).clip, 'rect(auto auto auto auto)');
|
| + assert_equals(getComputedStyle(target2).clip, 'rect(auto auto auto 5px)');
|
| + assert_equals(getComputedStyle(target3).clip, 'rect(5px 2px auto 5px)');
|
| +});
|
| +</script>
|
|
|