Closed Bug 365365 Opened 18 years ago Closed 17 years ago

Small comment textarea has spurious inline style causing CSS warnings in Error Console

Categories

(Bugzilla :: Attachments & Requests, defect)

2.23.3
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: neil, Assigned: LpSolit)

References

Details

Attachments

(2 files)

<div id="smallCommentFrame"> <b><label for="comment">Comment</label> (on the bug):</b><br><textarea name="comment" id="comment" style=" table.attachment_info th { text-align: right; vertical-align: top; } table.attachment_info td { text-align: left; vertical-align: top; } #noview { text-align: left; vertical-align: middle; } table#flags th, table#flags td { font-size: small; vertical-align: baseline; text-align: left; } " wrap="soft" rows="5" cols="25"></textarea><br> </div>
Assignee: justdave → attach-and-request
Component: Bugzilla: Other b.m.o Issues → Attachments & Requests
Product: mozilla.org → Bugzilla
QA Contact: reed → default-qa
Target Milestone: --- → Bugzilla 3.0
Version: other → 2.23.3
The style attribute is set at the top of the attachment/edit.html.tmpl page, and isn't being cleared before the textarea.html.tmpl template is included. So we either need to fix the scoping, or just add a "style=''" to the call to textarea.html.tmpl. Gerv
pyrzak, could you look at this?
Attached patch patch, v1Splinter Review
This patch fixes the incorrect style attribute of <textarea> and also fixes all incorrectly escaped / in JS (</foo> must be <\/foo>).
Assignee: attach-and-request → LpSolit
Status: NEW → ASSIGNED
Attachment #310128 - Flags: review?(wurblzap)
Attachment #310128 - Flags: review?(wurblzap) → review+
Attachment #310139 - Flags: review?(wurblzap)
Severity: normal → minor
Flags: approval+
Attachment #310139 - Flags: review?(wurblzap) → review+
Flags: approval3.0+
tip: Checking in skins/standard/global.css; /cvsroot/mozilla/webtools/bugzilla/skins/standard/global.css,v <-- global.css new revision: 1.46; previous revision: 1.45 done Checking in template/en/default/attachment/edit.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/attachment/edit.html.tmpl,v <-- edit.html.tmpl new revision: 1.50; previous revision: 1.49 done Checking in template/en/default/attachment/show-multiple.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/attachment/show-multiple.html.tmpl,v <-- show-multiple.html.tmpl new revision: 1.25; previous revision: 1.24 done 3.0.3: Checking in skins/standard/global.css; /cvsroot/mozilla/webtools/bugzilla/skins/standard/global.css,v <-- global.css new revision: 1.31.2.4; previous revision: 1.31.2.3 done Checking in template/en/default/attachment/edit.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/attachment/edit.html.tmpl,v <-- edit.html.tmpl new revision: 1.41.2.4; previous revision: 1.41.2.3 done Checking in template/en/default/attachment/show-multiple.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/attachment/show-multiple.html.tmpl,v <-- show-multiple.html.tmpl new revision: 1.22.2.1; previous revision: 1.22 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: