Changes between Version 13 and Version 14 of Writing Layout Tests for DumpRenderTree
- Timestamp:
- Jan 19, 2010, 6:30:14 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Writing Layout Tests for DumpRenderTree
v13 v14 56 56 Jumps the current event time forward by a specified number of miliseconds. 57 57 58 === `mouseDown( )` ===58 === `mouseDown([buttonNumber [, modifiers]])` === 59 59 60 60 Sends a mouseDown event to the WebView at the current mouse position. 61 61 62 === `mouseUp()` === 62 buttonNumber; 0:left button, 1:middle button, 2:right button. 63 64 modifiers; See keyDown(). 65 66 === `mouseUp([buttonNumber [, modifiers]])` === 63 67 64 68 Sends a mouseUp event to the WebView at the current mouse position. 69 70 === `keyDown(character [, modifiers]])` === 71 72 Sends a keyDown event to the WebView. 73 74 modifiers: An array of strings. A string should be a modifier key name in the followings: 75 * `"ctrlKey"` 76 * `"shiftKey"` 77 * `"altKey"` 78 * `"metaKey"` (Command key in Mac) 79 * `"addSelectionKey"` (equivalent to metaKey in Mac, ctrlKey in Windows) 80 * `"rangeSelectionKey"` (equivalent to shiftKey in Mac and Windows) 81 65 82 66 83 === `enableDOMUIEventLogging` ===