- From: <bugzilla@jessica.w3.org>
- Date: Tue, 16 Sep 2014 20:22:01 +0000
- To: public-css-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26294 --- Comment #4 from Kearwood "Kip" Gilbert <kgilbert@mozilla.com> --- (In reply to Simon Pieters from comment #3) > Thanks Kip! I'm working on this and came up with the same syntax, but I > think it would be good to have scrollBy also to replace `scrollLeft += 10`. > Maybe also throw in scroll() since it exists on window? > > I'm also looking into making ScrollOptions the first argument for the scroll > methods on window. It would be nice if they were consistent I think. WDYT? > > (There is also an open issue about making the object the first argument for > scrollIntoView().) Thanks Simon, Taking this further, with element.scrollBy, window.scrollTo, and window.scrollBy seems natural. Perhaps the ElementScrollOptions dictionary could be renamed if it is used for both element and window? Or would you suggest that window and/or scrollBy methods accept a different set of members? Cheers, - Kearwood "Kip" Gilbert -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Tuesday, 16 September 2014 20:22:03 UTC