Bug 123465 - Label does not properly render when color and weight attributes are set
Summary: Label does not properly render when color and weight attributes are set
Status: NEW
Alias: None
Product: Red Hat Web Application Framework
Classification: Retired
Component: ui (Show other bugs)
(Show other bugs)
Version: nightly
Hardware: All Linux
medium
medium
Target Milestone: ---
Assignee: ccm-bugs-list
QA Contact: Jon Orris
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-18 20:28 UTC by Brett Prucha
Modified: 2008-05-01 15:39 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Brett Prucha 2004-05-18 20:28:55 UTC
Description of problem:

If you create a label with both the color and weight attributes set 
[setColor() and setFontWeight()]only the color attribute will be 
rendered.  The weight attribute will be dropped.  The problem is in 
label.xsl where 
    <xsl:template match="bebop:label[@color!='' and @weight!='']"
should come after 
   <xsl:template match="bebop:label[@weight!='']"
and
    <xsl:template match="bebop:label[@color!='']"

When the weight and color come before, the color template gets 
matched because it is less specific and comes after the weight and 
weight/color templates.


Note You need to log in before you can comment on or make changes to this bug.