[Webkit-unassigned] [Bug 202859] New: <input type="range">.setAttribute("value") does not update the value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 11 11:55:25 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=202859

            Bug ID: 202859
           Summary: <input type="range">.setAttribute("value") does not
                    update the value
           Product: WebKit
           Version: Safari 12
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: phistuck at chromium.org

Based on Chromium issue - https://crbug.com/852938 -

const input = document.createElement('input');
 input.type = 'range';
 input.min = 0;
 input.max = 10;
 document.body.appendChild(input);
 requestAnimationFrame(() => {
  requestAnimationFrame(() => {
   input.setAttribute('value', 2);
  });
 });


See the recently added web-platform-test - https://crrev.com/ffdff57271ad1e77d0a277b95f0fbb6ebd02354b/third_party/blink/web_tests/external/wpt/html/semantics/forms/the-input-element/range-setattribute-value.html

The issue also has a small patch that can likely be ported to WebKit -
https://chromium.googlesource.com/chromium/src.git/+/ffdff57271ad1e77d0a277b95f0fbb6ebd02354b

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191011/96415db0/attachment.html>


More information about the webkit-unassigned mailing list