https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 0322f4a8924395e866e774d68200e5844e72f793 authored by Lennart Grahl on 19 May 2018, 00:04:14 UTC
Add a test based on discussion in https://github.com/w3c/webrtc-pc/pull/1851 with @jan-ivar
Tip revision: 0322f4a
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