forked from mirrors/gecko-dev
<!-- Please describe your changes on the following line: --> Implement `getProperties` for `StylePropertyMapReadOnly`. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #17579. - [X] These changes do not require tests because the existing css-paint-api tests catch this (rather annoyingly, they all fail for different reasons, sigh) <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: b07f06ce9263177f01cde692d3ea5830a7dfdeeb --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : fccd2072f1aaf4a55809ecb0f58b299d5dc40058
16 lines
745 B
Text
16 lines
745 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 http://mozilla.org/MPL/2.0/. */
|
|
|
|
// https://drafts.css-houdini.org/css-typed-om-1/#stylepropertymapreadonly
|
|
// NOTE: should this be exposed to Window?
|
|
[Pref="dom.worklet.enabled", Exposed=(Worklet)]
|
|
interface StylePropertyMapReadOnly {
|
|
CSSStyleValue? get(DOMString property);
|
|
// sequence<CSSStyleValue> getAll(DOMString property);
|
|
boolean has(DOMString property);
|
|
// iterable<DOMString, (CSSStyleValue or sequence<CSSStyleValue>)>;
|
|
sequence<DOMString> getProperties();
|
|
// https://github.com/w3c/css-houdini-drafts/issues/268
|
|
// stringifier;
|
|
};
|