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

Unified Diff: LayoutTests/inspector/elements/styles/styles-disable-then-enable-overriden-ua.html

Issue 313083005: DevTools: Show rules from imported stylesheets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added a test Created 6 years, 6 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: LayoutTests/inspector/elements/styles/styles-disable-then-enable-overriden-ua.html
diff --git a/LayoutTests/inspector/elements/styles/styles-disable-then-enable-overriden-ua.html b/LayoutTests/inspector/elements/styles/styles-disable-then-enable-overriden-ua.html
index 9604eddd7752e38aacd13452807e4fbd399c6b17..dfc9fa7489ab52dad5925c5aa4aacf600153ed62 100644
--- a/LayoutTests/inspector/elements/styles/styles-disable-then-enable-overriden-ua.html
+++ b/LayoutTests/inspector/elements/styles/styles-disable-then-enable-overriden-ua.html
@@ -14,10 +14,16 @@ function injectStyleSheet()
function test()
{
- InspectorTest.evaluateInPage("injectStyleSheet()", step1);
+ InspectorTest.selectNodeAndWaitForStyles("container", step0);
+
+ function step0()
+ {
+ InspectorTest.evaluateInPage("injectStyleSheet()", step1);
+ }
+
function step1()
{
- InspectorTest.selectNodeAndWaitForStyles("container", step2);
+ InspectorTest.waitForStyles("container", step2);
}
function step2()
« no previous file with comments | « LayoutTests/inspector/elements/styles/style-rule-from-imported-stylesheet-expected.txt ('k') | Source/core/dom/StyleEngine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698