Luce packages
LuceLuce BaseLuciaOS

dymokomi/luce-browser-engine

Source of release 0.6.1

0.6.1 / tests / libweb / Ref / input / abspos-after-inline-static-position.html

<!DOCTYPE html>
<link rel="match" href="../expected/abspos-after-inline-static-position-ref.html">
<style>
  * { margin: 0; padding: 0; }
  .container { display: inline-block; }
  button {
    position: relative;
    padding: 10px 30px 10px 10px;
    border: 1px solid black;
    background: lightblue;
    font-size: 15px;
    width: 100%;
  }
  button::after {
    content: "v";
    position: absolute;
    right: 10px;
    font-size: 10px;
    color: green;
  }
</style>
<p>Test passes if the green "v" is to the right of "Menu", not below it.</p>
<div class="container">
  <button><span>Menu</span></button>
</div>