Closed Bug 56228 Opened 24 years ago Closed 22 years ago

only first part of link gets :focus and :active (<a> containing <div>)

Categories

(Core :: Layout, defect, P2)

x86
Windows 98
defect

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: jruderman, Assigned: attinasi)

References

(Blocks 1 open bug, )

Details

(Keywords: access, testcase, top100)

Attachments

(3 files)

If there is a <pre> inside an <a>, then when any part of the <a> is clicked, only the part above the <pre> gets the :active style (red, dotted border). Note: I think using <pre> (or <div>) inside <a> is bogus html.
Attached file testcase (deleted) —
Using <pre> or <div> inside an <a> is bogus. whitespace: pre; works fine in Strict layout mode using valid HTML. There is no standards-compliance here. I am not marking this invalid, however, because I am not sure whether this is a noteworthy compatibility issue for the quirks mode. (I don't think it is.)
Keywords: testcase
I meant: "There is no standards-compliance bug here."
Reassigning to Buster and marking future.
Assignee: clayton → buster
Target Milestone: --- → Future
QA Contact: lorca → gerardok
Reassigning QA Contact for all open and unverified bugs previously under Lorca's care to Gerardo as per phone conversation this morning.
qa contact updated.
QA Contact: gerardok → bsharma
SPAM. HTML Element component deprecated, changing component to Layout. See bug 88132 for details.
Component: HTML Element → Layout
QA Contact: bsharma → moied
Build reassigning Buster's bugs to Marc.
Assignee: buster → attinasi
Duping aganst a bug with more info, discussion and CCs... *** This bug has been marked as a duplicate of 65917 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Marking bug duplicate of 65917
Status: RESOLVED → VERIFIED
Hakan, why did you mark this as a dup of bug 65917? It doesn't look like a dup to me.
Layout is not my area - feel free to reopen. :-)
I don't think this is a dup of bug 65917. Feel free to mark this bug as RESOLVED DONTDOTHAT, though.
Status: VERIFIED → REOPENED
Resolution: DUPLICATE → ---
This makes focus invisible for many links on http://www.msnbc.com/. Bumping severity to major.
Severity: minor → major
Keywords: top100
Priority: P3 → --
Summary: <a> containing <pre>: "a:active" style only applied above <pre> → only first part of link gets :focus and :active (<a> containing <div>)
Target Milestone: Future → ---
Blocks: focusnav
Keywords: access
Priority: -- → P2
Target Milestone: --- → Future
The original bug is gone. The newer testcase is a different bug, which is a duplicate of 65917. The active link state isn't getting propagated downward. Notice how in the first testcase the part outside of the <pre> or <div> will activate the entire link, but the part inside will not. The original issue was that only the top part would get activated.
Status: REOPENED → RESOLVED
Closed: 23 years ago22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: