Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / replaced-element-ignore-top-bottom.html
blob854175eaaa14337655d50ca23c79b23288125083
1 <!doctype html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <div>
5 <div style="top: 0; bottom: 0">
6 <img style="height: 100%" src="data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=">
7 </div>
8 </div>
9 <script>
10 test(function() {
11 assert_equals(document.querySelector("img").offsetHeight, 1);
12 }, "Inapplicable |top| and |bottom| specified style shouldn't affect height calculation");
13 </script>