Closed
Bug 675171
Opened 14 years ago
Closed 13 years ago
standardize font weight for field labels
Categories
(Bugzilla :: User Interface, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.4
People
(Reporter: glob, Assigned: dkl)
Details
Attachments
(2 files)
|
6.81 KB,
image/png
|
Details | |
|
6.30 KB,
patch
|
glob
:
review+
|
Details | Diff | Splinter Review |
currently different field labels have different font weights. this difference isn't immediately noticeable with the default font (verdana), however it becomes evident when switching to more modern fonts.
we have:
<td><b> (weight 900)
<th><label> (weight 700)
<td><label><b> (weight 900)
the standard weight is 400.
the fix should be to:
- make all the field labels use <th>
- drop the <b> tag
or
- make all the field labels use <td>
- drop the <b> tag
- use css to style the field_labels as bold
| Assignee | ||
Comment 2•14 years ago
|
||
(In reply to comment #1)
> - make all the field labels use <td>
> - drop the <b> tag
> - use css to style the field_labels as bold
+1
Comment 3•14 years ago
|
||
The field labels are logically table headers and so should logically be <th> fields. They should all have the field_label class on them, also, which handles this one way or another.
We should *definitely* remove the <b> tags.
| Assignee | ||
Comment 4•13 years ago
|
||
Comment on attachment 654377 [details] [diff] [review]
Patch to fix field_label elements in edit.html.tmpl
r=glob, with the following fixed on commit:
>- <td class="field_label">
>+ <th class="field_label">
> <label for="keywords" accesskey="k">
>- <b><a href="describekeywords.cgi"><u>K</u>eywords</a></b></label>:
>+ <a href="describekeywords.cgi"><u>K</u>eywords</a></label>:
> </td>
this </td> needs to be a </th>
Attachment #654377 -
Flags: review?(glob) → review+
| Assignee | ||
Comment 6•13 years ago
|
||
(In reply to Byron Jones ‹:glob› from comment #5)
> this </td> needs to be a </th>
Thanks. Will fix on commit.
dkl
Flags: approval4.4?
Updated•13 years ago
|
Flags: approval?
Flags: approval4.4?
Flags: approval4.4+
Flags: approval+
Target Milestone: --- → Bugzilla 4.4
| Assignee | ||
Comment 7•13 years ago
|
||
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/trunk
modified template/en/default/bug/edit.html.tmpl
Committed revision 8385.
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/4.4
modified template/en/default/bug/edit.html.tmpl
Committed revision 8383.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•