From c5ab1aed9aa704e66fe4ee08e947a6286ded6cec Mon Sep 17 00:00:00 2001 From: Anssi Kostiainen Date: Fri, 9 Aug 2019 14:24:28 +0300 Subject: [PATCH] Align with IDL dictionary changes https://github.com/heycam/webidl/issues/758 --- index.bs | 6 +++--- index.html | 30 +++++++++++++++--------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/index.bs b/index.bs index a0c7e45..9bfc5bb 100644 --- a/index.bs +++ b/index.bs @@ -258,7 +258,7 @@ The Accelerometer Interface {#accelerometer-interface} --------------------------------
-  [Constructor(optional AccelerometerSensorOptions options), SecureContext,
+  [Constructor(optional AccelerometerSensorOptions options = {}), SecureContext,
     Exposed=Window]
   interface Accelerometer : Sensor {
     readonly attribute double? x;
@@ -301,7 +301,7 @@ The LinearAccelerationSensor Interface {#linearaccelerationsensor-interface}
 --------------------------------
 
 
-  [Constructor(optional AccelerometerSensorOptions options), SecureContext,
+  [Constructor(optional AccelerometerSensorOptions options = {}), SecureContext,
     Exposed=Window]
   interface LinearAccelerationSensor : Accelerometer {
   };
@@ -335,7 +335,7 @@ The GravitySensor Interface {#gravitysensor-interface}
 --------------------------------
 
 
-  [Constructor(optional AccelerometerSensorOptions options), SecureContext,
+  [Constructor(optional AccelerometerSensorOptions options = {}), SecureContext,
     Exposed=Window]
   interface GravitySensor : Accelerometer {
   };
diff --git a/index.html b/index.html
index 1ea1786..ee55210 100644
--- a/index.html
+++ b/index.html
@@ -1030,7 +1030,7 @@
 		}
 	/* } */
 
-	@supports (display:grid) {
+	@supports (display:grid) and (display:contents) {
 		/* Use #toc over .toc to override non-@supports rules. */
 		#toc {
 			display: grid;
@@ -1219,9 +1219,9 @@
       background-attachment: fixed;
     }
   
-  
+  
   
-  
+