[
https://issues.jboss.org/browse/JBIDE-16621?page=com.atlassian.jira.plugi...
]
Victor Rubezhny commented on JBIDE-16621:
-----------------------------------------
The fix for -[Bug #427565 - QuickFix for HTML5 attribute validator annotations is shown
for non-HTML5
documents|https://bugs.eclipse.org/bugs/show_bug.cgi?id=427565]- will not go
into a production. It is replaced by issue [Bug #430228 - The ignoring of HTML Tag
Attribute Names from validation should be allowed for any version of HTML
document|https://bugs.eclipse.org/bugs/show_bug.cgi?id=430228] which is more common case
and should enable the filtering of tag attribute names from the validation for any version
of HTML document.
The quick fix for unknown attributes is not available if "Ignore
specified attribute names" validation preference is unchecked
------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-16621
URL:
https://issues.jboss.org/browse/JBIDE-16621
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml/html source editing, upstream
Affects Versions: 4.2.0.Beta1
Reporter: Alexey Kazakov
Assignee: Victor Rubezhny
Fix For: 4.2.0.Beta1
1. Create a project
2. Create the following html file:
{code}
<!doctype html>
<html ng-app>
</html>
{code}
3. Open the file with JBoss Tools HTML Editor
4. Assert: There is a problem "Undefined attribute name" for ng-app
5. Assert: Move the mouse over the problem and you see two quick fixes:
- Ignore ng-app attribute
- Ignore all ng-* attributes
6. Go to Preference->Web->Validation->
7. Check "Ignore specified attribute names"
8. Add "ng-app,ng-*" pattern
9. Uncheck "Ignore specified attribute names". Click OK.
10. Assert: There is still a problem "Undefined attribute name" for ng-app
11. Failure: Move the mouse over the problem but there are not quick fixes any more.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira