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 223858

Summary: Changes in the style of the Ember sample are not applied
Product: web Reporter: Petr Jiricka <pjiricka>
Component: InspectionAssignee: Jan Stola <jstola>
Status: RESOLVED FIXED    
Severity: normal CC: dkonecny, jstola, mfukala
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description Petr Jiricka 2012-12-14 21:47:18 UTC
1. Create a project from the Ember.js Trek Tutorial sample
2. Run it and enable select mode in browser
3. Select one of the names in the committers list in the page
4. In the IDE's CSS Styles window, select color and change the value to e.g. black.

=> The new value is not propagated to the browser.

The workaround is to refresh the page, after that it takes effect. I guess the reason could be that we did not detect the relationship between the page and the style?

Ah, and now I realized that the reason is analogous to bug 223770: when I delete "?v=2" in the link to style.css from index.html, it works as expected.
Comment 1 David Konecny 2012-12-16 20:47:04 UTC
> <link rel="stylesheet" href="css/style.css?v=2">

is most likely the cause. CSS refresh on save is handled directly by CSS support module.
Comment 2 Petr Jiricka 2012-12-17 10:42:17 UTC
Probably in Honza's area, right?
Comment 3 Jan Stola 2012-12-17 13:30:42 UTC
Fixed - I have modified the CSS updater to ignore query strings in URLs of stylesheets.

Modified file: http://hg.netbeans.org/web-main/rev/65e67b6a4a42