Back to Chromium

Mouseevents On Textnodes

third_party/blink/manual_tests/mouseevents-on-textnodes.html

149.0.7827.2743 B
Original Source

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]"