devtools-protocol 0.0.957947 → 0.0.959523
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.
- package/json/browser_protocol.json +27 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +10 -0
- package/types/protocol.d.ts +18 -0
|
@@ -15440,6 +15440,24 @@
|
|
|
15440
15440
|
}
|
|
15441
15441
|
]
|
|
15442
15442
|
},
|
|
15443
|
+
{
|
|
15444
|
+
"id": "ScriptFontFamilies",
|
|
15445
|
+
"description": "Font families collection for a script.",
|
|
15446
|
+
"experimental": true,
|
|
15447
|
+
"type": "object",
|
|
15448
|
+
"properties": [
|
|
15449
|
+
{
|
|
15450
|
+
"name": "script",
|
|
15451
|
+
"description": "Name of the script which these font families are defined for.",
|
|
15452
|
+
"type": "string"
|
|
15453
|
+
},
|
|
15454
|
+
{
|
|
15455
|
+
"name": "fontFamilies",
|
|
15456
|
+
"description": "Generic font families collection for the script.",
|
|
15457
|
+
"$ref": "FontFamilies"
|
|
15458
|
+
}
|
|
15459
|
+
]
|
|
15460
|
+
},
|
|
15443
15461
|
{
|
|
15444
15462
|
"id": "FontSizes",
|
|
15445
15463
|
"description": "Default font sizes.",
|
|
@@ -16640,6 +16658,15 @@
|
|
|
16640
16658
|
"name": "fontFamilies",
|
|
16641
16659
|
"description": "Specifies font families to set. If a font family is not specified, it won't be changed.",
|
|
16642
16660
|
"$ref": "FontFamilies"
|
|
16661
|
+
},
|
|
16662
|
+
{
|
|
16663
|
+
"name": "forScripts",
|
|
16664
|
+
"description": "Specifies font families to set for individual scripts.",
|
|
16665
|
+
"optional": true,
|
|
16666
|
+
"type": "array",
|
|
16667
|
+
"items": {
|
|
16668
|
+
"$ref": "ScriptFontFamilies"
|
|
16669
|
+
}
|
|
16643
16670
|
}
|
|
16644
16671
|
]
|
|
16645
16672
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -7177,6 +7177,14 @@ domain Page
|
|
|
7177
7177
|
# The pictograph font-family.
|
|
7178
7178
|
optional string pictograph
|
|
7179
7179
|
|
|
7180
|
+
# Font families collection for a script.
|
|
7181
|
+
experimental type ScriptFontFamilies extends object
|
|
7182
|
+
properties
|
|
7183
|
+
# Name of the script which these font families are defined for.
|
|
7184
|
+
string script
|
|
7185
|
+
# Generic font families collection for the script.
|
|
7186
|
+
FontFamilies fontFamilies
|
|
7187
|
+
|
|
7180
7188
|
# Default font sizes.
|
|
7181
7189
|
experimental type FontSizes extends object
|
|
7182
7190
|
properties
|
|
@@ -7637,6 +7645,8 @@ domain Page
|
|
|
7637
7645
|
parameters
|
|
7638
7646
|
# Specifies font families to set. If a font family is not specified, it won't be changed.
|
|
7639
7647
|
FontFamilies fontFamilies
|
|
7648
|
+
# Specifies font families to set for individual scripts.
|
|
7649
|
+
optional array of ScriptFontFamilies forScripts
|
|
7640
7650
|
|
|
7641
7651
|
# Set default font sizes.
|
|
7642
7652
|
experimental command setFontSizes
|
package/types/protocol.d.ts
CHANGED
|
@@ -12299,6 +12299,20 @@ export namespace Protocol {
|
|
|
12299
12299
|
pictograph?: string;
|
|
12300
12300
|
}
|
|
12301
12301
|
|
|
12302
|
+
/**
|
|
12303
|
+
* Font families collection for a script.
|
|
12304
|
+
*/
|
|
12305
|
+
export interface ScriptFontFamilies {
|
|
12306
|
+
/**
|
|
12307
|
+
* Name of the script which these font families are defined for.
|
|
12308
|
+
*/
|
|
12309
|
+
script: string;
|
|
12310
|
+
/**
|
|
12311
|
+
* Generic font families collection for the script.
|
|
12312
|
+
*/
|
|
12313
|
+
fontFamilies: FontFamilies;
|
|
12314
|
+
}
|
|
12315
|
+
|
|
12302
12316
|
/**
|
|
12303
12317
|
* Default font sizes.
|
|
12304
12318
|
*/
|
|
@@ -12950,6 +12964,10 @@ export namespace Protocol {
|
|
|
12950
12964
|
* Specifies font families to set. If a font family is not specified, it won't be changed.
|
|
12951
12965
|
*/
|
|
12952
12966
|
fontFamilies: FontFamilies;
|
|
12967
|
+
/**
|
|
12968
|
+
* Specifies font families to set for individual scripts.
|
|
12969
|
+
*/
|
|
12970
|
+
forScripts?: ScriptFontFamilies[];
|
|
12953
12971
|
}
|
|
12954
12972
|
|
|
12955
12973
|
export interface SetFontSizesRequest {
|