[
https://issues.jboss.org/browse/JBIDE-6061?page=com.atlassian.jira.plugin...
]
Victor Rubezhny updated JBIDE-6061:
-----------------------------------
Steps to Reproduce:
Steps to verify:
================
EXECUTE: Import the test project
http://svn.jboss.org/repos/jbosstools/trunk/jst/tests/org.jboss.tools.jst...
EXECUTE: Open /Jbide6061Test/WebContent/pages/html_page.html HTML page in JBoss Tools HTML
Editor
EXECUTE: Place the text cursor into value of class attribute of body tag and invoke CA by
pressing Ctrl-Space.
ASSERT: There are the following CSS Classes in the CA Proposal list: "cls1",
"cls2", "cls3", "cls4", "cls5",
"errors"
EXECUTE: Open /Jbide6061Test/WebContent/pages/xhtml_page.xhtml XHTML page in JBoss Tools
HTML Editor
EXECUTE: Place the text cursor into value of class attribute of <body> tag and
invoke CA by pressing Ctrl-Space.
ASSERT: There are the following CSS Classes in the CA Proposal list: "cls1",
"cls2", "cls3", "cls4", "cls5",
"errors"
EXECUTE: Place the text cursor into value of styleClass attribute of <h:inputText />
tag and invoke CA by pressing Ctrl-Space.
ASSERT: There are the following CSS Classes in the CA Proposal list: "cls1",
"cls2", "cls3", "cls4", "cls5",
"errors"
EXECUTE: Open /Jbide6061Test/WebContent/pages/jsp_page.jsp JSP page in JBoss Tools JSP
Editor
EXECUTE: Place the text cursor into value of class attribute of <body> tag and
invoke CA by pressing Ctrl-Space.
ASSERT: There are the following CSS Classes in the CA Proposal list: "cls1",
"cls2", "cls3", "cls4", "cls5",
"errors"
EXECUTE: Place the text cursor into value of styleClass attribute of <h:inputText />
tag and invoke CA by pressing Ctrl-Space.
ASSERT: There are the following CSS Classes in the CA Proposal list: "cls1",
"cls2", "cls3", "cls4", "cls5",
"errors"
NOTE: You may open /Jbide6061Test/WebContent/pages/theme1.css in CSS Editor to see what
CSS Classe names are defined in it. The CSS Class name is a word that starts with
"." (dot) character and may be just a class name (and therefore it may be
applied to any element) like ".errors" CSS Class, and it may be defined after an
HTML element name (also separated with "." character) to define a CSS Class for
some certain HTML element (like ".cls1" class name in
"input.cls1[type=submit]" class definition or other ".cls<N>"
class names).
Incorrect Code assist proposals
--------------------------------
Key: JBIDE-6061
URL:
https://issues.jboss.org/browse/JBIDE-6061
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 3.1.0.GA
Reporter: Svetlana Mukhina
Assignee: Victor Rubezhny
Fix For: 3.3.0.M2
Attachments: jsp_page.png, theme1_css.png, xhtml_page.png
Iincorrect Code assist proposals from external css file on jsp and xhtml pages
see img for details.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira