Title: [251718] trunk
- Revision
- 251718
- Author
- [email protected]
- Date
- 2019-10-29 12:03:14 -0700 (Tue, 29 Oct 2019)
Log Message
<input type="range">.setAttribute("value") does not update the value
https://bugs.webkit.org/show_bug.cgi?id=202859
<rdar://problem/56204271>
Reviewed by Frédéric Wang.
Source/WebCore:
Make sure the position of the range input element's slider gets updated whenever
the element's 'value' attribute changes.
No new tests, unskipped existing test.
* html/RangeInputType.cpp:
(WebCore::RangeInputType::attributeChanged):
LayoutTests:
Unskip ref test that is no longer failing.
* TestExpectations:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (251717 => 251718)
--- trunk/LayoutTests/ChangeLog 2019-10-29 18:46:39 UTC (rev 251717)
+++ trunk/LayoutTests/ChangeLog 2019-10-29 19:03:14 UTC (rev 251718)
@@ -1,3 +1,15 @@
+2019-10-29 Chris Dumez <[email protected]>
+
+ <input type="range">.setAttribute("value") does not update the value
+ https://bugs.webkit.org/show_bug.cgi?id=202859
+ <rdar://problem/56204271>
+
+ Reviewed by Frédéric Wang.
+
+ Unskip ref test that is no longer failing.
+
+ * TestExpectations:
+
2019-10-29 Russell Epstein <[email protected]>
(r251242) [ iOS ]: fast/scrolling/ios/touch-scroll-visibility-hidden.html is a Flaky Timeout.
Modified: trunk/LayoutTests/TestExpectations (251717 => 251718)
--- trunk/LayoutTests/TestExpectations 2019-10-29 18:46:39 UTC (rev 251717)
+++ trunk/LayoutTests/TestExpectations 2019-10-29 19:03:14 UTC (rev 251718)
@@ -3942,8 +3942,6 @@
webkit.org/b/203337 imported/w3c/web-platform-tests/css/css-values/vh-support-atviewport.html [ ImageOnlyFailure ]
webkit.org/b/203338 imported/w3c/web-platform-tests/css/css-values/vh_not_refreshing_on_chrome.html [ ImageOnlyFailure ]
-webkit.org/b/202859 imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/range-setattribute-value.html [ ImageOnlyFailure ]
-
# wpt css-sizing failures
webkit.org/b/203509 imported/w3c/web-platform-tests/css/css-sizing/auto-scrollbar-inside-stf-abspos.html [ ImageOnlyFailure ]
webkit.org/b/203510 imported/w3c/web-platform-tests/css/css-sizing/clone-intrinsic-size.html [ ImageOnlyFailure ]
Modified: trunk/LayoutTests/platform/mac-wk1/TestExpectations (251717 => 251718)
--- trunk/LayoutTests/platform/mac-wk1/TestExpectations 2019-10-29 18:46:39 UTC (rev 251717)
+++ trunk/LayoutTests/platform/mac-wk1/TestExpectations 2019-10-29 19:03:14 UTC (rev 251718)
@@ -795,6 +795,9 @@
webkit.org/b/199242 [ Debug ] http/tests/performance/performance-resource-timing-resourcetimingbufferfull-shrinking-buffer-crash.html [ Pass Failure ]
+# No support for reftest-wait in DRT.
+imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/range-setattribute-value.html [ ImageOnlyFailure ]
+
# <rdar://problem/42625657> REGRESSION (Mojave): 12 fast/images tests timing out on WK1
[ Mojave+ ] fast/images/animated-heics-draw.html [ Skip ]
[ Mojave+ ] fast/images/animated-heics-verify.html [ Skip ]
@@ -814,4 +817,4 @@
webkit.org/b/203466 imported/w3c/web-platform-tests/css/css-position/z-index-blend-will-change-overlapping-layers.html [ ImageOnlyFailure ]
webkit.org/b/203501 imported/w3c/web-platform-tests/css/css-animations/animation-opacity-pause-and-set-time.html [ ImageOnlyFailure ]
-webkit.org/b/203501 imported/w3c/web-platform-tests/css/css-animations/animation-transform-pause-and-set-time.html [ ImageOnlyFailure ]
\ No newline at end of file
+webkit.org/b/203501 imported/w3c/web-platform-tests/css/css-animations/animation-transform-pause-and-set-time.html [ ImageOnlyFailure ]
Modified: trunk/Source/WebCore/ChangeLog (251717 => 251718)
--- trunk/Source/WebCore/ChangeLog 2019-10-29 18:46:39 UTC (rev 251717)
+++ trunk/Source/WebCore/ChangeLog 2019-10-29 19:03:14 UTC (rev 251718)
@@ -1,3 +1,19 @@
+2019-10-29 Chris Dumez <[email protected]>
+
+ <input type="range">.setAttribute("value") does not update the value
+ https://bugs.webkit.org/show_bug.cgi?id=202859
+ <rdar://problem/56204271>
+
+ Reviewed by Frédéric Wang.
+
+ Make sure the position of the range input element's slider gets updated whenever
+ the element's 'value' attribute changes.
+
+ No new tests, unskipped existing test.
+
+ * html/RangeInputType.cpp:
+ (WebCore::RangeInputType::attributeChanged):
+
2019-10-29 Truitt Savell <[email protected]>
Unreviewed, rolling out r251639.
Modified: trunk/Source/WebCore/html/RangeInputType.cpp (251717 => 251718)
--- trunk/Source/WebCore/html/RangeInputType.cpp 2019-10-29 18:46:39 UTC (rev 251717)
+++ trunk/Source/WebCore/html/RangeInputType.cpp 2019-10-29 19:03:14 UTC (rev 251718)
@@ -329,7 +329,7 @@
void RangeInputType::attributeChanged(const QualifiedName& name)
{
// FIXME: Don't we need to do this work for precisionAttr too?
- if (name == maxAttr || name == minAttr) {
+ if (name == maxAttr || name == minAttr || name == valueAttr) {
// Sanitize the value.
if (auto* element = this->element()) {
if (element->hasDirtyValue())
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes