https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 7a2c19f4256b900ad3d912cc34f3d4cfb39a3410 authored by Joshua Bell on 14 March 2018, 17:03:27 UTC
rephrased to make test data/support files clearer
Tip revision: 7a2c19f
line-height-step-boundary-001.html
<!DOCTYPE html>
<title>CSS Rhythmic Sizing: line-height-step boundary test</title>
<link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com">
<style>
div {
  font-family: Ahem;
  font-size: 30px;
}
.test, .ref {
  display: inline-block;
  vertical-align: top;
  width: 5em;
}
</style>
<p class="instructions">Test passes if left and right are the same.
<div class="ref">
  <div style="line-height: 40px">XXXXX</div>
  <div style="line-height: 40px">XXXXX</div>
  <div style="line-height: 80px">XXXXX</div>
  <div style="line-height: 80px">XXXXX</div>
  <div style="line-height: 80px">XXXXX</div>
  <div style="line-height: 120px">XXXXX</div>
</div>
<div class="ref">
  <div style="line-height: 40px">XXXXX</div>
  <div style="line-height: 40px">XXXXX</div>
  <div style="line-height: 80px">XXXXX</div>
  <div style="line-height: 80px">XXXXX</div>
  <div style="line-height: 80px">XXXXX</div>
  <div style="line-height: 120px">XXXXX</div>
</div>
back to top