Closed
Bug 142122
Opened 22 years ago
Closed 21 years ago
[FIXr]line-through is drawn as underline
Categories
(Core :: Layout, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla1.4beta
People
(Reporter: kazhik, Assigned: bzbarsky)
Details
(Keywords: testcase)
Attachments
(2 files)
29.96 KB,
image/jpeg
|
Details | |
452 bytes,
patch
|
dbaron
:
review+
bzbarsky
:
superreview+
sspitzer
:
approval1.4b+
|
Details | Diff | Splinter Review |
"text-decoration: line-through" is drawn as underline. Testcase: http://bugzilla.mozilla.org/attachment.cgi?id=71636
Reporter | ||
Comment 1•22 years ago
|
||
Assignee | ||
Comment 2•22 years ago
|
||
This worksforme, linux trunk build 2002-05-01-21
Reporter | ||
Comment 3•22 years ago
|
||
This bug can be reprodoced with several Japanese fonts. kaname-fixed: all lines are drawn as underline shinonome-fixed: 9,10,15-32px are drawn as underline alias-fixed: 16-18px are drawn as underline jis-fixed: 16-18px are drawn as underline misc-fixed: 16-18px are drawn as underline aliastt-gothic: no problem wadalab-gothic: no problem
Comment 4•22 years ago
|
||
When the property of a font property atom XA_X_HEIGHT is acquired, the value 0 is returned from X11 library XGetFontProperty() function. In this case, line-through is drawn as underline.
Updated•22 years ago
|
Priority: -- → P2
Comment 6•22 years ago
|
||
Rbs, can you have a look at Hideo's patch, or delegate the review to someone else?
Updated•22 years ago
|
Target Milestone: --- → Future
Assignee | ||
Updated•22 years ago
|
Attachment #82426 -
Flags: review?(dbaron)
Attachment #82426 -
Flags: review?(dbaron) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #82426 -
Flags: superreview+
Assignee | ||
Comment 8•21 years ago
|
||
Comment on attachment 82426 [details] [diff] [review] patch in case the font height is 0 Could this be approved for 1.4b? This just sanity-checks the x-height that X returns and treats it as unknown if 0 is returned...
Attachment #82426 -
Flags: approval1.4b?
Assignee | ||
Comment 9•21 years ago
|
||
Taking to keep track of this.
Assignee: attinasi → bzbarsky
Summary: line-through is drawn as underline → [FIXr]line-through is drawn as underline
Target Milestone: Future → mozilla1.4beta
Comment 10•21 years ago
|
||
Comment on attachment 82426 [details] [diff] [review] patch in case the font height is 0 a=sspitzer
Attachment #82426 -
Flags: approval1.4b? → approval1.4b+
Assignee | ||
Comment 11•21 years ago
|
||
Checked in (and I patched xlib the same way too).
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 12•21 years ago
|
||
Boris Zbarsky wrote:
> Checked in (and I patched xlib the same way too).
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Thanks! :)
You need to log in
before you can comment on or make changes to this bug.
Description
•