- From: <bugzilla@jessica.w3.org>
- Date: Tue, 08 Jul 2014 22:27:42 +0000
- To: public-css-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26294 Bug ID: 26294 Summary: CSSOM-View extensions to Element.scrollLeft and Element.scrollTop are not valid WebIDL Product: CSS Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: CSSOM View Assignee: simonp@opera.com Reporter: kgilbert@mozilla.com QA Contact: public-css-bugzilla@w3.org In the CSSOM-View Specification, in the "7 Extensions to the Element Interface" section, extensions to Element.scrollLeft and Element.scrollTop are described using invalid WebIDL. The WebIDL described in the extension: attribute (double or ScrollOptionsVertical) scrollTop; attribute (double or ScrollOptionsHorizontal) scrollLeft; In order to retain backwards compatibility with the existing scrollTop and scrollLeft attributes, a different (double) data type would need to be returned by the getter than in the setter (union of a double and dictionary). Either the WebIDL specification needs to be extended to support different datatypes for getters and setters, or the CSSOM-View extensions to the element interface needs to be altered. Perhaps this could be solved by replacing the extensions to scrollTop and scrollLeft with additional methods on the Element interface for performing the scrolling smoothly? -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Tuesday, 8 July 2014 22:27:44 UTC