diff --git a/.travis.yml b/.travis.yml index 7591f13..0f3d920 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,29 @@ +dist: trusty language: node_js -sudo: false +node_js: + - lts/* + branches: only: - - gh-pages + - gh-pages + env: global: - URL="http://w3c.github.io/screen-orientation/W3CTRMANIFEST" - DECISION="https://lists.w3.org/Archives/Public/public-webapps/2014JulSep/0627.html" - secure: "dJTE91QLWps4EXBHoQinGu4RdO6YSjk6KU/GZRFxWXyckDtOJJKu6IoB5bFtYvf6re2yh4oX5+CxuT/6trMJyVjO96cfC3OPzBgQNgwHr7ZzuP+VubLuQ6NG81ZKctqRiph1848xTq0h1hvpjWDgKTWV0uvTJWFJKU5iLzfJsZA=" + +install: + - npm install respec-validator + script: -- echo "ok" + - npx respec-validator --gh-user=$GH_USER --gh-token=$GH_TOKEN index.html + +cache: + directories: + - node_modules + after_success: -- CC="marcos@marcosc.com" -- echo "If it fails, check https://lists.w3.org/Archives/Public/public-tr-notifications/" -- curl "https://labs.w3.org/echidna/api/request" --data "url=$URL" --data "decision=$DECISION" - --data "token=$TOKEN" --data "cc=$CC" + - CC="mcaceres@mozilla.com" + - echo "If it fails, check https://lists.w3.org/Archives/Public/public-tr-notifications/" + - '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && curl "https://labs.w3.org/echidna/api/request" --data "cc=$CC" --data "url=$URL" --data "decision=$DECISION" --data "token=$TOKEN"' diff --git a/index.html b/index.html index 171844c..8ed0e2d 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@ var respecConfig = { specStatus: "ED", shortName: "screen-orientation", - previousPublishDate: "2015-04-28", + previousPublishDate: "2019-05-30", previousMaturity: "WD", editors: [ { @@ -182,10 +182,9 @@

Alerting the user if the API is not supported

-

+

In this example, if the Screen Orientation API is not - supported, or the screen orientation lock() rejects, the user is alerted to + supported, or the screen orientation {{lock()}} rejects, the user is alerted to rotate their screen manually to landscape.

@@ -226,8 +225,8 @@ 

The [[[CSSOM-View]]] specification defines the Screen interface, which this specification - extends: + "CSSOM-View#screen">Screen interface, which this + specification extends:

           partial interface Screen {
@@ -253,7 +252,7 @@ 

ScreenOrientation interface

-
+      
           [Exposed=Window]
           interface ScreenOrientation : EventTarget {
             Promise<void> lock(OrientationLockType orientation);