Aleksandro
12/23/2015 6:42:00 PM
On 23/12/15 15:17, Stefan Ram wrote:
> The page
>
> developer.mozilla.org/en-US/docs/Web/API/Screen
>
> contains »
>
> Screen.height
> Returns the height of the screen in pixels.
>
> Screen.width
> Returns the width of the screen.
>
> «. So /that's/ the difference between »height« and »width«:
> »height« is measured in pixels, while »width« is measured
> in an unspecified unit! ;-)
>
> I often find the MDN to be quite mediocre. For example, in
> the case above, I also do not deem properties to »return«
> values. /Functions/ return values, properties /have/ them.
>
> Also, it is not necessary to always repeat the name of the
> interface and to use a verb when a value is being described.
>
> So, I'd write this as (assuming that »width« /is/ in pixels): »
>
> The interface Screen
>
> height
> the height of the screen in pixels
>
> width
> the width of the screen in pixels
>
> «.
¿How about contributing such correction to the documentation?