Skip to content

Commit

Permalink
Add [SameObject] to the Screen.orientation attribute (#111)
Browse files Browse the repository at this point in the history
There should not be new Orientation instances created on
a Screen.orientation call.
  • Loading branch information
Mikhail Pozdnyakov authored and Marcos Cáceres committed Nov 4, 2017
1 parent 225fe18 commit e3d8349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ <h2>
interface [[!CSSOM-VIEW]], which this specification extends:
<pre class='idl'>
partial interface Screen {
readonly attribute ScreenOrientation orientation;
[SameObject] readonly attribute ScreenOrientation orientation;
};
</pre>
<p>
Expand Down

0 comments on commit e3d8349

Please sign in to comment.