File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed
gen-src/ChromeDevtoolsProtocol/Model/CSS Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,13 @@ final class GetMatchedStylesForNodeResponse implements \JsonSerializable
60
60
*/
61
61
public $ cssKeyframesRules ;
62
62
63
+ /**
64
+ * Id of the first parent element that does not have display: contents.
65
+ *
66
+ * @var int
67
+ */
68
+ public $ parentLayoutNodeId ;
69
+
63
70
64
71
/**
65
72
* @param object $data
@@ -104,6 +111,9 @@ public static function fromJson($data)
104
111
$ instance ->cssKeyframesRules [] = CSSKeyframesRule::fromJson ($ item );
105
112
}
106
113
}
114
+ if (isset ($ data ->parentLayoutNodeId )) {
115
+ $ instance ->parentLayoutNodeId = (int )$ data ->parentLayoutNodeId ;
116
+ }
107
117
return $ instance ;
108
118
}
109
119
@@ -147,6 +157,9 @@ public function jsonSerialize()
147
157
$ data ->cssKeyframesRules [] = $ item ->jsonSerialize ();
148
158
}
149
159
}
160
+ if ($ this ->parentLayoutNodeId !== null ) {
161
+ $ data ->parentLayoutNodeId = $ this ->parentLayoutNodeId ;
162
+ }
150
163
return $ data ;
151
164
}
152
165
}
Original file line number Diff line number Diff line change 4296
4296
"items": {
4297
4297
"$ref": "CSSKeyframesRule"
4298
4298
}
4299
+ },
4300
+ {
4301
+ "name": "parentLayoutNodeId",
4302
+ "description": "Id of the first parent element that does not have display: contents.",
4303
+ "experimental": true,
4304
+ "optional": true,
4305
+ "$ref": "DOM.NodeId"
4299
4306
}
4300
4307
]
4301
4308
},
Original file line number Diff line number Diff line change 1
- 3317c93c2f6f1b8944b857b6ecd6a3e5 protocol.json
1
+ 56875dea148aabde042724b4fa21073e protocol.json
You can’t perform that action at this time.
0 commit comments