summaryrefslogtreecommitdiffstats
path: root/devtools/client/inspector/shared/test/doc_content_style_changes.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--devtools/client/inspector/shared/test/doc_content_style_changes.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/devtools/client/inspector/shared/test/doc_content_style_changes.html b/devtools/client/inspector/shared/test/doc_content_style_changes.html
new file mode 100644
index 0000000000..c439f2bf4f
--- /dev/null
+++ b/devtools/client/inspector/shared/test/doc_content_style_changes.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<style>
+#test {
+ color: red;
+}
+/* Adding/removing the green-class on #test should refresh the rule-view when #test is
+ selected */
+#test.green-class {
+ color: green;
+}
+/* Adding/removing the purple-class on #parent should refresh the rule-view when #test is
+ selected */
+#parent.purple-class #test {
+ color: purple;
+}
+/* Adding/removing the blue-class on #sibling should refresh the rule-view when #test is
+ selected*/
+#sibling.blue-class + #test {
+ color: blue;
+}
+</style>
+<div id="parent">
+ <div>
+ <div id="sibling"></div>
+ <div id="test">test</div>
+ </div>
+</div>