servo/components/script/dom/webidls/HTMLMeterElement.webidl
shanehandley 2904c32e05
Implement attributes for the <meter> element (#32230)
* Implement attributes for the meter element

* Remove checks for min < max before clamping
2024-05-11 05:06:44 +00:00

23 lines
705 B
Text

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlmeterelement
[Exposed=Window]
interface HTMLMeterElement : HTMLElement {
[HTMLConstructor] constructor();
[CEReactions]
attribute double value;
[CEReactions]
attribute double min;
[CEReactions]
attribute double max;
[CEReactions]
attribute double low;
[CEReactions]
attribute double high;
[CEReactions]
attribute double optimum;
readonly attribute NodeList labels;
};