Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359666 - Styling chart title with CSS should only affect chart title
Summary: Styling chart title with CSS should only affect chart title
Status: REOPENED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 3.7.0   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: Yulin Wang CLA
QA Contact: Maggie Shen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-02 15:59 EDT by Taras Kopets CLA
Modified: 2014-09-05 13:34 EDT (History)
3 users (show)

See Also:


Attachments
report design (66.43 KB, application/octet-stream)
2011-11-01 02:39 EDT, Maggie Shen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Taras Kopets CLA 2011-10-02 15:59:50 EDT
Build Identifier: 20110615-0604

According to ROM styles specification (http://www.eclipse.org/birt/phoenix/ref/ROM_Styles_SPEC.pdf) there is ability to assign style to chart title using "chart-title" CSS selector.

Adding "chart-title" CSS selector to report design does not affect chart title.

Reproducible: Always

Steps to Reproduce:
1. Create any chart with any visible text in title.
2. Create style named "chart-title" with distinct font face and size.
3. Preview report and confirm that these changes does not affect actual chart title.
Comment 1 Maggie Shen CLA 2011-11-01 02:38:37 EDT
works on latest build. See attached.
Comment 2 Maggie Shen CLA 2011-11-01 02:39:04 EDT
Created attachment 206248 [details]
report design
Comment 3 Taras Kopets CLA 2011-11-03 05:26:44 EDT
Actually attached report design affects all chart labels (the same as you would define built-in "chart" CSS selector).

Built-inn CSS selector "chart-title" should affect only chart title - attached report design does not reproduce the problem.
Comment 4 Yulin Wang CLA 2014-09-05 13:34:28 EDT
This is enhancement to support applying style to specific area.