Skip to content

Commit

Permalink
[tests] Test case for issue 4505 (Improved auto-completion for CSS fu…
Browse files Browse the repository at this point in the history
…nctions)

http://code.google.com/p/fbug/issues/detail?id=4505

git-svn-id: http://fbug.googlecode.com/svn@10841 e969d3be-0e28-0410-a27f-dd5c76401a8b
  • Loading branch information
[email protected] committed Jun 6, 2011
1 parent 1d7548b commit 8d91392
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions tests/issues/4505/issue4505.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html>
<head>
<title>Issue 4505: Improved auto-completion for CSS functions</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link href="https://getfirebug.com/tests/content/templates/default/testcase.css" type="text/css" rel="stylesheet"/>
<style type="text/css">
#element1 {
width: 100px;
height: 100px;
background: #8C8CFF -moz-linear-gradient(135deg, #788CFF, #B4C8FF);
}
</style>
</head>
<body>
<header>
<h1><a href="http://code.google.com/p/fbug/issues/detail?id=4505">Issue 4505</a>: Improved auto-completion for CSS functions</h1>
</header>
<div>
<section id="content">
<div id="element1"></div>
</section>
<section id="description">
<h3>Steps to reproduce</h3>
<ol>
<li>Inspect the blue <code>&lt;div&gt;</code> above</li>
<li>Inside the Style side panel double-click within the <code>#element1</code> stylesheet to add a new CSS property</li>
<li>Type <code>-moz-transform</code> as property name</li>
<li>Press <code class="key">Tab</code> to get to the value editor</li>
<li>Press <code class="key">Down</code> two times</li>
</ol>
<h3>Observed Result</h3>
<ul>
<li>Autocompletion shows <code>rotate</code> and the whole word is selected</li>
</ul>
<h3>Expected Result</h3>
<ul>
<li>Autocompletion shows <code>rotate()</code> with the text cursor being between the two braces</li>
</ul>
</section>
<footer>
Sebastian Zartner, [email protected]
</footer>
</div>
</body>
</html>

0 comments on commit 8d91392

Please sign in to comment.