author Carsten "Tomcat" Book <>
Fri, 31 Oct 2014 14:23:10 +0100
changeset 239819 0c31008f237b1e89ee11db93b30c68f90017b175
parent 174470 920b595433d84855d785b0e14dc873de4be164ff
permissions -rw-r--r--
Merge mozilla-central to mozilla-inbound

<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
   - -->
    <title>CSS Test: Sticky Positioning - inline with margins</title>
    <link rel="author" title="Corey Ford" href="">
    <link rel="match" href="inline-3-ref.html">
    <meta name="assert" content="Sticky positioning on inline elements should keep the bounding box of all continuations' margin boxes contained">
    <link rel="stylesheet" type="text/css" href="ahem.css">
      #scroll {
        overflow: hidden;
        height: 200px;
        font: 10px/1 Ahem;
      #sticky {
        position: sticky;
        left: 20px;
        margin-right: 10px;
      #contain {
        width: 100px;
    <div id="scroll">
      <div id="contain">
        test <span id="sticky">test<br>test</span>