Bug 1440159 [wpt PR 9616] - [css-typed-om] Ensure StylePropertyMapReadonly IDL matches spec., a=testonly

Automatic update from web-platform-tests[css-typed-om] Ensure StylePropertyMapReadonly IDL matches spec.

Spec added a new .size member, which we implement in this patch.

Bug: 812915
Change-Id: Ib48fc7b8053c41e4c79dc9cc280bc18376e5fbe0
Reviewed-on: https://chromium-review.googlesource.com/930101
Reviewed-by: nainar <nainar@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538304}

wpt-commits: 4f1e7fd4de8f2ef88e8e37f085fcd87717a06a20
wpt-pr: 9616
wpt-commits: 4f1e7fd4de8f2ef88e8e37f085fcd87717a06a20
wpt-pr: 9616
This commit is contained in:
Darren Shen 2018-03-26 12:47:19 +00:00 committed by James Graham
parent 75318b8b55
commit ae062507ce
2 changed files with 3 additions and 3 deletions

View File

@ -568733,7 +568733,7 @@
"support"
],
"interfaces/css-typed-om.idl": [
"2bfd527a102cce31448b33eec999db8607ab5ffd",
"ca834748926e51dc4b53e2924155fa5fff22d33d",
"support"
],
"interfaces/cssom-view.idl": [

View File

@ -7,13 +7,13 @@ interface CSSStyleValue {
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
interface StylePropertyMapReadOnly {
readonly maplike<DOMString, sequence<CSSStyleValue>>;
iterable<DOMString, sequence<CSSStyleValue>>;
any get(DOMString property);
/* 'any' means (undefined or CSSStyleValue) here,
see https://github.com/heycam/webidl/issues/60 */
sequence<CSSStyleValue> getAll(DOMString property);
boolean has(DOMString property);
stringifier;
readonly attribute long size;
};
callback UpdateFunction = CSSStyleValue (CSSStyleValue oldValue);