Double-click on the green box with a non-primary button. When using mouse any button other than the left button is non-primary. If a "PASS" result appears, the test passes; otherwise, it fails.
+
+
+
+
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/approved/support/ProcessingInstruction.DOMCharacterDataModified.xml b/testing/web-platform/tests/uievents/legacy-domevents-tests/approved/support/ProcessingInstruction.DOMCharacterDataModified.xml
new file mode 100644
index 0000000000..4c95ae29df
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/approved/support/ProcessingInstruction.DOMCharacterDataModified.xml
@@ -0,0 +1,32 @@
+
+
+
+ ProcessingInstruction.data and DOMCharacterDataModified event
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/CompositionEvent.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/CompositionEvent.html
new file mode 100644
index 0000000000..0f8242b07d
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/CompositionEvent.html
@@ -0,0 +1,69 @@
+
+
+
+ Composition Event Types: compositionstart, compositionupdate, compositionend
+
+
+
+
DOM Events
+
+ Test Description: The composition events occur in a set order relative to one another:
+ 1. compositionstart, 2. compositionupdate (multiple events), 3. compositionend.
+
+
+
+
+
+ Steps:
+ 1) Open Japanese Microsoft IME and select Hiragana input method
+ 2) Click at the above textbox and then type 'a' using keyboard
+ 3) Press the '{Enter}' key to complete the IME composition
+ 4) Click here to test again if not following the steps exactly
+
+
+
Test passes if the word "PASS" appears below and nothing is typed to the textbox after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.attrChange.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.attrChange.html
new file mode 100644
index 0000000000..12c45fc848
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.attrChange.html
@@ -0,0 +1,65 @@
+
+
+
+ MutationEvent.attrChange for DOMAttrModified Event
+
+
+
+
DOM Events
+
+ Test Description: MutationEvent.attrChange indicates the type of change which triggered the DOMAttrModified event.
+
+
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.attrName.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.attrName.html
new file mode 100644
index 0000000000..ca1ad97d24
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.attrName.html
@@ -0,0 +1,66 @@
+
+
+
+ MutationEvent.attrName for DOMAttrModified Event
+
+
+
+
DOM Events
+
+ Test Description: MutationEvent.attrName indicates the name of the changed Attr node
+ in a DOMAttrModified event.
+
+
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.html
new file mode 100644
index 0000000000..c229abe96e
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.html
@@ -0,0 +1,66 @@
+
+
+
+ Mutation Event Type: DOMAttrModified
+
+
+
+
DOM Events
+
+ Test Description: DOMAttrModified event fires after an Attr.value has been
+ modified and after an Attr node has been added to or removed from an Element.
+
+
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.newValue.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.newValue.html
new file mode 100644
index 0000000000..77b8a41e1a
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.newValue.html
@@ -0,0 +1,65 @@
+
+
+
+ MutationEvent.newValue for DOMAttrModified Event
+
+
+
+
DOM Events
+
+ Test Description: MutationEvent.newValue indicates the new value of the Attr node in DOMAttrModified events.
+
+
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.prevValue.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.prevValue.html
new file mode 100644
index 0000000000..31fbec7764
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.prevValue.html
@@ -0,0 +1,65 @@
+
+
+
+ MutationEvent.prevValue for DOMAttrModified Event
+
+
+
+
DOM Events
+
+ Test Description: MutationEvent.prevValue indicates the previous value of the Attr node in DOMAttrModified events.
+
+
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.relatedNode.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.relatedNode.html
new file mode 100644
index 0000000000..5c30dabe22
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMAttrModified.relatedNode.html
@@ -0,0 +1,66 @@
+
+
+
+ MutationEvent.relatedNode for DOMAttrModified Event
+
+
+
+
DOM Events
+
+ Test Description: In the case of the DOMAttrModified event, MutationEvent.relatedNode
+ indicates the Attr node which was modified, added, or removed.
+
+
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMCharacterDataModified.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMCharacterDataModified.html
new file mode 100644
index 0000000000..31d4fbf08f
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMCharacterDataModified.html
@@ -0,0 +1,62 @@
+
+
+
+ MutationEvent: DOMCharacterDataModified Event Type
+
+
+
+
DOM Events
+
+ Test Description: DOMCharacterDataModified event fires after CharacterData.data has been modified.
+
+
+
+
Hello
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMNodeInserted.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMNodeInserted.html
new file mode 100644
index 0000000000..0e0d26d1aa
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMNodeInserted.html
@@ -0,0 +1,64 @@
+
+
+
+ MutationEvent: DOMNodeInserted Event Type
+
+
+
+
DOM Events
+
+ Test Description: DOMNodeInserted event fires when a node has been added as a child of another node.
+
+
+
+
+
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMNodeRemoved.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMNodeRemoved.html
new file mode 100644
index 0000000000..34d7112027
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMNodeRemoved.html
@@ -0,0 +1,62 @@
+
+
+
+ MutationEvent: DOMNodeRemoved Event Type
+
+
+
+
DOM Events
+
+ Test Description: DOMNodeRemoved event fires when a node is being removed from its parent node.
+
+
+
+
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMSubtreeModified.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMSubtreeModified.html
new file mode 100644
index 0000000000..1819f563da
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/DOMSubtreeModified.html
@@ -0,0 +1,72 @@
+
+
+
+ MutationEvent: DOMSubtreeModified Event Type
+
+
+
+
DOM Events
+
+ Test Description: DOMSubtreeModified event fires after any other events
+ caused by the mutation(s) have occurred.
+
+
+
+
+
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/Event.defaultPrevented.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/Event.defaultPrevented.html
new file mode 100644
index 0000000000..8acd3cb979
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/Event.defaultPrevented.html
@@ -0,0 +1,68 @@
+
+
+
+ W3C DOM Level 3 Event Object Property: defaultPrevented
+
+
+
+
+ Test Description:
+ Event listeners can cancel default actions of cancelable event objects by invoking the Event.preventDefault()
+ method, and determine whether an event has been canceled through the Event.defaultPrevented attribute.
+
+ Test Description:
+ eventPhase is used to indicate which phase of event flow is currently being accomplished.
+
+
+
+ Double click here:
+
+
+
Test passes if the word "PASS" appears below after double clicking the above textbox.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/Event.stopPropagation.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/Event.stopPropagation.html
new file mode 100644
index 0000000000..019143e366
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/Event.stopPropagation.html
@@ -0,0 +1,85 @@
+
+
+
+ W3C DOM Level 3 Event Object method: stopPropagation
+
+
+
+
+ Test Description:
+ stopPropagation prevents other event listeners from being triggered.
+
+
+
+ Click the button:
+
+
+
Test passes if the word "PASS" appears below after clicking the above button using mouse.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/KeyboardEvent.key.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/KeyboardEvent.key.html
new file mode 100644
index 0000000000..ea1adb0751
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/KeyboardEvent.key.html
@@ -0,0 +1,56 @@
+
+
+
+ KeyboardEvent Object Property: key
+
+
+
+
Test Description: KeyboardEvent Object Property key holds the key value of the key pressed
+
+ Type 'a' here:
+
+
Test passes if the word "PASS" appears below after typing 'a' in the above textbox using keyboard.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/KeyboardEvent.location.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/KeyboardEvent.location.html
new file mode 100644
index 0000000000..63fe460f3d
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/KeyboardEvent.location.html
@@ -0,0 +1,74 @@
+
+
+
+ KeyboardEvent.location
+
+
+
+
DOM Events
+
+ Test Description: KeyboardEvent.location attribute contains an indication of the
+ location of the key on the device.
+
+
+
+
+
+ Steps:
+ 1) Type 'a' in the above textbox using keyboard
+ 2) Press '{CTRL}' key on the left side of the keyboard
+ 3) Press '{SHIFT}' key on the right side of the keyboard
+ 4) Click here to test again if not following the steps exactly
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/KeyboardEvent.modifiers.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/KeyboardEvent.modifiers.html
new file mode 100644
index 0000000000..ee490b47ec
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/KeyboardEvent.modifiers.html
@@ -0,0 +1,66 @@
+
+
+
+ KeyboardEvent.getModifierState() and 'AltGraph' modifier key
+
+
+
+
DOM Events
+
+ Test Description: Some operating systems simulate the 'AltGraph' modifier key
+ with the combination of the 'Alt' and 'Control' modifier keys. Implementations
+ are encouraged to use the 'AltGraph' modifier key.
+
+
+
+
+
+ Steps:
+ 1) Click in the above textbox using mouse
+ 2) Press and hold down '{CTRL}' key and then press '{ALT}' key on the keyboard
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MouseEvent.button.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MouseEvent.button.html
new file mode 100644
index 0000000000..605565a781
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MouseEvent.button.html
@@ -0,0 +1,65 @@
+
+
+
+ MouseEvent.button for mouseup Event
+
+
+
+
+ Test Description: MouseEvent.button value for mouseup event is based on current button pressed.
+
+
+
+
+
+ Steps:
+ 1) Move the mouse pointer to the above textbox
+ 2) Click the mouse button in this order: Left Button, Middle Button, Right Button
+ 3) Click here to test again if not following the steps exactly
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MouseEvent.image.map.area.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MouseEvent.image.map.area.html
new file mode 100644
index 0000000000..17b7dd5cce
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MouseEvent.image.map.area.html
@@ -0,0 +1,70 @@
+
+
+
+ MouseEvent event on IMG element with MAP and AREA elements
+
+
+
+
DOM Events
+
+ Test Description: MouseEvent event fires on the AREA element when click the MAP AREA on an image
+
+
+
+
+
+
+
+ Steps:
+
+
Click at the arrow pointer symbol on the bottom-right corner of the image.
+
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MouseEvent.preventDefault.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MouseEvent.preventDefault.html
new file mode 100644
index 0000000000..e6cb57806d
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MouseEvent.preventDefault.html
@@ -0,0 +1,94 @@
+
+
+
+ MouseEvent: mousedown - preventDefault() for text selection
+
+
+
+
DOM Events
+
+ Test Description: MouseEvent - Text selection is disabled after cancelling mousedown event.
+
+
+ Use mouse to select the whole line here
+
+
+ Steps:
+
+
Make sure text in the above green box can be selected using mouse
+
Dismiss the selection, if any, by clicking at the green box with mouse
+
Now, click the button:
+
Drag mouse to select the whole line of the text inside the above green box
+
Click the button:
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MutationEvent.hasFeature.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MutationEvent.hasFeature.html
new file mode 100644
index 0000000000..f550a5366d
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MutationEvent.hasFeature.html
@@ -0,0 +1,67 @@
+
+
+
+ MutationEvent: feature detection with hasFeature()
+
+
+
+
DOM Events
+
+ Test Description: MutationEvent - feature support detection using DOMImplementation.hasFeature() method
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MutationEvent.initMutationEvent.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MutationEvent.initMutationEvent.html
new file mode 100644
index 0000000000..3b2bceabf4
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MutationEvent.initMutationEvent.html
@@ -0,0 +1,72 @@
+
+
+
+ MutationEvent.initMutationEvent() and Event.trusted
+
+
+
+
DOM Events
+
+ Test Description: initMutationEvent initializes attributes of a MutationEvent object.
+
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MutationEvent.relatedNode.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MutationEvent.relatedNode.html
new file mode 100644
index 0000000000..6b92079ef6
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/MutationEvent.relatedNode.html
@@ -0,0 +1,76 @@
+
+
+
+ MutationEvent.relatedNode for DOMNodeInserted and DOMNodeRemoved
+
+
+
+
DOM Events
+
+ Test Description: MutationEvent.relatedNode is the parent node of the node being removed for DOMNodeRemoved event;
+ and, it is the parent node of the node that has been inserted for DOMNodeInserted event
+
+
+
+
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/ProcessingInstruction.DOMCharacterDataModified.fail.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/ProcessingInstruction.DOMCharacterDataModified.fail.html
new file mode 100644
index 0000000000..9b0843c115
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/ProcessingInstruction.DOMCharacterDataModified.fail.html
@@ -0,0 +1,18 @@
+
+
+
+ ProcessingInstruction.data and DOMCharacterDataModified event
+
+
+
DOM Events
+
+ Test Description: DOMCharacterDataModified event fires after ProcessingInstruction.data have been modified,
+ but the node itself has not been inserted or deleted. The proximal event target of this event shall be the
+ ProcessingInstruction node.
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/ProcessingInstruction.DOMCharacterDataModified.xml b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/ProcessingInstruction.DOMCharacterDataModified.xml
new file mode 100644
index 0000000000..34ad59064f
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/ProcessingInstruction.DOMCharacterDataModified.xml
@@ -0,0 +1,63 @@
+
+
+
+ ProcessingInstruction.data and DOMCharacterDataModified event
+
+
+
+
DOM Events
+
+ Test Description: DOMCharacterDataModified event fires after ProcessingInstruction.data have been modified,
+ but the node itself has not been inserted or deleted. The proximal event target of this event shall be the
+ ProcessingInstruction node.
+
+
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/TextEvent.hasFeature.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/TextEvent.hasFeature.html
new file mode 100644
index 0000000000..853cc7c435
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/TextEvent.hasFeature.html
@@ -0,0 +1,60 @@
+
+
+
+ TextEvent: feature detection with hasFeature()
+
+
+
+
DOM Events
+
+ Test Description: TextEvent - feature support detection using DOMImplementation.hasFeature() method
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/TextEvent.initTextEvent.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/TextEvent.initTextEvent.html
new file mode 100644
index 0000000000..52eae11aa9
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/TextEvent.initTextEvent.html
@@ -0,0 +1,66 @@
+
+
+
+ TextEvent.initTextEvent() and Event.trusted
+
+
+
+
DOM Events
+
+ Test Description: initTextEvent initializes attributes of a TextEvent object.
+
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/TextEvent.inputMode.IME.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/TextEvent.inputMode.IME.html
new file mode 100644
index 0000000000..af5c736242
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/TextEvent.inputMode.IME.html
@@ -0,0 +1,69 @@
+
+
+
+ TextEvent: inputMode with DOM_INPUT_METHOD_IME
+
+
+
+
DOM Events
+
+ Test Description: TextEvent.inputMode is DOM_INPUT_METHOD_IME (0x04)
+ when the text string was entered through an Input Method Editor.
+
+
+
+
+
+
+
+ Steps:
+
+
Open Japanese Microsoft IME and select Hiragana input method
+
Click at the above textbox and then type 'a' using keyboard
+
Press '{ENTER}' key to complete the IME composition
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/TextEvent.inputMode.drop.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/TextEvent.inputMode.drop.html
new file mode 100644
index 0000000000..14ffc19765
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/TextEvent.inputMode.drop.html
@@ -0,0 +1,71 @@
+
+
+
+ TextEvent: inputMode with DOM_INPUT_METHOD_DROP
+
+
+
+
DOM Events
+
+ Test Description: TextEvent.inputMode is DOM_INPUT_METHOD_DROP (0x03)
+ when the text string was inserted as part of a drag-and-drop operation.
+
+
+
+
Hello World
+
+
+
+
+
+ Steps:
+
+
Select "Hello World" inside the green editbox
+
Drag-and-drop it ("Hello World") to the textbox below the green editbox
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/TextEvent.inputMode.keyboard.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/TextEvent.inputMode.keyboard.html
new file mode 100644
index 0000000000..472dd96ddb
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/TextEvent.inputMode.keyboard.html
@@ -0,0 +1,67 @@
+
+
+
+ TextEvent: inputMode with DOM_INPUT_METHOD_KEYBOARD
+
+
+
+
DOM Events
+
+ Test Description: TextEvent.inputMode is DOM_INPUT_METHOD_KEYBOARD (0x01)
+ when the text string was input through a keyboard.
+
+
+
+
+
+
+ Steps:
+
+
Type 'a' in the above texbox using keyboard
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+ Test Description: WheelEvent - wheel event bubbles.
+
+
+
+
+
+
+ Steps:
+
+
Note: an input device with scroll wheel support (e.g., mouse wheel) is required
+
Move the mouse pointer over the above textarea
+
Scroll down the mouse wheel 1 or more units
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/WheelEvent.ctrlKey.zoom.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/WheelEvent.ctrlKey.zoom.html
new file mode 100644
index 0000000000..52b17ced96
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/WheelEvent.ctrlKey.zoom.html
@@ -0,0 +1,93 @@
+
+
+
+ WheelEvent: wheel - MouseEvent.ctrlKey and Zooming
+
+
+
+
DOM Events
+
+ Test Description: The typical default action of the wheel event type, in some cases, is to
+ zoom the document. If this event is canceled, the implementation must not zoom the document.
+
+
+
+
+
+ Steps:
+
+
Note: an input device with scroll wheel support (e.g., mouse wheel) is required
+
Make sure the page can be zoomed in/out by holding down '{CTRL}' key + scrolling the mouse wheel on the page
+
Now, click the button:
+
Press and hold down '{CTRL}' key on the keyboard
+
Move the mouse pointer to the center of the page
+
Scroll down/up the mouse wheel some units
+
Click the button:
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/WheelEvent.deltaMode.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/WheelEvent.deltaMode.html
new file mode 100644
index 0000000000..11761f4083
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/WheelEvent.deltaMode.html
@@ -0,0 +1,76 @@
+
+
+
+ WheelEvent: wheel - WheelEvent.deltaMode
+
+
+
+
DOM Events
+
+ Test Description: WheelEvent.deltaMode attribute contains an indication of the units of
+ measurement for the delta values. Its value may be different based on system configuration.
+
+
+
+
+ TOP TOP TOP TOP TOP TOP TOP
+ Scroll mouse wheel over here
+ Scroll mouse wheel over here
+ Scroll mouse wheel over here
+ Scroll mouse wheel over here
+ Scroll mouse wheel over here
+ Scroll mouse wheel over here
+ END END END END END END END
+
+
+
+ Steps:
+
+
Note: an input device with scroll wheel support (e.g., mouse wheel) is required
+
Move the mouse pointer over the above green box
+
Scroll down the mouse wheel 1 or more units
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/WheelEvent.hasFeature.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/WheelEvent.hasFeature.html
new file mode 100644
index 0000000000..8bd224fa98
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/WheelEvent.hasFeature.html
@@ -0,0 +1,60 @@
+
+
+
+ WheelEvent: feature detection with hasFeature()
+
+
+
+
DOM Events
+
+ Test Description: WheelEvent - feature support detection using DOMImplementation.hasFeature() method
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/WheelEvent.initWheelEvent.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/WheelEvent.initWheelEvent.html
new file mode 100644
index 0000000000..cd8c192e41
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/WheelEvent.initWheelEvent.html
@@ -0,0 +1,76 @@
+
+
+
+ WheelEvent.initWheelEvent() and Event.trusted
+
+
+
+
DOM Events
+
+ Test Description: initWheelEvent initializes attributes of a WheelEvent object.
+
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/WheelEvent.preventDefault.scroll.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/WheelEvent.preventDefault.scroll.html
new file mode 100644
index 0000000000..6cb55a071f
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/WheelEvent.preventDefault.scroll.html
@@ -0,0 +1,91 @@
+
+
+
+ WheelEvent: wheel - preventDefault() for Scrolling
+
+
+
+
DOM Events
+
+ Test Description: The typical default action of the wheel event type is to scroll the document/element
+ by the indicated amount. If this event is canceled, the implementation must not scroll document/element.
+
+
+
+
+
+
+ Steps:
+
+
Note: an input device with scroll wheel support (e.g., mouse wheel) is required
+
Make sure the above textarea can be scrolled by scrolling the mouse wheel over it
+
Now, click the button:
+
Move the mouse pointer over the above textarea
+
Scroll down the mouse wheel 1 or more units
+
Click the button:
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/abort.img.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/abort.img.html
new file mode 100644
index 0000000000..c0fb1eaf97
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/abort.img.html
@@ -0,0 +1,74 @@
+
+
+
+ W3C DOM Level 3 Event: abort
+
+
+
+
+ Test Description:
+ The abort event fires when the loading of a resource has been aborted.
+
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/blur.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/blur.html
new file mode 100644
index 0000000000..cef282bfe5
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/blur.html
@@ -0,0 +1,57 @@
+
+
+
+ W3C DOM Level 3 Event: blur
+
+
+
+
Test Description: blur event fires when an event target loses focus.
+
+
+ Click the textbox and then the button:
+
+
+
+
Test passes if the word "PASS" appears below after clicking the above textbox and then the button.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/compositionstart.data.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/compositionstart.data.html
new file mode 100644
index 0000000000..177c37e8d7
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/compositionstart.data.html
@@ -0,0 +1,66 @@
+
+
+
+ CompositionEvent.data for compositionstart Event
+
+
+
+
DOM Events
+
+ Test Description: The value of the data attribute of the compositionstart event
+ shall be null for new IME input.
+
+
+
+
+
+ Steps:
+ 1) Open Japanese Microsoft IME and select Hiragana input method
+ 2) Click at the above textbox and then type 'a' using keyboard
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/compositionstart.keydown.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/compositionstart.keydown.html
new file mode 100644
index 0000000000..7316d1a8a3
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/compositionstart.keydown.html
@@ -0,0 +1,76 @@
+
+
+
+ compositionstart Event and keydown Event
+
+
+
+
DOM Events
+
+ Test Description: When a keyboard is used to feed an input method editor,
+ compositionstart event type is generated after a keydown event.
+
+
+
+
+
+ Steps:
+ 1) Open Japanese Microsoft IME and select Hiragana input method
+ 2) Type 'a' in the above textbox using keyboard
+ 3) Click here to test again if not following the steps exactly
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/compositionstart.preventDefault.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/compositionstart.preventDefault.html
new file mode 100644
index 0000000000..74fc52b579
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/compositionstart.preventDefault.html
@@ -0,0 +1,73 @@
+
+
+
+ Cancelling compositionstart Event via Event.preventDefault()
+
+
+
+
DOM Events
+
+ Test Description: The default action of compositionstart event is to launch the appropriate text
+ composition system. If this event is canceled, the text composition system must not be launched.
+
+
+
+
+
+ Steps:
+ 1) Open Japanese Microsoft IME and select Hiragana input method
+ 2) Click at the above textbox and then type 'a' using keyboard
+
+
+
Test passes if the word "PASS" appears below and nothing is typed to the textbox after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/converted/EventListener.dispatch.new.event.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/converted/EventListener.dispatch.new.event.html
new file mode 100644
index 0000000000..e0ab7e0d3e
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/converted/EventListener.dispatch.new.event.html
@@ -0,0 +1,77 @@
+
+
+
+ Dispatch additional events inside an event listener
+
+
+
+
+
+
+
+
+
+
Shady Grove
+
Aeolian
+
+
+
Over the river, Charlie
+
Dorian
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/converted/support/ProcessingInstruction.DOMCharacterDataModified.xml b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/converted/support/ProcessingInstruction.DOMCharacterDataModified.xml
new file mode 100644
index 0000000000..4c95ae29df
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/converted/support/ProcessingInstruction.DOMCharacterDataModified.xml
@@ -0,0 +1,32 @@
+
+
+
+ ProcessingInstruction.data and DOMCharacterDataModified event
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/dispatchEvent.click.checkbox.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/dispatchEvent.click.checkbox.html
new file mode 100644
index 0000000000..757bb12646
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/dispatchEvent.click.checkbox.html
@@ -0,0 +1,93 @@
+
+
+
+ MouseEvent: Default action and synthetic click event
+
+
+
+
DOM Events
+
+ Test Description: MouseEvent: Default action is performed when a synthetic click event is dispatched on a checkbox element
+
+
+
+
+
+
+ Steps:
+
+
Click the button "Click Here"
+
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/error.image.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/error.image.html
new file mode 100644
index 0000000000..a629652d4f
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/error.image.html
@@ -0,0 +1,65 @@
+
+
+
+ W3C DOM Level 3 Event: error
+
+
+
+
Test Description: error event fires when an IMG resource failed to load.
+
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/focusin.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/focusin.html
new file mode 100644
index 0000000000..a6eb1b6638
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/focusin.html
@@ -0,0 +1,61 @@
+
+
+
+ W3C DOM Level 3 Event: focusin
+
+
+
+
+ Test Description:
+ focusin event fires when an event target is about to receive focus.
+
+
+
+ Click here:
+
+
+
Test passes if the word "PASS" appears below after clicking the above textbox using mouse.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/focusin.relatedTarget.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/focusin.relatedTarget.html
new file mode 100644
index 0000000000..a36d254666
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/focusin.relatedTarget.html
@@ -0,0 +1,64 @@
+
+
+
+ FocusEvent.relatedTarget for focusin Event
+
+
+
+
DOM Events
+
+ Test Description: FocusEvent.relatedTarget for focusin event is the event target losing focus.
+
+
+
+
+
+ Steps:
+ 1) Click in the above textbox using mouse
+ 2) Then click the above button using mouse
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/focusout.relatedTarget.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/focusout.relatedTarget.html
new file mode 100644
index 0000000000..bc02267ed7
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/focusout.relatedTarget.html
@@ -0,0 +1,64 @@
+
+
+
+ FocusEvent.relatedTarget for focusout Event
+
+
+
+
DOM Events
+
+ Test Description: FocusEvent.relatedTarget for focusout event is the event target receiving focus.
+
+
+
+
+
+ Steps:
+ 1) Click in the above textbox using mouse
+ 2) Then click the above button using mouse
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/hasFeature.Events.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/hasFeature.Events.html
new file mode 100644
index 0000000000..e0c9ba18d8
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/hasFeature.Events.html
@@ -0,0 +1,52 @@
+
+
+
+ DOMImplementation.hasFeature() with Events, 3.0 and 2.0
+
+
+
+
DOM Events
+
+ Test Description: Since DOM Level 3 Events is built on top of DOM Level 2 Events, an
+ implementation that returns true for "Events" and "3.0" shall also return true for the
+ parameters "Events" and "2.0".
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/hasFeature.feature.string.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/hasFeature.feature.string.html
new file mode 100644
index 0000000000..e96c39c855
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/hasFeature.feature.string.html
@@ -0,0 +1,80 @@
+
+
+
+ DOMImplementation.hasFeature() and Extended Feature String
+
+
+
+
DOM Events
+
+ Test Description: each interface defined in DOM Level 3 Events has a feature string,
+ which may act as a base feature string or as an extended feature string.
+
+
+
Test passes if the word "PASS" appears below.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/load.image.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/load.image.html
new file mode 100644
index 0000000000..19414eaf02
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/load.image.html
@@ -0,0 +1,82 @@
+
+
+
+ W3C DOM Level 3 Event: load
+
+
+
+
+ Test Description:
+ load event fires when the DOM implementation finishes loading the resource (such as the document)
+ and any dependent resources (such as images, style sheets, or scripts).
+
+
+
+
+
+
+
Test passes if the word "PASS" appears below after the above image is loaded.
+
Test result:
+
FAIL
+
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/mouseenter.ctrlKey.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/mouseenter.ctrlKey.html
new file mode 100644
index 0000000000..dac16046cf
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/mouseenter.ctrlKey.html
@@ -0,0 +1,64 @@
+
+
+
+ MouseEvent.ctrlKey for mouseenter Event
+
+
+
+
DOM Events
+
+ Test Description: MouseEvent.ctrlKey returns true if 'Control' key is depressed, otherwise false.
+
+
+
+
+
+ Steps:
+ 1) Press and hold down the '{CTRL}' key
+ 2) Move the mouse pointer into the image
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/mouseenter.relatedTarget.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/mouseenter.relatedTarget.html
new file mode 100644
index 0000000000..f2d449dae8
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/mouseenter.relatedTarget.html
@@ -0,0 +1,69 @@
+
+
+
+ MouseEvent.relatedTarget for mouseenter Event
+
+
+
+
DOM Events
+
+ Test Description: MouseEvent.relatedTarget for mouseenter event indicates
+ the event target a pointing device is exiting, if any.
+
+
+
+
+
+
+
+
+
+ Steps:
+ 1) Move the mouse pointer into the above green rectangle
+ 2) Then move the mouse pointer onto the button
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/mouseleave.relatedTarget.html b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/mouseleave.relatedTarget.html
new file mode 100644
index 0000000000..37ca719750
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/mouseleave.relatedTarget.html
@@ -0,0 +1,69 @@
+
+
+
+ MouseEvent.relatedTarget for mouseleave Event
+
+
+
+
DOM Events
+
+ Test Description: MouseEvent.relatedTarget for mouseleave event indicates
+ the event target a pointing device is entering, if any.
+
+
+
+
+
+
+
+
+
+ Steps:
+ 1) Move the mouse pointer onto the above button
+ 2) Then move the mouse pointer out of it
+
+
+
Test passes if the word "PASS" appears below after following the above steps.
+
Test result:
+
FAIL
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/support/16kb.js b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/support/16kb.js
new file mode 100644
index 0000000000..fb3c0d64b1
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/support/16kb.js
@@ -0,0 +1,140 @@
+var text =
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " +
+"This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! This is a test! " ;
+ActualResult.push("SCRIPT:loaded");
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/support/InvalidBitMap.png b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/support/InvalidBitMap.png
new file mode 100644
index 0000000000..0a15a8e10d
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/support/InvalidBitMap.png
@@ -0,0 +1 @@
+Invalid BitMap
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/support/iepreview.png b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/support/iepreview.png
new file mode 100644
index 0000000000..63959a0562
Binary files /dev/null and b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/support/iepreview.png differ
diff --git a/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/support/style01.css b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/support/style01.css
new file mode 100644
index 0000000000..961757bf3d
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/support/style01.css
@@ -0,0 +1,3 @@
+BODY {
+ PADDING-BOTTOM: 0px; BACKGROUND-COLOR: #eef0eb; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
+}
diff --git a/testing/web-platform/tests/uievents/legacy/Event-subclasses-init.html b/testing/web-platform/tests/uievents/legacy/Event-subclasses-init.html
new file mode 100644
index 0000000000..a79a9f18ad
--- /dev/null
+++ b/testing/web-platform/tests/uievents/legacy/Event-subclasses-init.html
@@ -0,0 +1,17 @@
+
+
+
+
diff --git a/testing/web-platform/tests/uievents/mouse/attributes.html b/testing/web-platform/tests/uievents/mouse/attributes.html
new file mode 100644
index 0000000000..bbc388445c
--- /dev/null
+++ b/testing/web-platform/tests/uievents/mouse/attributes.html
@@ -0,0 +1,61 @@
+
+MouseEvent attributes
+
+
+
+
+
+
+
+LeftRight
+
+
diff --git a/testing/web-platform/tests/uievents/mouse/cancel-mousedown-in-subframe.html b/testing/web-platform/tests/uievents/mouse/cancel-mousedown-in-subframe.html
new file mode 100644
index 0000000000..0735037735
--- /dev/null
+++ b/testing/web-platform/tests/uievents/mouse/cancel-mousedown-in-subframe.html
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+ Dragging the mouse from child frame to parent frame causes both mousedown and
+ mouseup events being dispatched to child frame, regardless of whether the
+ mousedown event is canceled or not.
+
+
+
+
diff --git a/testing/web-platform/tests/uievents/mouse/layout_change_should_fire_mouseover.html b/testing/web-platform/tests/uievents/mouse/layout_change_should_fire_mouseover.html
new file mode 100644
index 0000000000..49257ae60d
--- /dev/null
+++ b/testing/web-platform/tests/uievents/mouse/layout_change_should_fire_mouseover.html
@@ -0,0 +1,97 @@
+
+
+
+ Mouseover/enter is sent on layout change
+
+
+
+
+
+
+
+
+
+
+
+
Test Description: Tests that the mouseover event is fired and the element has a hover effect when the element underneath the mouse cursor is changed.
+
+
+
+
diff --git a/testing/web-platform/tests/uievents/mouse/resources/utils.js b/testing/web-platform/tests/uievents/mouse/resources/utils.js
new file mode 100644
index 0000000000..669a2e2edd
--- /dev/null
+++ b/testing/web-platform/tests/uievents/mouse/resources/utils.js
@@ -0,0 +1,27 @@
+// Sends to Window |w| the object |{type, param}|.
+function sendMessage(w, type, param) {
+ w.postMessage({"type": type, "param": param}, "*");
+}
+
+// Returns a |Promise| that gets resolved with the event object when |target|
+// receives an event of type |event_type|.
+function getEvent(event_type, target) {
+ return new Promise(resolve => {
+ target.addEventListener(event_type, e => resolve(e), {once: true});
+ });
+}
+
+// Returns a |Promise| that gets resolved with |event.data| when |window|
+// receives from |source| a "message" event whose |event.data.type| matches the string
+// |message_data_type|.
+function getMessageData(message_data_type, source) {
+ return new Promise(resolve => {
+ function waitAndRemove(e) {
+ if (e.source != source || !e.data || e.data.type != message_data_type)
+ return;
+ window.removeEventListener("message", waitAndRemove);
+ resolve(e.data);
+ }
+ window.addEventListener("message", waitAndRemove);
+ });
+}
diff --git a/testing/web-platform/tests/uievents/order-of-events/README.md b/testing/web-platform/tests/uievents/order-of-events/README.md
new file mode 100644
index 0000000000..a6ef35eb0b
--- /dev/null
+++ b/testing/web-platform/tests/uievents/order-of-events/README.md
@@ -0,0 +1,15 @@
+Order of events
+============================
+
+Testing of how events fire in relation to one another
+
+(this is the big work item)
+
+Expecting to need:
+ * braindead test (does it work at all?)
+ * specific functional tests
+ * specific edge cases
+
+Notes:
+ * small tests so that they can be given specific names for what's broken if it fails
+ * include a link to the corresponding test in the spec.
diff --git a/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-automated-blink-webkit.html b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-automated-blink-webkit.html
new file mode 100644
index 0000000000..41de454136
--- /dev/null
+++ b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-automated-blink-webkit.html
@@ -0,0 +1,159 @@
+
+
+
+
+
+
+ Focus-related events should fire in the correct order
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-contained.html b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-contained.html
new file mode 100644
index 0000000000..8df612c108
--- /dev/null
+++ b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-contained.html
@@ -0,0 +1,94 @@
+
+
+
+
+ Focus-related events should fire in the correct order
+
+
+
+
+
+
+
+
+
+
+
+
Click into the text input.
+
Click just below the text input.
+
Click into the text input again.
+
Click the "Done" button.
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-management-expectations.html b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-management-expectations.html
new file mode 100644
index 0000000000..1845c15d71
--- /dev/null
+++ b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-management-expectations.html
@@ -0,0 +1,48 @@
+
+
+
+
+
+ Focus management event expectations
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/testing/web-platform/tests/uievents/order-of-events/focus-events/focus.html b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus.html
new file mode 100644
index 0000000000..7942674a70
--- /dev/null
+++ b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus.html
@@ -0,0 +1,94 @@
+
+
+
+
+ Focus-related events should fire in the correct order
+
+
+
+
+
+
+
+
+
+
+
+
+
Click into the first text input.
+
Click into the second text input.
+
Click the "Done" button.
+
+
+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/uievents/order-of-events/focus-events/legacy-manual.html b/testing/web-platform/tests/uievents/order-of-events/focus-events/legacy-manual.html
new file mode 100644
index 0000000000..e71273973e
--- /dev/null
+++ b/testing/web-platform/tests/uievents/order-of-events/focus-events/legacy-manual.html
@@ -0,0 +1,84 @@
+
+
+
+
+ Focus-related events (including legacy events) should fire in the correct order
+
+
+
+
+
+
+
+
+
Click into the first text input.
+
Click into the second text input.
+
Click the "Done" button.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-cancel.html b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-cancel.html
new file mode 100644
index 0000000000..082c2a0cc3
--- /dev/null
+++ b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-cancel.html
@@ -0,0 +1,37 @@
+
+
+
+
+ Default action is canceled if the click event is canceled.
+
+
+
+
+
+
+
+ Check me!
+
+
+
+
diff --git a/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-body.html b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-body.html
new file mode 100644
index 0000000000..45453c75ca
--- /dev/null
+++ b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-body.html
@@ -0,0 +1,57 @@
+
+
+
+
+ Clicking on the body element itself fires a click event
+
+
+
+
+
+
+
+
+
+
+
Click on the blue area below.
+
+
+
+
diff --git a/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-div.html b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-div.html
new file mode 100644
index 0000000000..bf06d8251c
--- /dev/null
+++ b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-div.html
@@ -0,0 +1,47 @@
+
+
+
+
+ Clicking on a div element that has no click event handler fires a click event
+
+
+
+
+
+
+
+
+
+
+
+
Click on the blue square below.
+
Click me
+
+
+
diff --git a/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-html.html b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-html.html
new file mode 100644
index 0000000000..e93acc6749
--- /dev/null
+++ b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-html.html
@@ -0,0 +1,67 @@
+
+
+
+
+ Clicking on the html element itself fires a click event
+
+
+
+
+
+
+
+
+
+
+
Click on the blue area below.
+
+
+
+
diff --git a/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-order.html b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-order.html
new file mode 100644
index 0000000000..1285a31efc
--- /dev/null
+++ b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-order.html
@@ -0,0 +1,86 @@
+
+
+
+
+ Click-related events should fire in the correct order
+
+
+
+
+
+
+
+
+
+
+
Description: Verifies that mousemove events track the pointer position and transition from top-most
+ visible element to top-most visible element, changing targets
+ in the DOM along the way.
+
+
Instructions:
+
+
Move the pointer to the upper-left red box and then move it directly toward and into the lower-right red box.
+
+
Test Passes if both boxes turn green and the word 'PASS' appears below