This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 426281 - Remove hard-code path for @import url() in CSS files
Summary: Remove hard-code path for @import url() in CSS files
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.4   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 4.4 M6   Edit
Assignee: Lars Vogel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-21 12:22 EST by Lars Vogel CLA
Modified: 2014-03-04 05:10 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2014-01-21 12:22:47 EST
Currently the ThemeEngine adds the "platform:/plugin/org.eclipse.platform/css/ " hard-code plug-in path to the OSGiResourceLocator.

I suggest to remove that and use the platform:/plugin/org.eclipse.platform/css/ URI in the imports of the CSS style sheets.
Comment 1 Lars Vogel CLA 2014-02-21 16:05:55 EST
I updated the CSS style sheets with the correct platform: URI instead of relying on the hard-code path. https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=8851254da4d01655852cc9e03a17cd39204cb17e

Also import works fine now with https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=a68ba21575cd6402c83d00781c740ad66bc37a4a
Comment 2 Lars Vogel CLA 2014-03-04 05:10:09 EST
We still hardcode the path with not specified to maintain backward compability but the default style sheets use platform: URI.

Verified in Git