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 176374 - piece of css code has no green background in html under some circumstances
Summary: piece of css code has no green background in html under some circumstances
Status: REOPENED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P4 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-10 03:59 UTC by Jindrich Sedek
Modified: 2014-10-06 13:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (14.37 KB, image/png)
2009-11-10 04:03 UTC, Jindrich Sedek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2009-11-10 03:59:43 UTC
use this code in HTML file:
----------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title></title>
        <style |>
            h1{
                azimuth: behind;
            }
            h1{
                azimuth: behind;
            }
            h1{
                azimuth: behind;
            }
        </style>
    </head>
    <body>
    </body>
</html>
-----------------------------------
at position of "|" (inside style tag) invoke cc, choose type, press Enter -> cc completes the code, but highlighting gets broken; 

the lenght area of broken area is given by the lenght of changed text in one keystroke
Comment 1 Jindrich Sedek 2009-11-10 04:03:41 UTC
Created attachment 90694 [details]
screenshot
Comment 2 Marek Fukala 2010-04-18 20:00:02 UTC
cannot reproduce now, seems to be fixed.
Comment 3 Jindrich Sedek 2010-04-28 14:24:41 UTC
I can still reproduce the problem
Create new HTML file
replace the content with the previous sample
invoke cc at given position and complete first cc option
-> result is the same as shown on the screenshot
using build 201004270201
Comment 4 Marek Fukala 2010-05-07 12:31:20 UTC
reproducible, minor issue