diff -r 000000000000 -r 4f2f89ce4247 WebCore/manual-tests/mouseevents-on-textnodes.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebCore/manual-tests/mouseevents-on-textnodes.html Fri Sep 17 09:02:29 2010 +0300 @@ -0,0 +1,43 @@ + + + + + + + +

BUG ID: 4196646 target returns text node when it should return the parent node

+ +

STEPS TO TEST: +Click where indicated below. +

+ +

TEST PASS: +After clicking, see alert dialogs as described below. +

+ +

TEST FAIL: +After clicking, see alert dialogs other than what is described below. +Specifically, tests #1 and #3 below will alert "[object TEXT]" +

+ +

1. click on this text - you should see an alert that says "[object P]"

+ +
2. click on white space next to this text -->
you should see an alert that says "[object DIV]" -->

+ +3. click on this text - you should see an alert that says "[object BODY]"

+ +4. click on empty whitespace on this page, below this text - you should see an alert that says "[object HTML]" + + +