Scrolling

  1. Scrolling
  2. Scrolling
    <meta name="viewport">
  3. Scrolling w/ inline CSS
  4. Scrolling w/ inline CSS
    <meta name="viewport">

General

  1. Basic Info
    navigator.userAgent navigator.language navigator.languages navigator.buildID navigator.getVRDisplays
  2. Permissions
    navigator.bluetooth navigator.clipboard navigator.credentials navigator.geolocation navigator.getUserMedia navigator.permissions navigator.requestFullscreen navigator.requestMediaKeySystemAccess navigator.storage navigator.usb Notification.requestPermission registerProtocolHandler requestPointerLock
  3. WebGL and Graphics Capabilities
    WEBGL_debug_renderer_info navigator.hardwareConcurrency
  4. WebVR v1.1 Samples
  5. WebXR Samples
  6. WebXR Tests
  7. Firefox Reality List of Issues
  8. Firefox Reality Pull Requests
  9. javascript: URL Tests
  10. Dialogues
    alert prompt confirm
  11. fetch request fetch('/', {method: 'HEAD'}) fetch('/', {method: 'GET'}) fetch('/', {method: …})
  12. Anti-XSS, HTML-entity escaping in web-page titles <title>

Content-Types and File Types

  1. Plain text file .txt
  2. CSS stylesheet .css
  3. JavaScript file .js
  4. web-page document .html
  5. PDF document .pdf
  6. Markdown document .md
  7. ZIP archive .zip
  8. Basic Auth

Window and Screen

  1. simple window dimension
  2. window dimensions with fullscreen
  3. video.requestFullscreen()
  4. Popups and window.open

Forms

  1. Select Drop-Down Field <select></select>
  2. Date Picker <input type="date">
  3. Date-Time Local Picker <input type="date">
  4. Date-Time Fallback Picker <input type="date">
  5. Editable Form Fields <textarea></textarea> <input type="text"> <input type="reset">
  6. Complete File Field <input type="file" accept=".jpg, .jpeg, .png" multiple>
  7. File Field w/ Accepted File Extensions <input type="file" accept=".jpg, .jpeg, .png">
  8. File Field w/ Selecting Multiple Files <input type="file" multiple>
  9. Text Field <input type="text">
  10. Form Validation w/ Required <input type="text" required>
  11. Form Validation w/ Length <input type="text" required minlength="6" maxlength="6"> <input type="number" value="1" min="1" max="10">
  12. Form Validation w/ Pattern <input type="text" required pattern="banana|cherry">
  13. Form Validation w/ Min/Max, Length, and Pattern <input type="number" pattern="\d+" min="12" max="120"> <textarea rows="5" maxlength="10"></textarea>
  14. Hidden Input <input type="hidden" value="34657">
  15. Checkbox Inputs and Labels <label for="…"></label> <input type="checkbox">
  16. Fieldset and Legend <fieldset> <legend>
  17. Complete Form for Custom User Registration <input type="radio"> <input type="text"> <input type="email"> <input type="password"> <select> <button type="submit">
  18. Image as Form Button <input type="image" src="login.png" alt="login button">
  19. Image as Form Button w/ X, Y Coordinates <input id="image" type="image" src="colors.png" alt="image of four colored squares">
  20. Form Wizard w/ Events and Callbacks <input id="checkbox" checked onclick="…"> <label for="…">
  21. Form Validation for Months <input type="month" min="2017-06" max="2017-09" required> <input type="submit"> input:valid input:invalid
  22. Single-Line Text Fields <input type="text" value="I'm a text field"> <input type="email" multiple> <input type="password"> <input type="search"> <input type="tel"> <input type="url">
  23. Multiple-Line Text Fields <textarea cols="30" rows="10">
  24. Checkable Fields <input type="checkbox"> <input type="radio">
  25. Drop-Down Select Fields <select><option>…</option></select> <select><optgroup><option selected>…</option></optggroup></select> <select multiple><option>…</option></select> <input type="text" list="mySuggestion">
    <datalist id="mySuggestion">
      <option>…</option>
    </datalist>
    <label for="myFruit">What is your favorite fruit? (With fallback)</label>
    <input type="text" id="myFruit" name="fruit" list="fruitList">
    <datalist id="fruitList">
      <label for="suggestion">or pick a fruit</label>
      <select id="suggestion"><option>…</option></select>
    </datalist>
  26. Buttons <button type="submit">…<button> <input type="submit" value="This is a submit button"> <button type="reset">…<button> <input type="reset" value="This is a reset button"> <button type="button">…<button> <input type="button" value="This is an anonymous button">
  27. Other Form Fields <input type="file" accept="image/*" multiple> <input type="hidden" name="timestamp" value="1286705410"> <input type="image" name="pos" alt="" src="map.png"> <input type="reset" value="This is a reset button"> <progress max="100" value="75">75/100</progress> <meter min="0" max="100" value="75" low="33" high="66" optimum="50">75</meter>
  28. Advanced Form Fields <input type="number" name="age" id="age" min="1" max="10" step="2"> <input type="range" name="beans" id="beans" min="0" max="500" step="10"> <input type="date" name="myDate" min="2013-06-01" max="2013-08-31" id="myDate"> <input type="datetime-local" name="meet" id="meet"> <input type="month" name="month" id="month"> <input type="time" name="time" id="time"> <input type="color" name="color" id="color">
  29. Number Fields w/ Various Form Validation <input id="meters" type="number" name="meters" step="0.01" min="0" placeholder="e.g. 1.78" required> <input id="feet" type="number" name="feet" min="0" step="1"> <input id="inches" type="number" name="inches" min="0" max="11" step="1"> <input type="button" class="meters" value="Enter height in feet and inches"> <input type="submit" value="Submit form">
  30. Drop-Down Select Fields w/ Selecting Multiple and Disabled Options <select id="pet-select" name="pet" multiple size="4">  <option value="none" selected>-- Please choose one or more --</option>  <optgroup label="4-legged pets">   <option value="dog">Dog</option>   <option value="cat">Cat</option>   <option value="hamster" disabled>Hamster</option>  </optgroup>  <optgroup label="Flying pets">   <option value="parrot">Parrot</option>   <option value="macaw">Macaw</option>   <option value="albatross">Albatross</option>  </optgroup> </select>
  31. Submitting Form w/ GET Method <form action="http://foo.com" method="get">…<form>
  32. Submitting Form w/ POST Method <form action="http://foo.com" method="post">…<form>
  33. Telephone Fields w/ Patterns and Validation <input id="areaNo" name="areaNo" type="tel" required placeholder="Area code" pattern="[0-9]{3}" aria-label="Area code"> <input id="number1" name="number1" type="tel" required placeholder="First part" pattern="[0-9]{3}" aria-label="First part of number"> <input id="number2" name="number2" type="tel" required placeholder="Second part" pattern="[0-9]{4}" aria-label="Second part of number"> <select name="country"><option>…</option>…<option selected>…</option></select> input:valid input:invalid
  34. Text (Username) Field w/ Pattern and Validation <input type="text" id="uname" name="name" required placeholder="Usernames must be lowercase and 4-8 characters in length" pattern="[a-z]{4,8}"> <button></button> input:valid input:invalid
  35. Time Field w/ Pattern and Validation <input type="time" name="appt-time" min="12:00" max="18:00" required> <input type="submit" value="Submit form"> input:valid input:invalid
  36. URL Field w/ Pattern and Validation <input type="url" required pattern=".*\.myco\..*" title="URL should be in a myco domain"> <input type="text" name="myComment" required> <button></button> input:valid input:invalid
  37. Week Field w/ Min/Max and Validation <input type="week" name="week" min="2017-W01" max="2017-W52" required> <input type="submit" value="Submit form"> input:valid input:invalid
  38. Editable Fields <div contenteditable></div> <input> <input type="text"> <textarea></textarea> <input type="button"> <input type="reset"> <input type="submit">
  39. Select Drop-Down Field w/ many options <select>   <option></option> </select>
  40. autofocus on <input> field <input type="text" autofocus>
  41. Drop-Down <select> and <datalist> fields

