| Index: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/opacity.html
 | 
| diff --git a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/opacity.html b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/opacity.html
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..5cb899741a0e001faf4745c746850cbb124d894e
 | 
| --- /dev/null
 | 
| +++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/opacity.html
 | 
| @@ -0,0 +1,19 @@
 | 
| +<!DOCTYPE html>
 | 
| +<script src="../../resources/testharness.js"></script>
 | 
| +<script src="../../resources/testharnessreport.js"></script>
 | 
| +
 | 
| +<div id="testElement">text</div>
 | 
| +
 | 
| +<script>
 | 
| +
 | 
| +test(function() {
 | 
| +  testElement.styleMap.set('opacity', new CSSNumberValue(3.5));
 | 
| +  assert_equals(testElement.styleMap.get('opacity').value, 3.5);
 | 
| +  assert_equals(getComputedStyleMap(testElement).get('opacity').value, 1);
 | 
| +
 | 
| +  testElement.styleMap.set('opacity', new CSSNumberValue(-5.2));
 | 
| +  assert_equals(testElement.styleMap.get('opacity').value, -5.2);
 | 
| +  assert_equals(getComputedStyleMap(testElement).get('opacity').value, 0);
 | 
| +}, "Opacity is clamped when coming through Computed Style");
 | 
| +
 | 
| +</script>
 | 
| 
 |