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

Unified Diff: content/test/data/accessibility/event/aria-slider-value-both-change.html

Issue 2890723003: Slider events with valuetext (Closed)
Patch Set: Fix test Created 3 years, 7 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
Index: content/test/data/accessibility/event/aria-slider-value-both-change.html
diff --git a/content/test/data/accessibility/event/aria-slider-value-both-change.html b/content/test/data/accessibility/event/aria-slider-value-both-change.html
new file mode 100644
index 0000000000000000000000000000000000000000..7970e4caa4acdcad0c83fdd895abe9d73d011b97
--- /dev/null
+++ b/content/test/data/accessibility/event/aria-slider-value-both-change.html
@@ -0,0 +1,18 @@
+<!--
+@WIN-DENY:*
+@WIN-ALLOW:EVENT_OBJECT_VALUECHANGE*
+@MAC-DENY:AXLayoutComplete*
+-->
+<!DOCTYPE html>
+<html>
+<body>
+<div id="slider" role="slider" aria-valuenow="1" aria-valuetext="1%"
+ aria-orientation="vertical">
+<script>
+ function go() {
+ document.getElementById('slider').setAttribute('aria-valuenow', '2');
+ document.getElementById('slider').setAttribute('aria-valuetext', '2%');
+ }
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698