Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / vertical-align-inherit.html
blobcc242e372b24ec5469a6fdf2e843f9acf4a226ae
1 <!DOCTYPE html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <style>
5 #parent1 { vertical-align: 50px; }
6 #parent2 { vertical-align: 50%; }
7 #child1, #child2 { vertical-align: inherit; }
8 </style>
9 <div id="parent1">
10 <div id="child1"></div>
11 </div>
12 <div id="parent2">
13 <div id="child2"></div>
14 </div>
15 <script>
16 test(function() {
17 assert_equals(getComputedStyle(child1).verticalAlign, "50px");
18 assert_equals(getComputedStyle(child2).verticalAlign, "50%");
19 }, "Tests vertical-align inherits correctly");
20 </script>