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 241098 - CSS Styles window shows wrong line number in Applied Styles with Chrome 32
Summary: CSS Styles window shows wrong line number in Applied Styles with Chrome 32
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Inspection (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-29 09:19 UTC by Vladimir Riha
Modified: 2014-04-18 14:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
webkit log (61.18 KB, text/x-log)
2014-01-29 09:19 UTC, Vladimir Riha
Details
IDE log (34.30 KB, text/x-log)
2014-01-29 09:19 UTC, Vladimir Riha
Details
Screen shot of the inception window from chrome, css line number are showing '0' (178.44 KB, image/png)
2014-02-11 08:58 UTC, vidhyadharantechdays
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-01-29 09:19:31 UTC
Created attachment 144510 [details]
webkit log

CSS Styles window in Applied Styles shows in right column always line 0

[filename.css]:0

the same works with Chromium 31 and embedded browser



Chrome Version 32.0.1700.77


Product Version: NetBeans IDE Dev (Build 201401290001)
Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b66
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b125
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2014-01-29 09:19:51 UTC
Created attachment 144511 [details]
IDE log
Comment 2 vidhyadharantechdays 2014-02-11 08:58:47 UTC
Created attachment 145016 [details]
Screen shot of the inception window from chrome, css line number are showing '0'
Comment 3 Jan Stola 2014-04-18 12:09:17 UTC
This is another case where the data in CSS domain of remote WebKit debugging API have been shuffled around. The source line of the matched rule moved from CSSRule.sourceLine to CSSRule.selectorList.range some time ago and recently further to SelectorList.selectors[].range, see
http://src.chromium.org/viewvc/blink?view=revision&revision=159733
Comment 4 Jan Stola 2014-04-18 14:41:43 UTC
Fixed by http://hg.netbeans.org/web-main/rev/f5878e67be6a