Index: Source/core/dom/DOMQuad.idl |
diff --git a/Source/core/dom/DOMQuad.idl b/Source/core/dom/DOMQuad.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cd7912b63a9e4974b1ea07b4bfec006b4688ee6e |
--- /dev/null |
+++ b/Source/core/dom/DOMQuad.idl |
@@ -0,0 +1,22 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// http://dev.w3.org/fxtf/geometry/#DOMQuad |
+ |
+[ |
+ // FIXME: The point argument is optional in the spec: |
+ // https://www.w3.org/Bugs/Public/show_bug.cgi?id=28108 |
+ Constructor(DOMRectInit rect), |
+ Constructor(optional DOMPointInit p1, optional DOMPointInit p2, |
+ optional DOMPointInit p3, optional DOMPointInit p4), |
+ // FIXME: Exposed=(Window,Worker) |
+ GarbageCollected, |
+ RuntimeEnabled=GeometryInterfaces, |
+] interface DOMQuad { |
+ readonly attribute DOMPoint p1; |
+ readonly attribute DOMPoint p2; |
+ readonly attribute DOMPoint p3; |
+ readonly attribute DOMPoint p4; |
+ readonly attribute DOMRectReadOnly bounds; |
+}; |