devtools-protocol 0.0.1504847 → 0.0.1507524

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4487,6 +4487,18 @@
4487
4487
  }
4488
4488
  ]
4489
4489
  },
4490
+ {
4491
+ "id": "ComputedStyleExtraFields",
4492
+ "experimental": true,
4493
+ "type": "object",
4494
+ "properties": [
4495
+ {
4496
+ "name": "isAppearanceBase",
4497
+ "description": "Returns whether or not this node is being rendered with base appearance,\nwhich happens when it has its appearance property set to base/base-select\nor it is in the subtree of an element being rendered with base appearance.",
4498
+ "type": "boolean"
4499
+ }
4500
+ ]
4501
+ },
4490
4502
  {
4491
4503
  "id": "CSSStyle",
4492
4504
  "description": "CSS style representation.",
@@ -5489,6 +5501,12 @@
5489
5501
  "items": {
5490
5502
  "$ref": "CSSComputedStyleProperty"
5491
5503
  }
5504
+ },
5505
+ {
5506
+ "name": "extraFields",
5507
+ "description": "A list of non-standard \"extra fields\" which blink stores alongside each\ncomputed style.",
5508
+ "experimental": true,
5509
+ "$ref": "ComputedStyleExtraFields"
5492
5510
  }
5493
5511
  ]
5494
5512
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1504847",
3
+ "version": "0.0.1507524",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -239,6 +239,13 @@ experimental domain CSS
239
239
  # Computed style property value.
240
240
  string value
241
241
 
242
+ experimental type ComputedStyleExtraFields extends object
243
+ properties
244
+ # Returns whether or not this node is being rendered with base appearance,
245
+ # which happens when it has its appearance property set to base/base-select
246
+ # or it is in the subtree of an element being rendered with base appearance.
247
+ boolean isAppearanceBase
248
+
242
249
  # CSS style representation.
243
250
  type CSSStyle extends object
244
251
  properties
@@ -674,6 +681,9 @@ experimental domain CSS
674
681
  returns
675
682
  # Computed style for the specified DOM node.
676
683
  array of CSSComputedStyleProperty computedStyle
684
+ # A list of non-standard "extra fields" which blink stores alongside each
685
+ # computed style.
686
+ experimental ComputedStyleExtraFields extraFields
677
687
 
678
688
  # Resolve the specified values in the context of the provided element.
679
689
  # For example, a value of '1em' is evaluated according to the computed
@@ -5282,6 +5282,18 @@ export namespace Protocol {
5282
5282
  value: string;
5283
5283
  }
5284
5284
 
5285
+ /**
5286
+ * @experimental
5287
+ */
5288
+ export interface ComputedStyleExtraFields {
5289
+ /**
5290
+ * Returns whether or not this node is being rendered with base appearance,
5291
+ * which happens when it has its appearance property set to base/base-select
5292
+ * or it is in the subtree of an element being rendered with base appearance.
5293
+ */
5294
+ isAppearanceBase: boolean;
5295
+ }
5296
+
5285
5297
  /**
5286
5298
  * CSS style representation.
5287
5299
  */
@@ -6023,6 +6035,12 @@ export namespace Protocol {
6023
6035
  * Computed style for the specified DOM node.
6024
6036
  */
6025
6037
  computedStyle: CSSComputedStyleProperty[];
6038
+ /**
6039
+ * A list of non-standard "extra fields" which blink stores alongside each
6040
+ * computed style.
6041
+ * @experimental
6042
+ */
6043
+ extraFields: ComputedStyleExtraFields;
6026
6044
  }
6027
6045
 
6028
6046
  export interface ResolveValuesRequest {