|
6830 | 6830 | ],
|
6831 | 6831 | "description": "Details of post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions.",
|
6832 | 6832 | "experimental": true
|
6833 |
| - }, |
6834 |
| - { |
6835 |
| - "id": "LayoutTreeNode", |
6836 |
| - "type": "object", |
6837 |
| - "properties": [ |
6838 |
| - { |
6839 |
| - "name": "nodeId", |
6840 |
| - "$ref": "DOM.NodeId", |
6841 |
| - "description": "The id of the related DOM node matching one from DOM.GetDocument." |
6842 |
| - }, |
6843 |
| - { |
6844 |
| - "name": "boundingBox", |
6845 |
| - "$ref": "DOM.Rect", |
6846 |
| - "description": "The absolute position bounding box." |
6847 |
| - }, |
6848 |
| - { |
6849 |
| - "name": "layoutText", |
6850 |
| - "type": "string", |
6851 |
| - "optional": true, |
6852 |
| - "description": "Contents of the LayoutText if any" |
6853 |
| - }, |
6854 |
| - { |
6855 |
| - "name": "inlineTextNodes", |
6856 |
| - "type": "array", |
6857 |
| - "optional": true, |
6858 |
| - "items": { |
6859 |
| - "$ref": "InlineTextBox" |
6860 |
| - }, |
6861 |
| - "description": "The post layout inline text nodes, if any." |
6862 |
| - }, |
6863 |
| - { |
6864 |
| - "name": "styleIndex", |
6865 |
| - "type": "integer", |
6866 |
| - "optional": true, |
6867 |
| - "description": "Index into the computedStyles array returned by getLayoutTreeAndStyles." |
6868 |
| - } |
6869 |
| - ], |
6870 |
| - "description": "Details of an element in the DOM tree with a LayoutObject.", |
6871 |
| - "experimental": true |
6872 |
| - }, |
6873 |
| - { |
6874 |
| - "id": "ComputedStyle", |
6875 |
| - "type": "object", |
6876 |
| - "properties": [ |
6877 |
| - { |
6878 |
| - "name": "properties", |
6879 |
| - "type": "array", |
6880 |
| - "items": { |
6881 |
| - "$ref": "CSSComputedStyleProperty" |
6882 |
| - } |
6883 |
| - } |
6884 |
| - ], |
6885 |
| - "description": "A subset of the full ComputedStyle as defined by the request whitelist.", |
6886 |
| - "experimental": true |
6887 | 6833 | }
|
6888 | 6834 | ],
|
6889 | 6835 | "commands": [
|
|
7305 | 7251 | ],
|
7306 | 7252 | "experimental": true
|
7307 | 7253 | },
|
7308 |
| - { |
7309 |
| - "name": "getLayoutTreeAndStyles", |
7310 |
| - "parameters": [ |
7311 |
| - { |
7312 |
| - "name": "computedStyleWhitelist", |
7313 |
| - "type": "array", |
7314 |
| - "items": { |
7315 |
| - "type": "string" |
7316 |
| - }, |
7317 |
| - "description": "Whitelist of computed styles to return." |
7318 |
| - } |
7319 |
| - ], |
7320 |
| - "returns": [ |
7321 |
| - { |
7322 |
| - "name": "layoutTreeNodes", |
7323 |
| - "type": "array", |
7324 |
| - "items": { |
7325 |
| - "$ref": "LayoutTreeNode" |
7326 |
| - } |
7327 |
| - }, |
7328 |
| - { |
7329 |
| - "name": "computedStyles", |
7330 |
| - "type": "array", |
7331 |
| - "items": { |
7332 |
| - "$ref": "ComputedStyle" |
7333 |
| - } |
7334 |
| - } |
7335 |
| - ], |
7336 |
| - "description": "For the main document and any content documents, return the LayoutTreeNodes and a whitelisted subset of the computed style. It only returns pushed nodes, on way to pull all nodes is to call DOM.getDocument with a depth of -1.", |
7337 |
| - "experimental": true |
7338 |
| - }, |
7339 | 7254 | {
|
7340 | 7255 | "name": "startRuleUsageTracking",
|
7341 | 7256 | "description": "Enables the selector recording.",
|
|
0 commit comments