[Webkit-unassigned] [Bug 188045] [WebIDL] Element's scrollLeft and scrollTop should be unrestricted double

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 31 01:36:33 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=188045

--- Comment #2 from Frédéric Wang (:fredw) <fred.wang at free.fr> ---
> (In reply to Simon Fraser (smfr) from comment #3)
> > > > Source/WebCore/dom/Element.idl:75
> > > > -    attribute long scrollLeft;
> > > > -    attribute long scrollTop;
> > > > +    attribute long scrollLeft; // FIXME: should be unrestricted double
> > > > +    attribute long scrollTop; // FIXME: should be unrestricted double
> > > 
> > > Seems relatively straightforward to fix this.
> > 
> > I didn't want to make a web-facing change here in the same patch.

@Simon: Any idea how this change could be visible to the user? And hence whether we can can/should test it?

I tried using values larger than the max long or non-integer values, but scrollable overflow elements/frames seem to have a limited size and to round up scroll position, so that does not seem easy.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180831/f4365279/attachment.html>


More information about the webkit-unassigned mailing list