[whatwg] Canvas ScrollBar

João Eiras joaoe at opera.com
Thu Oct 20 05:35:46 PDT 2011

On Thu, 20 Oct 2011 14:14:12 +0200, Bronislav Klučka  
<Bronislav.Klucka at bauglir.com> wrote:

> Hello,
> Would it be possible to extend canvas specification to include scroll  
> bar functionality? To add scroll bar, to manage scroll bar (total size,  
> page size). Creating control based on canvas that needs scrollbar at  
> this point is unnecessarily difficult at this point.
> Brona Klucka

Which is your use case ?

It doesn't make any sense at all to me to have scrollbars in a canvas.  
However, if you need scrolling, you can wrap the canvas with an element  
with specified dimensions and overflow:auto.

More information about the whatwg mailing list