devtools-protocol 0.0.1704684 → 0.0.1704951
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 +11 -0
- package/package.json +1 -1
- package/pdl/domains/Emulation.pdl +8 -0
- package/types/protocol.d.ts +11 -0
|
@@ -11603,6 +11603,17 @@
|
|
|
11603
11603
|
"enable",
|
|
11604
11604
|
"default"
|
|
11605
11605
|
]
|
|
11606
|
+
},
|
|
11607
|
+
{
|
|
11608
|
+
"name": "textLayoutMode",
|
|
11609
|
+
"description": "Text layout mode. Default: `default`. Note: if `mobile` is `true`,\nmobile text layout mode (text autosizing) is always enabled.",
|
|
11610
|
+
"experimental": true,
|
|
11611
|
+
"optional": true,
|
|
11612
|
+
"type": "string",
|
|
11613
|
+
"enum": [
|
|
11614
|
+
"mobile",
|
|
11615
|
+
"default"
|
|
11616
|
+
]
|
|
11606
11617
|
}
|
|
11607
11618
|
]
|
|
11608
11619
|
},
|
package/package.json
CHANGED
|
@@ -330,6 +330,14 @@ domain Emulation
|
|
|
330
330
|
# Restores the default viewport meta behavior (disabled on desktop,
|
|
331
331
|
# enabled on mobile).
|
|
332
332
|
default
|
|
333
|
+
# Text layout mode. Default: `default`. Note: if `mobile` is `true`,
|
|
334
|
+
# mobile text layout mode (text autosizing) is always enabled.
|
|
335
|
+
experimental optional enum textLayoutMode
|
|
336
|
+
# Enables mobile text layout mode (text autosizing / CSS text-size-adjust).
|
|
337
|
+
mobile
|
|
338
|
+
# Restores the default text layout mode behavior (disabled on desktop,
|
|
339
|
+
# enabled on mobile).
|
|
340
|
+
default
|
|
333
341
|
|
|
334
342
|
# Start reporting the given posture value to the Device Posture API.
|
|
335
343
|
# This override can also be set in setDeviceMetricsOverride().
|
package/types/protocol.d.ts
CHANGED
|
@@ -9777,6 +9777,11 @@ export namespace Protocol {
|
|
|
9777
9777
|
Default = 'default',
|
|
9778
9778
|
}
|
|
9779
9779
|
|
|
9780
|
+
export const enum SetDeviceMetricsOverrideRequestTextLayoutMode {
|
|
9781
|
+
Mobile = 'mobile',
|
|
9782
|
+
Default = 'default',
|
|
9783
|
+
}
|
|
9784
|
+
|
|
9780
9785
|
export interface SetDeviceMetricsOverrideRequest {
|
|
9781
9786
|
/**
|
|
9782
9787
|
* Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.
|
|
@@ -9871,6 +9876,12 @@ export namespace Protocol {
|
|
|
9871
9876
|
* @experimental
|
|
9872
9877
|
*/
|
|
9873
9878
|
viewportMeta?: ('enable' | 'default');
|
|
9879
|
+
/**
|
|
9880
|
+
* Text layout mode. Default: `default`. Note: if `mobile` is `true`,
|
|
9881
|
+
* mobile text layout mode (text autosizing) is always enabled.
|
|
9882
|
+
* @experimental
|
|
9883
|
+
*/
|
|
9884
|
+
textLayoutMode?: ('mobile' | 'default');
|
|
9874
9885
|
}
|
|
9875
9886
|
|
|
9876
9887
|
export interface SetDevicePostureOverrideRequest {
|