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 267771 - CSS - Create rule ... and import stylesheet ...
Summary: CSS - Create rule ... and import stylesheet ...
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2016-08-30 06:16 UTC by amobilia
Modified: 2016-08-30 06:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description amobilia 2016-08-30 06:16:23 UTC
- Create a simple css file

- Create a simple HTML file :
<!DOCTYPE html>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <div class="te2st">TODO write content</div>

- Click on the bulb on the "div" line and choose option "Create rule .te2st and import newcss.css"

This create the rule and add on the HTML file the following code : "		<link rel="stylesheet" href="newcss.css" type="text/css"/>"

- Click again on the bulb on the div line and choose option "Add reference to containing stylesheet newcss.css"

This create anotre line on the HTML file "<link rel="stylesheet" href="newcss.css" type="text/css">"
(without trailing slash)

What's expected :
- After the first clic on the bulb and create / import of the css file, there is no need to import again the CSS file