Closed
Bug 149106
Opened 24 years ago
Closed 23 years ago
[FIX]text-decoration does not work on font with color
Categories
(Core :: Layout, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla1.4beta
People
(Reporter: steck, Assigned: bzbarsky)
References
()
Details
Attachments
(2 files, 1 obsolete file)
|
591 bytes,
text/html
|
Details | |
|
2.13 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR
1.0.3705)
BuildID: 2002052306
A table contains multiple rows (TRs), each of which
contains a FONT element. Two of the FONT elements have a STYLE
attribute with text-decoration:underline. The actual
underline is rendered for the text in only one of the elements.
In IE6, the text in both elements is rendered with an
underline.
Reproducible: Always
Steps to Reproduce:
1. Look at http://www.ccs.neu.edu/tmp/moz-ul-bug.html
2.
3.
Actual Results: Saw underline for "Item two" only
Expected Results: Expected underline for "Item two" and "Item three"
Comment 1•24 years ago
|
||
Confirming issue in the 2002-06-05-05 1.0.0 OS X build.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Updated•24 years ago
|
Target Milestone: --- → Future
| Assignee | ||
Comment 2•23 years ago
|
||
| Assignee | ||
Comment 3•23 years ago
|
||
Comment on attachment 121861 [details] [diff] [review]
fix
David, would you review?
Attachment #121861 -
Flags: superreview?(dbaron)
Attachment #121861 -
Flags: review?(dbaron)
| Assignee | ||
Comment 4•23 years ago
|
||
Taking.
Assignee: attinasi → bzbarsky
Summary: Multiple underline styles in table not respected → [FIX]Multiple underline styles in table not respected
Target Milestone: Future → mozilla1.4beta
| Assignee | ||
Comment 5•23 years ago
|
||
| Assignee | ||
Comment 6•23 years ago
|
||
Resummarizing to the actual problem.
Summary: [FIX]Multiple underline styles in table not respected → [FIX]text-decoration does not work on font with color
Comment on attachment 121861 [details] [diff] [review]
fix
Isn't what you really want to do the equivalent of "|=" ?
Also, it might be that the NS_STYLE_TEXT_DECORATION_OVERRIDE_ALL is ignored in
standards mode.
(Also, the indentation of the ColorName line is one character too small.)
| Assignee | ||
Comment 8•23 years ago
|
||
You're right, it's ignored in standards mode.
I'd sorta like a |=, yes. But see the code in
nsStyleContext::ApplyStyleFixups... The difference between |= and that patch is
that a <font> with an overline on it would not override the underline color of
the surrounding anchor... do we care about that case? If so, we need a way of
doing bit-values for nsCSSValue...
How about:
foo.SetIntValue(NS_STYLE_... | foo.GetIntValue())
Attachment #121861 -
Flags: superreview?(dbaron)
Attachment #121861 -
Flags: superreview-
Attachment #121861 -
Flags: review?(dbaron)
Attachment #121861 -
Flags: review-
| Assignee | ||
Comment 10•23 years ago
|
||
Attachment #121861 -
Attachment is obsolete: true
| Assignee | ||
Updated•23 years ago
|
Attachment #125675 -
Attachment filename: 琀攀猀琀⸀瀀愀琀挀栀 → test.patch
Attachment #125675 -
Flags: superreview?(dbaron)
Attachment #125675 -
Flags: review?(dbaron)
Attachment #125675 -
Attachment filename: test.patch → 琀攀猀琀⸀瀀愀琀挀栀
Attachment #125675 -
Flags: superreview+
Attachment #125675 -
Flags: review+
Attachment #125675 -
Flags: superreview?(dbaron)
Attachment #125675 -
Flags: review?(dbaron)
| Assignee | ||
Updated•23 years ago
|
Attachment #125675 -
Attachment filename: 琀攀猀琀⸀瀀愀琀挀栀 → test.patch
| Assignee | ||
Comment 11•23 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•