tor-browser

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

display-none-or-contents.html (525B)


      1 <!DOCTYPE html>
      2 <title>button (in button layout) with display: none/contents</title>
      3 <link rel=match href=display-none-or-contents-ref.html>
      4 <link rel=help href=https://html.spec.whatwg.org/multipage/rendering.html#button-layout-2>
      5 <style>
      6 #none{ display: none}
      7 #contents { display: contents; font: initial }
      8 </style>
      9 <!-- Button layout should not impact "display: none" or "display: contents" on button elements -->
     10 <!-- https://github.com/whatwg/html/pull/10244 -->
     11 <button id=none>1</button>
     12 <button id=contents>2</button>