interact-pevents-08-t

FAIL

raster image of interact-pevents-08-t

Tests when text is considered hit by pointer-events.

The test is passed if the following conditions are met: - Any single character in either of the lines of text has 'mouseover' event and the fill of the characters' assocated line of text is set to green. - The fill of the characters' assocated text is set back to black on a 'mouseout' event.

The dy of the glyphs vary quite a bit, so it's easy to tell if an implementation uses the text boundingbox for pointer-events. According to SVG 1.1 pointer-events on text is not supposed to use the text boundingbox, instead it should use the 'character cells'.