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

Unified Diff: Source/core/html/forms/RangeInputType.cpp

Issue 294963003: MediaVolumeSliderPart is not vertical (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added TC. Created 6 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
« no previous file with comments | « LayoutTests/media/media-controls.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/RangeInputType.cpp
diff --git a/Source/core/html/forms/RangeInputType.cpp b/Source/core/html/forms/RangeInputType.cpp
index 8b1ae04903560800918c5fb3391070669a8045d1..29375d1b1f5edc288a797436e1be9af2d22974c7 100644
--- a/Source/core/html/forms/RangeInputType.cpp
+++ b/Source/core/html/forms/RangeInputType.cpp
@@ -204,7 +204,7 @@ void RangeInputType::handleKeydownEvent(KeyboardEvent* event)
bool isVertical = false;
if (element().renderer()) {
ControlPart part = element().renderer()->style()->appearance();
- isVertical = part == SliderVerticalPart || part == MediaVolumeSliderPart;
+ isVertical = part == SliderVerticalPart;
}
Decimal newValue;
« no previous file with comments | « LayoutTests/media/media-controls.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698