Closed
Bug 65206
Opened 24 years ago
Closed 24 years ago
alt text gets surrounded by setting border="1" on img tags!
Categories
(Core :: Layout: Tables, defect)
Tracking
()
People
(Reporter: bugs4hj, Assigned: buster)
Details
Attachments
(2 files)
WinNT4/Mozilla build 2001011104 Reproducable : always Current result : border surrounding alt text Expected result: no border set on alt text, but on the table cell Steps to reproduce: ------------------- 1 - go to preferences and block images 2 - use the link of the attached testcase 3 - and take a look at the alt text Both IE and Opera don't have this problem, would be nice if Mozilla can do the same.
At start the table builds up the right way. But then some code tells it to redraw with the alt text, and then the layout is wrong.
I can reproduce this by image blocking in preferences AND with broken images! Something did go wrong with copy paste, sorry for that.
This has nothing to do with tables but with block handling, reassigning to buster, I think this is a dupe of bug 55046.
Assignee: karnaze → buster
First of all this bug is about the border around the alt text. There should NOT be a border around the alt text at all in those examples. Can that be fixed with a place holder for images?
Comment 8•24 years ago
|
||
cc hixie
Comment 9•24 years ago
|
||
Technically this is not a bug -- the image element has been told to have a border when it is a link, and the style rule in question doesn't worry about whether or not the image was actually loaded or not. (Jesse: Thanks again for cc'ing me) *** This bug has been marked as a duplicate of 11011 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 10•24 years ago
|
||
That might be so Ian, but A: it makes a hell of a mess of table layout and B: I can't find a W3C statement that the ALT text should inherit the border of broken images!
Comment 11•24 years ago
|
||
A: so don't break your images. :-P If you are relying on a particular layout you are doomed anyway -- any user can set a personal stylesheet which changes page layout, or they could change fonts, or colours, or anything. B: It doesn't 'inherit' it. The IMG element is still there, it's just that instead of being shown as an image it is shown as text. Since the applicable style rule doesn't care about that and just sets the border on the IMG element, the border appears regardless of the state of the image.
Reporter | ||
Comment 12•24 years ago
|
||
Then I can only say I love the way IE and Opera are doing this kind of work.
Comment 13•24 years ago
|
||
Well, except for their leaving of the box, I agree. The 'alt' attribute is an *alternative* representation -- it's not a title or something. Don't worry, we'll fix this!!!
You need to log in
before you can comment on or make changes to this bug.
Description
•