This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Development build #200501041900 of NetBeans 4.1 Windows XP, JDK 1.5.0 build #64 Description: ============ Set of attributes available in code completion of several HTML tags is either out-of-date or incomplete under certain circumstances. The following table lists missing items: Element Missing attribute ================================== HEAD | class, profile FORM | action INPUT | name, value TEXTAREA | cols IMG | src Steps to reproduce: =================== 1. Create new sample web project. 2. Save attached test.html file under the project. 3. Open this file in NetBeans editor. 4. Set caret to "<form |" at line 38. 5. Press CTRL+SPACE. 6. There will be no "action" attribute.
Created attachment 19493 [details] HTML file with broken code completion.
Also BODY tag misses background, text, link, vlink and alink attributes.
Jirko, which line do you mean in step 4? - I can't see any 'form' tag at line 38, only at line 121. And it seems to me like not a bug, since each attribute can be used only once.
Oh I see. That's the reason ! I have to admit it confused me completely. And what about the BODY tag ?
I must say I am little bit confused. I tried the CC inside body tag in the file you provided and the CC content is fully in accordance with the HTML 4.01 spec (background, text, link, vlink and alink attributes are offered along with others). Can you please confirm that when you write <body | > and invoke CC on the | position the CC offers these items?: * id, class (document-wide identifiers) * lang (language information), dir (text direction) * title (element title) * style (inline style information) * bgcolor (background color) * onload, onunload (intrinsic events) * onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup (intrinsic events) The items background, text, link, vlink and alink should be offered as well, even if they are deprecated. It may have something to do that these elements are generated from different DTD and you have specified more DTDs in the DOCTYPE element. In particullar "http://www.w3.org/TR/html4/loose.dtd". Can you please try to remove the text above and check the CC again? Or just create a new HTML from template and check it. Thanks in advance
Oh yes, that's it ! The only remaining BODY tag problem is actually a dup of #52909. My cursor was always just before > char. I am really sorry for wasting so much of your time. I am resolving this issue accordingly. Please forgive me. :-\ *** This issue has been marked as a duplicate of 52909 ***
Verifying as duplicate issue.
never mind - thanks anyway. I will integrate the fix for 52909 today evening.