Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-4/keyframes-source-offsets.html

Issue 1954423002: DevTools: introduce CSSStyleSheetHeader.originalContentProvider() method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simplify-network-project
Patch Set: address comments Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/elements/styles-4/keyframes-source-offsets.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/keyframes-source-offsets.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/keyframes-source-offsets.html
index 1c616aab8138e6aca187f464b220c6b4fc47389b..5afb518873dd95d21ad2ff7419455f37d74911e5 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/keyframes-source-offsets.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/keyframes-source-offsets.html
@@ -50,9 +50,12 @@ function test()
InspectorTest.addResult("\n>> Modifying keyframe rule");
var style = new WebInspector.CSSStyleDeclaration(InspectorTest.cssModel, null, animationsPayload[1].keyframes[0].style, WebInspector.CSSStyleDeclaration.Type.Regular);
- style.setText("width: 123px");
+ style.setText("width: 123px").then(onStyleEdited);
- InspectorTest.CSSAgent.getMatchedStylesForNode(nodeId, onModifiedAnimations);
+ function onStyleEdited()
+ {
+ InspectorTest.CSSAgent.getMatchedStylesForNode(nodeId, onModifiedAnimations);
+ }
}
function onModifiedAnimations(error, inlinePayload, attributesPayload, matchedPayload, pseudoPayload, inheritedPayload, animationsPayload)

Powered by Google App Engine
This is Rietveld 408576698