Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 123465 - Label does not properly render when color and weight attributes are set
Label does not properly render when color and weight attributes are set
Status: NEW
Product: Red Hat Web Application Framework
Classification: Retired
Component: ui (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: ccm-bugs-list
Jon Orris
Depends On:
  Show dependency treegraph
Reported: 2004-05-18 16:28 EDT by Brett Prucha
Modified: 2008-05-01 11:39 EDT (History)
0 users

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

Attachments (Terms of Use)

  None (edit)
Description Brett Prucha 2004-05-18 16:28:55 EDT
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!='']"
    <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.