Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: LayoutTests/fast/forms/label/label-contains-other-interactive-content.html

Issue 1166743004: Force display:none for audio elements with no controls attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/media/audio-controls-computed-display.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/label/label-contains-other-interactive-content.html
diff --git a/LayoutTests/fast/forms/label/label-contains-other-interactive-content.html b/LayoutTests/fast/forms/label/label-contains-other-interactive-content.html
index c2a4b26de6450c7931f91776392a4f631c36dc0e..55d2fb48aac248ae654923f63a8221cc6cfbee3e 100644
--- a/LayoutTests/fast/forms/label/label-contains-other-interactive-content.html
+++ b/LayoutTests/fast/forms/label/label-contains-other-interactive-content.html
@@ -40,9 +40,9 @@ interactiveElements2.forEach(function(entry) {
element.style.width = '100px';
element.style.height = '100px';
label.appendChild(element);
- clickElement(element);
// Audio elements without controls attribute is always invisible.
if (entry[0] != 'audio') {
+ clickElement(element);
debug(entry[0]);
shouldBeEqualToString('document.activeElement.id', 'control');
}
« no previous file with comments | « no previous file | LayoutTests/media/audio-controls-computed-display.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698