Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / core / dom / DOMPoint.idl
blob8c9932314d933dc6b3e17ef73177ebb9bea8edd4
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // http://dev.w3.org/fxtf/geometry/#DOMPoint
8 // FIXME: The point argument is optional in the spec:
9 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=28108
10 Constructor(DOMPointInit point),
11 Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
12 optional unrestricted double z = 0, optional unrestricted double w = 1),
13 // FIXME: Exposed=(Window,Worker)
14 RuntimeEnabled=GeometryInterfaces,
15 ] interface DOMPoint : DOMPointReadOnly {
16 inherit attribute unrestricted double x;
17 inherit attribute unrestricted double y;
18 inherit attribute unrestricted double z;
19 inherit attribute unrestricted double w;