Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <!-- Any copyright is dedicated to the Public Domain. |
michael@0 | 3 | - http://creativecommons.org/publicdomain/zero/1.0/ --> |
michael@0 | 4 | <html class="reftest-wait"> |
michael@0 | 5 | <head> |
michael@0 | 6 | <title>CSS Test: Sticky Positioning - inline, dynamic changes</title> |
michael@0 | 7 | <link rel="author" title="Corey Ford" href="mailto:cford@mozilla.com"> |
michael@0 | 8 | <link rel="match" href="inline-2-ref.html"> |
michael@0 | 9 | <meta name="assert" content="Sticky positioning on inline elements should move all continuations when the offsets are changed"> |
michael@0 | 10 | <meta name="flags" content="dom"> |
michael@0 | 11 | <link rel="stylesheet" type="text/css" href="ahem.css"> |
michael@0 | 12 | <style> |
michael@0 | 13 | #scroll { |
michael@0 | 14 | overflow: hidden; |
michael@0 | 15 | height: 200px; |
michael@0 | 16 | font: 10px/1 Ahem; |
michael@0 | 17 | } |
michael@0 | 18 | #sticky { |
michael@0 | 19 | position: sticky; |
michael@0 | 20 | top: 20px; |
michael@0 | 21 | left: 20px; |
michael@0 | 22 | } |
michael@0 | 23 | </style> |
michael@0 | 24 | </head> |
michael@0 | 25 | <body> |
michael@0 | 26 | <div id="scroll"> |
michael@0 | 27 | hello <span id="sticky">there<br>everyone</span> |
michael@0 | 28 | </div> |
michael@0 | 29 | <script type="text/javascript"> |
michael@0 | 30 | document.addEventListener("MozReftestInvalidate", function() { |
michael@0 | 31 | document.getElementById("sticky").style.top = "30px"; |
michael@0 | 32 | document.getElementById("sticky").style.left = "30px"; |
michael@0 | 33 | document.documentElement.removeAttribute("class"); |
michael@0 | 34 | }, false); |
michael@0 | 35 | </script> |
michael@0 | 36 | </body> |
michael@0 | 37 | </html> |