Closed
Bug 198677
Opened 22 years ago
Closed 22 years ago
Attribute parser doesn't allow negative values
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: john, Assigned: john)
Details
Attachments
(1 file, 2 obsolete files)
|
20.39 KB,
patch
|
smontagu
:
review+
jst
:
superreview+
asa
:
approval1.4a+
|
Details | Diff | Splinter Review |
Attribute parsing in nsHTMLValue::ParseIntValue isn't working right with
negative values. This is causing stuff like
http://bugzilla.mozilla.org/attachment.cgi?id=103432&action=view to have
problems (those lists should start at -2 and -20).
| Assignee | ||
Comment 1•22 years ago
|
||
| Assignee | ||
Comment 2•22 years ago
|
||
A new fix is forthcoming tomorrow, that restores the old behavior better (my net
access is going to be down until then).
| Assignee | ||
Comment 3•22 years ago
|
||
This patch keeps ParseIntValue for the few callers who don't need the special
rounding and % / * behavior, and adds ParseSpecialIntValue for those callers,
removing the default value for the last parameter in the process.
Attachment #118097 -
Attachment is obsolete: true
| Assignee | ||
Updated•22 years ago
|
Attachment #118471 -
Flags: review?(smontagu)
| Assignee | ||
Comment 4•22 years ago
|
||
Same diff with more context
Attachment #118471 -
Attachment is obsolete: true
Comment 5•22 years ago
|
||
Comment on attachment 118485 [details] [diff] [review]
Patch v2 -u9
r=smontagu
Attachment #118485 -
Flags: superreview?(jst)
Attachment #118485 -
Flags: review+
Comment 6•22 years ago
|
||
Comment on attachment 118485 [details] [diff] [review]
Patch v2 -u9
sr=jst
Attachment #118485 -
Flags: superreview?(jst) → superreview+
| Assignee | ||
Comment 7•22 years ago
|
||
Comment on attachment 118485 [details] [diff] [review]
Patch v2 -u9
This only affects <ol>, but is a very silly regression.
Attachment #118485 -
Flags: approval1.3?
| Assignee | ||
Updated•22 years ago
|
Attachment #118471 -
Flags: review?(smontagu)
| Assignee | ||
Updated•22 years ago
|
Attachment #118485 -
Flags: approval1.3?
| Assignee | ||
Updated•22 years ago
|
Attachment #118485 -
Flags: approval1.4a?
Comment 8•22 years ago
|
||
Comment on attachment 118485 [details] [diff] [review]
Patch v2 -u9
a=asa (on behalf of drivers) for checkin to 1.4a
Attachment #118485 -
Flags: approval1.4a? → approval1.4a+
| Assignee | ||
Comment 9•22 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•