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.

Bug 268369 - Wrong autocomplete for text-decoration CSS inline
Summary: Wrong autocomplete for text-decoration CSS inline
Status: RESOLVED WORKSFORME
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-06 07:54 UTC by giulio_a
Modified: 2016-10-06 13:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description giulio_a 2016-10-06 07:54:04 UTC
NETBEANS 8.2 on LINUX FEDORA 24 x64:

Invoking autocomplete for text-decoration CSS attribute in HTML editor shows color CSS chooser and colors, instead of text-decoration possibilities.

Step to reproduce:

1) In HTML editing, create an element and add inline text-decoration styling, like: <span style="text-decoration:">xyz</span>

2) Press CTRL+Space for text-decoration autocomplete.

3) Color CSS chooser and colors will appear.
Comment 1 Milutin Kristofic 2016-10-06 12:32:53 UTC
Hi, 
netbeans code completion for text-decoration have not only colors, but also blink, underline and other styles

you can see when you call code completion to
<span style="text-decoration: un|">xyz</span>


Definition for text-decoration is in CSS 3 following:
<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'>

which means that you can have
h1.under {
   text-decoration: red underline;
}

colors works in Firefox and Safari. So there are also in our code completion. 

https://developer.mozilla.org/en/docs/Web/CSS/text-decoration
Comment 2 giulio_a 2016-10-06 13:43:42 UTC
This behaviour NetBeans 8.2 implements is more and better than my previous knowledge about text-decoration CSS level 3. :)

I learned something new.

Thank you for your work, and your prompt and detailed reply.

G: