testing/web-platform/tests/resources/webidl2/test/syntax/idl/typedef-nested.widl
author James Graham <james@hoppipolla.co.uk>
Mon, 18 Jan 2016 12:54:03 +0000
changeset 281258 7d68d3d864e5a2f63c508bfab2b2ffcbcecb42b6
parent 268033 5e0eae94d1cc4c484e9cf210f47279d52a8bbf4a
permissions -rw-r--r--
Bug 1241948 - Update web-platform-tests to revision 967dfa72eaa149af854c6c38cb64e28b4961a480, a=testonly


      interface Point {
        attribute float x;
        attribute float y;
      };


      interface Rect {
        attribute Point topleft;
        attribute Point bottomright;
      };

  interface Widget {
    typedef sequence<Point> PointSequence;

    readonly attribute Rect bounds;

    boolean pointWithinBounds(Point p);
    boolean allPointsWithinBounds(PointSequence ps);
  };

  typedef [Clamp] octet value;