[Title] [EFL] Slider progress bar goes crazy with negative ranges
[Problem] Check the 2nd and 3rd example of the page bellow : http://www.html5tutorial.info/html5-range.php
[Cause] N/A
[Solution] https://bugs.webkit.org/show_bug.cgi?id=95753
Now the calculation of what the current value represents in terms of progress (from 0 to 1) is correctly done.
Change-Id: I26fd2a785853f03fbb459055d551d465ecfc6661
else
msg->val[0] = 0;
- msg->val[1] = input->valueAsNumber() / valueRange;
+ msg->val[1] = (input->valueAsNumber() - input->minimum()) / valueRange;
edje_object_message_send(entry->o, EDJE_MESSAGE_FLOAT_SET, 0, msg);
#if ENABLE(PROGRESS_ELEMENT)
} else if (type == ProgressBar) {