| Index: third_party/WebKit/Source/devtools/protocol.json
|
| diff --git a/third_party/WebKit/Source/devtools/protocol.json b/third_party/WebKit/Source/devtools/protocol.json
|
| index 594698d6c47fda2a6d1b16326581597816263f0d..153dc8ef04189d8018843266212da85b7d96e491 100644
|
| --- a/third_party/WebKit/Source/devtools/protocol.json
|
| +++ b/third_party/WebKit/Source/devtools/protocol.json
|
| @@ -3174,6 +3174,16 @@
|
| { "name": "style", "$ref": "CSSStyle", "description": "Associated style declaration." }
|
| ],
|
| "description": "CSS keyframe rule representation."
|
| + },
|
| + {
|
| + "id": "StyleDeclarationEdit",
|
| + "type": "object",
|
| + "properties": [
|
| + { "name": "styleSheetId", "$ref": "StyleSheetId", "description": "The css style sheet identifier." },
|
| + { "name": "range", "$ref": "SourceRange", "description": "The range of the style text in the enclosing stylesheet." },
|
| + { "name": "text", "type": "string", "description": "New style text."}
|
| + ],
|
| + "description": "A descriptor of operation to mutate style declaration text."
|
| }
|
| ],
|
| "commands": [
|
| @@ -3279,16 +3289,14 @@
|
| "description": "Modifies the keyframe rule key text."
|
| },
|
| {
|
| - "name": "setStyleText",
|
| + "name": "setStyleTexts",
|
| "parameters": [
|
| - { "name": "styleSheetId", "$ref": "StyleSheetId" },
|
| - { "name": "range", "$ref": "SourceRange" },
|
| - { "name": "text", "type": "string" }
|
| + { "name": "edits", "type": "array", "items": { "$ref": "StyleDeclarationEdit" }}
|
| ],
|
| "returns": [
|
| - { "name": "style", "$ref": "CSSStyle", "description": "The resulting style after the selector modification." }
|
| + { "name": "styles", "type": "array", "items": { "$ref": "CSSStyle" }, "description": "The resulting styles after modification." }
|
| ],
|
| - "description": "Modifies the style text."
|
| + "description": "Applies specified style edits one after another in the given order."
|
| },
|
| {
|
| "name": "setMediaText",
|
|
|