Closed Bug 292952 Opened 19 years ago Closed 19 years ago

anchor not styled when href has no file extension

Categories

(Core :: CSS Parsing and Computation, defect)

1.7 Branch
PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: lesch, Assigned: dbaron)

Details

Attachments

(2 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1

Failed to style an anchor with no file extension

Reproducible: Always

Steps to Reproduce:
1. embed this CSS
.done, .done a { background: #005a9c; color: #fff; }

2. create a table with this cell
<td class="done"><a href=
"http://www.example.com/example">done</a></td>
3. create a table with this cell
<td class="done"><a href=
"http://www.example.com/example.html">done</a></td>


Actual Results:  
first anchor is not styled, second one is

Expected Results:  
style both

Thank you.
Attached file Testcase
Do the two cells in this testcase look the same to you? If so, can you provide
a testcase in which you do see a problem?
Assignee: nobody → dbaron
Component: General → Style System (CSS)
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → 1.7 Branch
Attached file Testcase in valid XHTML 1.1 (obsolete) —
A testcase in valid XHTML 1.1, approved by gavin for the purpose of testing it
in different modes.
Oops, thanks to ct^ for the fix
Attachment #182653 - Attachment is obsolete: true
I should have known better than to report this as a bug. Cannot repeat anymore.
Sorry.
Works for you and it works for me, so marking as such.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: