tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

scroll-target-padding-001.html (956B)


      1 <!DOCTYPE html>
      2 <html>
      3 <title>#target and scroll-padding with snapping off (y-axis)</title>
      4 <link rel='author' title='Elika J. Etemad' href='http://fantasai.inkedblade.net/contact'>
      5 <link rel='help' href='https://www.w3.org/TR/css-scroll-snap-1/#scroll-padding'>
      6 <link rel='match' href='scroll-target-001-ref.html'>
      7 <meta name='assert'
      8      content="Test passes if scroll-padding is honored
      9               on a scroll container with 'scroll-snap-type: none'
     10               when navigating to an element with the target fragment ID.">
     11 <style type='text/css'>
     12  iframe {
     13    border: solid blue 4px;
     14    height: 80px;
     15    width: calc(100% - 8px);
     16  }
     17 </style>
     18 
     19 <div id='instructions'>Test passes if there is a green stripe across the second quarter of the box below and no red.</div>
     20 
     21 <iframe class="container" src="support/scroll-target-padding-001-iframe.html#target">This UA doesn't support iframes; please request a custom version of this test!</iframe>