Bug 304357 - [testcase] width calculation wrong when CSS property content is set to ""
Summary: [testcase] width calculation wrong when CSS property content is set to ""
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.8.4
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-31 20:48 UTC by Rolf Eike Beer
Modified: 2012-07-31 20:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
CSS content testcase (3.54 KB, text/html)
2012-07-31 20:49 UTC, Rolf Eike Beer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer 2012-07-31 20:48:38 UTC
See the first example in the attached testcase, compare it to the second. The first example has a slightly greater spacing between the icons, but the overall width of the grey area is the same, leading to a linebreak. I assume that if the extra spacing would be added to the width the line break would not occur.

If you fix bug 304355 before this: the same applies if you have this in an :after pseudo-element.

Reproducible: Always
Comment 1 Rolf Eike Beer 2012-07-31 20:49:09 UTC
Created attachment 72858 [details]
CSS content testcase