mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
test: add a <datalist> spec for time type (#36953)
spec: add a datalist spec for time type
This commit is contained in:
15
spec/fixtures/pages/datalist-text.html
vendored
Normal file
15
spec/fixtures/pages/datalist-text.html
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<body>
|
||||
<input type="text" list="guitarists" />
|
||||
<datalist id="guitarists">
|
||||
<select>
|
||||
<option value="John Mayer"></option>
|
||||
<option value="Eric Clapton"></option>
|
||||
<option value="Django Reinhardt"></option>
|
||||
</select>
|
||||
</datalist>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
13
spec/fixtures/pages/datalist-time.html
vendored
Normal file
13
spec/fixtures/pages/datalist-time.html
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<body>
|
||||
<input type="time" list="hours" />
|
||||
<datalist id="popularHours">
|
||||
<option value="12:00"></option>
|
||||
<option value="13:00"></option>
|
||||
<option value="14:00"></option>
|
||||
</datalist>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
13
spec/fixtures/pages/datalist.html
vendored
13
spec/fixtures/pages/datalist.html
vendored
@@ -1,13 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<input type="text" list="guitarists" />
|
||||
<datalist id="guitarists">
|
||||
<select>
|
||||
<option value="John Mayer"></option>
|
||||
<option value="Eric Clapton"></option>
|
||||
<option value="Django Reinhardt"></option>
|
||||
</select>
|
||||
</datalist>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user