https://github.com/web-platform-tests/wpt
Raw File
Tip revision: f697d7f44055ac06feac4a2723a100623862cea1 authored by Anne van Kesteren on 16 April 2018, 04:59:06 UTC
clearer function name
Tip revision: f697d7f
position-fragment-ref.html
<!DOCTYPE html>
<style>
.result {
  position: relative;
  background: green;
  width: 100px;
  height: 100px;
}

.result-child-1 {
  background: rebeccapurple;
  width: 10px;
  height: 20px;

  position: absolute;
  top: 25px;
  left: 5px;
}

.result-child-2 {
  background: rebeccapurple;
  width: 15px;
  height: 25px;

  position: absolute;
  top: 60px;
  left: 50px;
}
</style>
<div class="result">
  <div class="result-child-1"></div>
  <div class="result-child-2"></div>
</div>
back to top