Skip to content

Commit 632fa60

Browse files
authored
Merge pull request #78 from rakuco/use-webidl-getter-convention
editorial: Use Web IDL's definition conventions for getters.
2 parents b91297a + f537496 commit 632fa60

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

index.bs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,11 @@ To construct an {{AmbientLightSensor}} object the user agent must invoke the
237237

238238
### The illuminance attribute ### {#ambient-light-sensor-reading-attribute}
239239

240-
The <a attribute for="AmbientLightSensor">illuminance</a> attribute of the {{AmbientLightSensor}}
241-
interface represents the [=current light level=] and returns the result of invoking
242-
[=get value from latest reading=] with `this` and "illuminance" as arguments.
240+
The {{AmbientLightSensor/illuminance}} getter steps are:
241+
242+
1. Let |illuminance| be the result of invoking [=get value from latest
243+
reading=] with [=this=] and "illuminance" as arguments.
244+
1. Return |illuminance|.
243245

244246
Abstract Operations {#abstract-operations}
245247
===================

0 commit comments

Comments
 (0)