DescriptionForce display:none for audio elements with no controls attribute
In label-contains-other-interactive-content.html there is an audio
element which is clicked twice, first without the controls attribute and
then again after adding it.
When there is no controls attribute the element doesn't have a layout
object, so that amounted to clicking at (0,0). Due to the bug addressed
here, adding the controls attribute also didn't cause the layout object
to be created when it should, so the second click was also at (0,0).
These two clicks add up to a double click, triggering a selection in the
page. This is the cause of the test failure in a seemingly unrelated
change: https://codereview.chromium.org/838003005/
Change label-contains-other-interactive-content.html to not (fail to)
click on the audio element with no controls attribute, as it's far from
obvious that clickElement(element) will click (0,0) instead.
BUG=497120
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196671
Patch Set 1 #
Messages
Total messages: 11 (4 generated)
|