Update web-platform-tests to revision 0313d9f383d954ef401e79f3b669a5781aa3441a

This commit is contained in:
WPT Sync Bot 2018-09-02 21:39:17 -04:00
parent aa61200eca
commit b28a41ac85
55 changed files with 970 additions and 156 deletions

View file

@ -77,6 +77,13 @@ var ImageCaptureTest = (() => {
step: 1.0
},
focusDistance: {
min: 1.0,
max: 10.0,
current: 3.0,
step: 1.0
},
zoom: {
min: 0.0,
max: 10.0,
@ -130,6 +137,8 @@ var ImageCaptureTest = (() => {
this.state_.state.zoom.current = settings.zoom;
if (settings.hasFocusMode)
this.state_.state.currentFocusMode = settings.focusMode;
if (settings.hasFocusDistance)
this.state_.state.focusDistance.current = settings.focusDistance;
if (settings.pointsOfInterest.length > 0) {
this.state_.state.pointsOfInterest =