Re: [whatwg] High-density canvases

On 13/06/2014 12:42, Robert O'Callahan wrote:
> Here's an alternative proposal which I think is a bit simpler and more
> flexible:
> Expose two new DOM attributes on HTMLCanvasElement:
>     readonly attribute long preferredWidth;
>     readonly attribute long preferredHeight;
> These attributes are the UA's suggested canvas size for optimizing output
> quality. It's basically what Ian's proposal would have set as the automatic
> size. We would also add a "preferredsizechange" event when those attributes
> change.
I like the functionality but these names really don't convey that
functionality. The names you originally proposed over in *Bug 1024493*
<https://bugzilla.mozilla.org/show_bug.cgi?id=1024493> at mozilla.org,
renderedPixelWidth/Height, while not perfect, convey it much better.

Regards

    -Mark

-- 
注意:この電子メールには、株式会社エイチアイの機密情報が含まれている場合
が有ります。正式なメール受信者では無い場合はメール複製、 再配信または情
報の使用を固く禁じております。エラー、手違いでこのメールを受け取られまし
たら削除を行い配信者にご連絡をお願いいたし ます.

NOTE: This electronic mail message may contain confidential and
privileged information from HI Corporation. If you are not the intended
recipient, any disclosure, photocopying, distribution or use of the
contents of the received information is prohibited. If you have received
this e-mail in error, please notify the sender immediately and
permanently delete this message and all related copies.

Received on Wednesday, 18 June 2014 03:07:14 UTC