Closed
Bug 29566
Opened 25 years ago
Closed 20 years ago
Images in links along with text get a double outline focus
Categories
(Core :: Layout, defect, P3)
Core
Layout
Tracking
()
RESOLVED
FIXED
Future
People
(Reporter: jst, Unassigned)
References
Details
(Keywords: testcase, Whiteboard: [fixinhand])
Attachments
(1 file)
(deleted),
text/html
|
Details |
Due to the following style rule in html.css
:link:focus, :visited:focus, :out-of-date:focus,
:link:focus img, :visited:focus img, :out-of-date:focus img {
outline: 1px dotted black;
}
links with focus get an 1px wide black dotted outline. That's cool but this
style rule also makes images within a link get an outline, to see an example of
this go to the above URL and click (or right click) the "Share Prices" link,
then *both* the link and the little green triangle in the link get outlines.
I propose that the the style rule should be changed to:
:link:focus, :visited:focus, :out-of-date:focus {
outline: 1px dotted black;
}
Pierre, cvs blame attributes the change to you so I'm reassigning the bug
Assignee: troy → pierre
Comment 2•25 years ago
|
||
Are the outlines drawn correctly if the rule is removed? The images should be
outlined when tabbing through. (This could depend on revisions of the outline
code to work more like the way CSS2 describes...)
Comment 3•25 years ago
|
||
Images (ones that are inside an <A> tag) are outlined when tabbing on a page
with such links (like the URL above), I can't say if the outline is correctly
drawn or not but that's IMO outside the scope of this bug.
Comment 4•25 years ago
|
||
Assigning to Waqar: 1/3 of Pierre's NEW bugs to help reduce his doomage factor
Assignee: pierre → waqar
Comment 5•25 years ago
|
||
Reassigned back to me these bugs that shouldn't have left my list.
Assignee: waqar → pierre
Comment 6•25 years ago
|
||
Links are no longer outlined in current builds even though the declarations in
html.css did not change: Rod may know why.
Also, could you run MacIE5 and have a look at the page above? Click on one the
links and appreciate how the outline is drawn to encompass the 2 elements in a
single outline.
Assignee: pierre → rods
Comment 8•25 years ago
|
||
mass-move to M16
Comment 11•25 years ago
|
||
Marking remind. This will not make release 1.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → REMIND
Target Milestone: M17 → M20
Comment 12•24 years ago
|
||
I think this bug should be marked as a dup of bug 32818.
Comment 13•24 years ago
|
||
No, it seems quite different to me.
Comment 14•22 years ago
|
||
The "little green triangle is gone". Anyone know what's going on here?
(REMIND is deprecated, reopening).
Comment 15•22 years ago
|
||
Comment 16•22 years ago
|
||
The rules in html.css are now:
*|*:-moz-any-link:focus {
-moz-outline: 1px dotted invert;
}
*|*:-moz-any-link:focus img {
-moz-outline: 1px dotted invert;
}
The combination of rules causes a double outline along the bottom of an image
inside a link that contains both text and an image. Removing the image rule
would make focus invisible for links that are just images, so we can't do that.
One way to fix this bug is to make the link's outline go around the image it
contains (bug 133165, required for CSS2), and then remove the extra rule in
html.css.
Comment 17•22 years ago
|
||
reassigning to Marc (we miss you), this is not a table bug, and I doubt that
this bug will be fixed as long as it is on karnazes list.
Assignee: karnaze → attinasi
Status: REOPENED → NEW
Updated•22 years ago
|
Target Milestone: --- → Future
Comment 18•21 years ago
|
||
->default. Marking "fixinhand" per Jesse's comments about removing a rule.
Assignee: attinasi → other
QA Contact: petersen → ian
Summary: Outlines on images within links (with outline)... → Images in links along with text get a double outline focus
Whiteboard: [fixinhand]
Comment 19•20 years ago
|
||
The testcase works for me now, using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a4) Gecko/20040925
Firefox/0.9.1+
I think this bug was fixed by the fix for bug 133165.
Comment 20•20 years ago
|
||
Fixed by bug 133165
Status: NEW → RESOLVED
Closed: 25 years ago → 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•