Closed Bug 266344 Opened 20 years ago Closed 20 years ago

text-decoration:none table nested inside text-decoration:underline div gets ignored?

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: cube, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10

Take a DIV with text-decoration set to underline, put a table in with
text-decoration set to none.  The text still gets the underline.  I don't think
this is correct behaviour.

Reproducible: Always
Steps to Reproduce:
1.<div style="text-decoration:underline"><table
style="text-decoration:none"><tr><td>test</td></tr></table></div>
2.Open in firefox
3.Observe

Actual Results:  
The text was underlined

Expected Results:  
It should not be underlined.
Wrong product, possibly a known issue.  Hixie?
Component: Web Developer → Style System (CSS)
Product: Documentation → Browser
Version: unspecified → Trunk
'text-decoration' is not inherited -- it applies to all descendents.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.