Closed
Bug 361368
Opened 19 years ago
Closed 17 years ago
<a> tags not allways rendered coresponding to the stylesheet (after reload everythings ok)
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
INVALID
People
(Reporter: aebli, Unassigned)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
i was working on a typo3 site, when i noticed that sometimes, my links where not rendered as they should. sometimes, one (and only one) link in the menu had default colors, not the ones specified in the stylesheet. after i reload the site, everything looks ok.
Reproducible: Sometimes
Comment 1•19 years ago
|
||
Can you make a testcase or provide a link that shows this? Otherwise triaging this bug will be hard.
| Reporter | ||
Comment 2•19 years ago
|
||
(In reply to comment #1)
> Can you make a testcase or provide a link that shows this? Otherwise triaging
> this bug will be hard.
>
I'm sorry, it's my first bug.
http://vvk.zimtkorn.ch
| Reporter | ||
Comment 3•19 years ago
|
||
I forgot:
Occurred on WinXP and MacOS X
And it's not allways the same links that render incorrect
Comment 4•19 years ago
|
||
No worries if it's your first bug :)
I'm not really sure what link i'm looking for to be misrendered. Could you make a screenshot (png preferably) and attach it to this bug ("Create a New Attachment")?
Also, do you see this bug when you are loading your site from the server? (As opposed to loading it locally).
| Reporter | ||
Comment 5•19 years ago
|
||
| Reporter | ||
Comment 6•19 years ago
|
||
| Reporter | ||
Comment 7•19 years ago
|
||
I see this only when loading the site from the server.
| Reporter | ||
Updated•19 years ago
|
Attachment #246140 -
Attachment mime type: text/plain → image/png
| Reporter | ||
Comment 8•19 years ago
|
||
After looking into this a little bit more, I found the following (with the help of Web Developer Add-on):
False displayed link (view source):
<a href="portrait/unsere_grundlagen/"><div class="submenu_item"><div class="submenu_title">Unsere Grundlagen <img src="/fileadmin/templates/img/arrow_menuleft_FF9900.gif"/></div></div></a>
False displayed link (view generated source):
<a href="portrait/unsere_grundlagen/"></a><div class="submenu_item"><div class="submenu_title"><a href="portrait/unsere_grundlagen/">Unsere Grundlagen <img src="/fileadmin/templates/img/arrow_menuleft_FF9900.gif"></a></div></div>
(In reply to comment #8)
In this case, there's no bug at all. Somehow the a-element contains a div-element. Because an inline element (like a) can't contain a block element (like div), the original a element is closed before the div element. However, there's a second a element put on the inside of the div element, so the link is still there. Looks like the link gets another style because of its actual position.
Because of the description above I'll mark this report as invalid. The buggy site seems unavailable and I think it was a bug in Typo3 or a mistake while writing the code.
Anyway, if you come across this bug again, feel free to reopen this (Reopen bug below).
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•