pointer-events-no-scrollbars-001.html (1061B)
1 <!DOCTYPE HTML> 2 <html> 3 <title>CSS Test: differences in pointer-events shouldn't cause overlay scrollbars to appear</title> 4 <link rel="author" title="L. David Baron" href="https://dbaron.org/"> 5 <link rel="author" title="Google" href="http://www.google.com/"> 6 <link rel="help" href="https://drafts.csswg.org/css-ui-4/#pointer-events-control"> 7 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1414142"> 8 <meta name="assert" content="Differences in pointer-events shouldn't cause overlay scrollbars to appear. (I concede this could perhaps be allowed by the wording in the spec that makes basically everything related to scrollbar rendering UA-defined. However, there is no allowance for pointer-events affecting scrollbar rendering, so I think it's defensible.)"> 9 <link rel="match" href="pointer-events-no-scrollbars-001-ref.html"> 10 11 <style> 12 13 #scroll { 14 width: 200px; 15 height: 200px; 16 overflow: auto; 17 pointer-events: none; 18 } 19 20 #big { 21 width: 500px; 22 height: 500px; 23 } 24 25 </style> 26 27 28 <div id="scroll"> 29 <div id="big"> 30 </div> 31 </div>