Closed Bug 23254 Opened 25 years ago Closed 25 years ago

No interpretation of CSS when a div is in an a-Tag

Categories

(Core :: CSS Parsing and Computation, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: M.Deege, Assigned: pierre)

References

()

Details

On the head of this pages there are some links. The HTML-code is like this:

<a href="test.htm"><div class="black"><i> Link </i></div></a>

The Link should be italic, bold, underlined and black. But it is not black but
dark blue. If the <a>-Tag is removed the letters will be shown in black colors.

On this pages the <div> is only for the black-color of the links. All other
style attributes are set by the <i> and the CSS-Defintions for <a>.

Internet Explorer 4 and 5 as well as Communicator 4.5 and 4.7 display the styles
correct. I recognized this with Milestone 12 and the build of 05.01.2000.
The testcase looks invalid as the ANCHOR element cannot contain a DIV element.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Correct: the testcase is invalid. We probably close the inline element (ANCHOR)
when we reach the block element (DIV).
Status: RESOLVED → VERIFIED
Verified invalid.
You need to log in before you can comment on or make changes to this bug.