Closed
Bug 147976
Opened 22 years ago
Closed 22 years ago
Inspect tool shows Value with two percent signs instead of one for progressmeter
Categories
(Core :: Disability Access APIs, defect, P3)
Tracking
()
VERIFIED
FIXED
mozilla1.1alpha
People
(Reporter: dsirnapalli, Assigned: aaronlev)
Details
(Keywords: access)
Attachments
(1 file, 1 obsolete file)
825 bytes,
patch
|
yuanyi21
:
review+
hewitt
:
superreview+
|
Details | Diff | Splinter Review |
<label control="det_progress" value="Determinate Progress Meter:"/> <progressmeter id="det_progress" mode="determined" value="50%"/> open Inspect tool, click on "show highlight rectangle button", move the cursor over the progressmeter. watch value in the inspect tool, you see the value as "50%%". When i modify the above code without giving percentage sign(value="50") then inspect tool shows right value ("50%"). I think you are adding % sign without checking whether it is already given or not. I checked xul examples. It's allowed that i can write both the below shown ways <progressmeter id="det_progress" mode="determined" value="50%"/> <progressmeter id="det_progress" mode="determined" value="50"/>
aaron said he had already made a patch for this bug.
Assignee: kyle.yuan → aaronl
Assignee | ||
Updated•22 years ago
|
Assignee | ||
Comment 3•22 years ago
|
||
Assignee | ||
Comment 4•22 years ago
|
||
Attachment #85637 -
Attachment is obsolete: true
Comment on attachment 85638 [details] [diff] [review] Does not add extra % sign if already there if (!_retval.IsEmpty() && _retval.Last() != '%') is more reasonable. r=kyle if above fixed
Attachment #85638 -
Flags: review+
Comment 6•22 years ago
|
||
Comment on attachment 85638 [details] [diff] [review] Does not add extra % sign if already there sr=hewitt
Attachment #85638 -
Flags: superreview+
Assignee | ||
Comment 7•22 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 8•22 years ago
|
||
-- Verified it in todays trunk build. Works fine. Marking bug as verified.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•