#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>
Note: See
TracTickets for help on using
tickets.
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%.