[Bug 23048] New: Split ScrollOptions to different dicts

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23048

            Bug ID: 23048
           Summary: Split ScrollOptions to different dicts
    Classification: Unclassified
           Product: CSS
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSSOM View
          Assignee: simonp@opera.com
          Reporter: simonp@opera.com
        QA Contact: public-css-bugzilla@w3.org

http://dev.w3.org/csswg/cssom-view/#scrollbehavior

[[
dictionary ScrollOptions {
  double x;
  double y;
  ScrollBehavior behavior = "auto";
};
]]

Using x/y in the dict that gets used by scroll() is evidently confusing. Should
split it to different dicts instead:

dictionary ScrollOptions {
  ScrollBehavior behavior = "auto";
};
dictionary ScrollOptionsHorizontal : ScrollOptions {
  double x;
};
dictionary ScrollOptionsVertical : ScrollOptions {
  double y;
};

(The x/y members are used by Element#scrollLeft and scrollTop.)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 23 August 2013 09:56:21 UTC