[
https://jira.jboss.org/jira/browse/JBIDE-4775?page=com.atlassian.jira.plu...
]
Sergey Dzmitrovich commented on JBIDE-4775:
-------------------------------------------
Junit tests have been added.
Test cases for current functionality:
1) create test.css file
2) input .classA { color:red }
3) create test.html in the same folder
4) input
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html">
<head>
<style type="text/css">
.classB {color: blue;}
.classC {color: green;}
</style>
<link rel="stylesheet" href="test.css" />
</head>
<body>
<div class="classA">Test</div>
<div class="classB">test</div>
<h:inputText value="test" styleClass="classC" />
</body>
</html>
5) Do OpenOn action for class="classA" of the first div tag
6) ASSERT: test.css is opened and cursor passed to .classA
7) Return to test.xhtml file
8) Do OpenOn action for class="classB" of the second div tag
9) ASSERT: cursor passed to .classB
10) Do OpenOn action for styleClass="classC" of the h:inputText tag
11) ASSERT: cursor passed to .classC
adding of Open On functionality for css classes
-----------------------------------------------
Key: JBIDE-4775
URL:
https://jira.jboss.org/jira/browse/JBIDE-4775
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: jsp/jsf/xml source editing, Visual Page Editor core
Reporter: Sergey Dzmitrovich
Assignee: Sergey Dzmitrovich
Fix For: 3.1.0.M4
This issue means to creating functionality of passing to description of css ctule by
openOn action.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira