Commit 4ed29060 authored by Oskar Kalbag's avatar Oskar Kalbag

Added support for height attribute.

parent 6121991a
......@@ -128,3 +128,7 @@ h2 {
width: 3.125rem;
width: 100%;
}
#test-height {
height: 50px;
height: 3.125rem;
}
......@@ -170,9 +170,12 @@ border-radius()
/* Width */
width(w)
width()
abstract-longhand('width', arguments)
height()
abstract-longhand('height', arguments)
/* Relative and absolute positioning */
top()
......
......@@ -74,6 +74,10 @@
<h2>Width</h2>
<div id='test-width-hundred-percent' data-assert='width: 1000px'>width 100%</div>
</section>
<section>
<h2>Height</h2>
<div id='test-height' data-assert='height: 50px'>height 50px</div>
</section>
<script src='dom-style-test-runner.js'></script>
</body>
......
......@@ -107,4 +107,8 @@ h2
// width
#test-width-hundred-percent
width 50px
width 100%
\ No newline at end of file
width 100%
// height
#test-height
height 50px
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment