Search and Top Navigation
#4682 closed bug (notabug)
Opened July 14, 2009 02:33PM UTC
Closed July 21, 2009 12:10AM UTC
Last modified October 11, 2012 09:15PM UTC
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>
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%.