[Pkg-mozext-commits] [firebug] 06/68: FBTest for issue 6282 (CSS panel fails on interpreting @page) http://code.google.com/p/fbug/issues/detail?id=6282
David Prévot
taffit at moszumanska.debian.org
Mon Mar 31 22:45:49 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag fbtest-1.11.4
in repository firebug.
commit 24895af64737cdaa4018c7069221dd3e8eca1907
Author: Sebastian Zartner <sebastianzartner at gmail.com>
Date: Thu Feb 21 22:02:18 2013 +0100
FBTest for issue 6282 (CSS panel fails on interpreting @page)
http://code.google.com/p/fbug/issues/detail?id=6282
Conflicts:
tests/content/firebug.html
---
tests/content/css/6282/issue6282.html | 37 +++++++++++++++++++++++++++++++++++
tests/content/css/6282/issue6282.js | 17 ++++++++++++++++
tests/content/firebug.html | 1 +
3 files changed, 55 insertions(+)
diff --git a/tests/content/css/6282/issue6282.html b/tests/content/css/6282/issue6282.html
new file mode 100644
index 0000000..b29c455
--- /dev/null
+++ b/tests/content/css/6282/issue6282.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Issue 6282: CSS panel fails on interpreting @page</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+ <link href="../../_common/testcase.css" type="text/css" rel="stylesheet"/>
+ <style type="text/css">
+ #style1 {
+ background-color: green;
+ }
+
+ @page {
+ margin: 0.5cm;
+ }
+ </style>
+ </head>
+ <body>
+ <header>
+ <h1><a href="http://code.google.com/p/fbug/issues/detail?id=6282">Issue 6282</a>: CSS panel fails on interpreting @page</h1>
+ </header>
+ <div>
+ <section id="description">
+ <h3>Steps to reproduce</h3>
+ <ol>
+ <li>Open Firebug</li>
+ <li>Switch to the <em>CSS</em> panel</li>
+ <li>In the Location Menu switch to <em>issue6282.html</em></li>
+ </ol>
+ <h3>Expected result</h3>
+ <ul>
+ <li>The <em>CSS</em> panel should show the contents of <em>issue6282.html</em>.</li>
+ </ul>
+ </section>
+ <footer>Sebastian Zartner, sebastianzartner at gmail.com</footer>
+ </div>
+ </body>
+</html>
diff --git a/tests/content/css/6282/issue6282.js b/tests/content/css/6282/issue6282.js
new file mode 100644
index 0000000..e5ce2ef
--- /dev/null
+++ b/tests/content/css/6282/issue6282.js
@@ -0,0 +1,17 @@
+function runTest()
+{
+ FBTest.sysout("issue6282.START");
+
+ FBTest.openNewTab(basePath + "css/6282/issue6282.html", function(win)
+ {
+ FBTest.openFirebug();
+ var panel = FBTest.selectPanel("stylesheet");
+
+ FBTest.selectPanelLocationByName(panel, "issue6282.html");
+
+ FBTest.searchInCssPanel("style1", function(node)
+ {
+ FBTest.testDone("issue6282; DONE");
+ });
+ });
+}
diff --git a/tests/content/firebug.html b/tests/content/firebug.html
index f19242f..db5b0fd 100644
--- a/tests/content/firebug.html
+++ b/tests/content/firebug.html
@@ -235,6 +235,7 @@ var testList = [
{group: "css", uri: "css/5461/issue5461.js", desc: "When copying selected parts from Style side panel don't copy source link or inherited styles header", testPage: "css/5461/issue5461.html"},
{group: "css", uri: "css/5469/issue5469.js", desc: "Add units when changing the length '0' with up/down keys", testPage: "css/5469/issue5469.html"},
{group: "css", uri: "css/5644/issue5644.js", desc: "Editing a disabled property makes another", testPage: "css/5644/issue5644.html"},
+ {group: "css", uri: "css/6282/issue6282.js", desc: "CSS panel fails on interpreting @page", testPage: "css/6282/issue6282.html"},
{group: "css/computed", uri: "css/computed/3207/issue3207.js", desc: "CSS properties in the \"Computed\" tab are not updated correctly", testPage: "css/computed/3207/issue3207.html"},
{group: "css/computed", uri: "css/computed/4132/issue4132.js", desc: "Only show applied styles in Computed side panel", testPage: "css/computed/4132/issue4132.html"},
{group: "css/computed", uri: "css/computed/5449/issue5449.js", desc: "Show infotips in Computed side panel", testPage: "css/computed/5449/issue5449.html"},
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git
More information about the Pkg-mozext-commits
mailing list