Media

  1. Simple Video w/ src and controls <video src="rabbit320.webm" controls>…</video>
  2. Video w/ Multiple sources and controls <video controls>   <source src="rabbit320.mp4" type="video/mp4">   <source src="rabbit320.webm" type="video/webm"> </video>
  3. Video w/ Multiple sources and No controls <video>   <source src="rabbit320.mp4" type="video/mp4">   <source src="rabbit320.webm" type="video/webm"> </video>
  4. Audio w/ Multiple sources and controls <audio controls>   <source src="viper.mp3" type="audio/mp3">   <source src="viper.ogg" type="audio/ogg"> </audio>
  5. Extra Video w/ Multiple sources, controls, and More <video controls width="400" height="400" loop muted preload="auto" poster="poster.png">   <source src="rabbit320.mp4" type="video/mp4">   <source src="rabbit320.webm" type="video/webm"> </video>
  6. Video should not loop <video src="rabbit320.webm" controls>…</video>
  7. Video should loop <video src="rabbit320.webm" controls loop>…</video>
  8. Video should autoplay with volume on <video src="rabbit320.webm" controls autoplay>…</video>
  9. Video should autoplay and be muted <video src="rabbit320.webm" controls muted autoplay>…</video>
  10. Video should autoplay / toggle on click <video src="rabbit320.webm" controls autoplay onclick="…">…</video>
  11. Video local files (e.g., file://) <video src="file:///sdcard/big_buck_bunny_1080p_stereo.ogg" controls>…</video>
  12. 360° 720p mp4 (direct linked video) archive.org Source
  13. YouTube 4K 360 Video - Free Solo
  14. YouTube 8K 360 Stereo (Over-Under) - Wild With: Horses
  15. YouTube 2D Video (non-VR) - Lofi hip hop radio
  16. YouTube 2D 60p Video (non-VR) - Avengers Infinity War
  17. YouTube 3D 1080p 3D SBS Stereo (non-VR) - 3D Insane Effects
  18. Vimeo 360: HELVETIA BY NIGHT
  19. Vimeo 360: Plant Room
  20. YouTube 3D Video: VR180 3D - Music - Immune to Truth
  21. A-Frame 360° Videosphere Example (WebVR) <a-scene>   <a-assets>   <video id="video" autoplay loop crossorigin="anonymous">     <source src="https://ucarecdn.com/fadab25d-0b3a-45f7-8ef5-85318e92a261/"></source>   </video>   </a-assets>   <a-videosphere src="#video" rotation="0 180 0"></a-videosphere> </a-scene>
  22. Vimeo 2D: W3C Workshop on the Web and Virtual Reality: A Compilation
  23. Equirectangular Image: Flickr
  24. Equirectangular Image: Flickr
  25. YouTube: New York, USA. City of Skyscrapers. 360 8K aerial video
  26. YouTube: Gorillaz - Saturnz Barz (Spirit House) 360