Closed Bug 339669 Opened 18 years ago Closed 18 years ago

can't turn off text-decoration:underline inside in child element

Categories

(Firefox Build System :: General, defect)

1.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: s.stock, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3

I have these two <div> elements:
<div style="text-decoration:underline">
  <div style="text-decoration: none">NoUnderline<div>
  UnderlineMe
</div>
The outer <div> has the style property text-decoration:underline. In the inner <div> I want to turn off this property. But it will be displayed underlined. 

Reproducible: Always

Steps to Reproduce:
1.open the attached file
2.
3.

Actual Results:  
The inner <div> is displayed underlined. 

Expected Results:  
The inner <div> should not be displayed with an underline.
Attached file test case for text-decoration bug (obsolete) —
Attached file Better testcase.
Attachment #223771 - Attachment is obsolete: true
Component: General → Style System (CSS)
Keywords: testcase
Product: Firefox → Core
Version: unspecified → 1.0 Branch
-> Invalid 
For example see Bug 266344
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Component: Style System (CSS) → Build Config
Product: Core → Firefox
Resolution: --- → INVALID
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: