Full version, Basic version

Specification link: 16.5 Processing order for user interface events

interact-order-02-b ← index → linking-a-01-b

# interact-order-03-b
SVG Image | PNG Image
interact-order-03-b Test event bubbling of event attributes. function bubbleYes(evt, color){ // Get Document var target = evt.target; target.setAttribute('fill', '' +color); } function bubbleNo(evt, color){ // Get Document var target = evt.target; target.setAttribute('fill', '' +color); evt.stopPropagation(); evt.preventDefault(); } Event bubbling - c String turns red on click String hyperlinks to interact-order-03b-targ.svg All strings are selectable. $Revision: 1.2 $ |

Test event bubbling of event attributes, part c.

The three strings tests event handling behavior on text. Text selection only is available after event listeners and event attributes have been processed, and after hyperlink processing has occurred. The supplemental text below the text strings describes what should occur.

interact-order-02-b ← index → linking-a-01-b