From 4a8dd9992e7b34e7de89184aa6327b41da28c195 Mon Sep 17 00:00:00 2001 From: xiaojunwu Date: Thu, 23 Jan 2014 10:04:41 +0800 Subject: [PATCH] - Add tests for the button element - fix the typo issues - Resolve issues 1. The assertion of cancelable attribute. 2. The assertion of assertion descriptions. 3. The event handle pattern and etc. - Update the last assertion of the show event test - Resolve issues 1. Remove the trailing ws 2. Move evt.preventDefault() into the test 3. Add a test to check the button type, and put the click() method into it. 4. Remove the reset-form.html, etc - Fix a typo issue in the assertion description - Use t.step to check the button type - Update the event registeration method as review sugguestion Signed-off-by: xiaojunwu --- .../the-button-element/button-events.html | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 html/semantics/forms/the-button-element/button-events.html diff --git a/html/semantics/forms/the-button-element/button-events.html b/html/semantics/forms/the-button-element/button-events.html new file mode 100644 index 00000000000000..865307be7453eb --- /dev/null +++ b/html/semantics/forms/the-button-element/button-events.html @@ -0,0 +1,66 @@ + + +HTML Test: Button - events + + + + +
+
+ + + +
  • Menu item
  • +
    +
    +