doc-event-breakpoints.html (1188B)
1 <!-- This Source Code Form is subject to the terms of the Mozilla Public 2 - License, v. 2.0. If a copy of the MPL was not distributed with this 3 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 4 <!DOCTYPE html> 5 <html> 6 <head> 7 <meta charset="utf-8"/> 8 <title>Debugger event bp test page</title> 9 <style> 10 body { 11 height: 200vh; 12 } 13 </style> 14 </head> 15 16 <body> 17 <input type="text" id="focus-text" value="Text"> 18 <button id="click-button">Run Click Handler</button> 19 <button id="xhr-button">Run XHR Handler</button> 20 <button id="timer-button">Run Timer Handler</button> 21 <button id="eval-button">Run Eval</button> 22 <div id="click-target" style="margin: 50px; background-color: green;"> 23 Click Target 24 </div> 25 <div id="pointer-target" style="padding: 50px; background-color: hotpink;"> 26 Pointer 27 </div> 28 <button id="invoker" commandfor="invokee" command="show-popover">Invoke</button> 29 <div id="invokee"></div> 30 <button id="popover-toggle" popovertarget="popover">Show popover</button> 31 <div id="popover" popover>Popped!</div> 32 <script src="event-breakpoints.js"></script> 33 </body> 34 </html>