Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#4682 closed bug (notabug)

change markup of progressbar when value is 0 or 100

Reported by: tian Owned by:
Priority: minor Milestone:
Component: ui.progressbar Version: 1.7.2
Keywords: progressbar Cc:
Blocked by: Blocking:

Description

when the value is 0 the markup would be better if it looks like this <div class="ui-progressbar ui-widget ui-widget-content ui-corner-all"> </div>

when the value is 100 the markup would be better if it looks like this <div style="width: 100%;" class="ui-progressbar-value ui-widget-header ui-corner-left ui-corner-right"></div>

Change History (2)

comment:1 Changed 11 years ago by Scott González

Resolution: invalid
Status: newclosed

It doesn't make sense to remove the original element or to drop the value element for various values. I really don't see what you would even gain from this. Also, this would break the sizing by removing the original element and setting the width to 100%.

comment:2 Changed 8 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.