mirror of
https://github.com/servo/servo.git
synced 2025-08-12 17:05:33 +01:00
Update web-platform-tests to revision 0313d9f383d954ef401e79f3b669a5781aa3441a
This commit is contained in:
parent
aa61200eca
commit
b28a41ac85
55 changed files with 970 additions and 156 deletions
|
@ -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 =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue