<!DOCTYPE html>
<title>position:sticky should work for inline elements</title>
<link rel="match" href="position-sticky-inline-ref.html" />
<link rel="help" href="https://www.w3.org/TR/css-position-3/#sticky-pos" />
<meta name="assert" content="This test checks that position:sticky works for inline elements" />

<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />

<script src="../resources/ref-rectangle.js"></script>

<style>
.group {
  display: inline-block;
  position: relative;
  width: 150px