// Copyright 2014 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.

// Spec: https://html.spec.whatwg.org/multipage/scripting.html#hitregionoptions

enum CanvasFillRule { "nonzero", "evenodd" };

dictionary HitRegionOptions {
    Path2D? path = null;
    CanvasFillRule fillRule = "nonzero";
    DOMString id = "";
    Element? control = null;
    // We don't use parentID, label and role yet.
};
