<!DOCTYPE html>
<link href='resources/grid.css' rel='stylesheet'>
<style>
.grid {
  background-color: lightgrey;
}
#item1 {
  vertical-align: 10px;
}
#item3 {
  vertical-align: 30px;
}
</style>

<p>This test checks that vertical-align should have no effect on a grid item
i.e grid items' content should not be shifted by the vertical-align</p>

<div class='grid'>
  <!-- grid item: block child -->
  <div id='item1'>block</div>
  <!-- grid item: anonymous block box around inline content -->
  anonymous item 2
  <!-- grid item: inline child -->
  <span id='item3'>item 3</span>
</div>
