Bug 145701 - :first-letter does not work if is behind <p> any tag.
Summary: :first-letter does not work if is behind <p> any tag.
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-20 11:34 UTC by Jan Šlahora
Modified: 2021-03-21 00:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
A possible patch (668 bytes, patch)
2007-05-20 23:35 UTC, Vincent Ricard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Šlahora 2007-05-20 11:34:50 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Ubuntu Packages
OS:                Linux

On page http://notes.pcvideo.cz/first-letter.html there are two paragraphs which have set up :firs-letter declaration in css . If is next to <p> any else tag (<strong>, <a>...), khtml does not correctly render the first word - link is underline from bigginning of line and in both examples are the first letters black and tiny (not blue as link and not bold in <strong>).
Comment 1 Vincent Ricard 2007-05-20 23:35:59 UTC
Created attachment 20642 [details]
A possible patch

It seems some inheritance are not done... i'm not sure if it's the good way.
I'm waiting for a review/comment to commit.
Comment 2 Allan Sandfeld 2007-05-21 10:51:06 UTC
That's a bad way to implement it. I actually thought I had fixed that some time ago. At least I believe I made Konqueror behave more like Firefox, although it might have been further from the standard.
Comment 3 FiNeX 2008-04-21 12:38:11 UTC
bug confirmed on konqueror 4 trunk (r797319)
Comment 4 Charles Samuels 2008-08-11 11:35:19 UTC
I think this might be related to #59492.
Comment 5 Justin Zobel 2021-03-21 00:24:59 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 10 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.