Bug 57344 - Font size 0 still visible
Summary: Font size 0 still visible
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-29 08:37 PDT by J
Modified: 2012-01-04 19:42 PST (History)
3 users (show)

See Also:


Attachments
Example of font-size 0 text (2.97 KB, image/png)
2011-03-29 17:10 PDT, J
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description J 2011-03-29 08:37:55 PDT
When overriding a style sheet I set the font to be 0 for a certain element yet the text is still showing.

Isn't it logical for text that has zero pixels to not be shown at all? If the same rule is applied in Firefox the text is completely hidden.
Comment 1 Alexey Proskuryakov 2011-03-29 13:15:10 PDT
Are you seeing this with a nightly build from <http://nightly.webkit.org>?
Comment 2 J 2011-03-29 17:10:46 PDT
Created attachment 87438 [details]
Example of font-size 0 text
Comment 3 J 2011-03-29 17:11:52 PDT
Oh and yes I am using the nightly webkit builds.
Comment 4 David Barr 2011-10-12 20:53:55 PDT
Assuming minimal repro looks like:
<span style="font-size: 0">Test</span>

Tested with Webkit r97060 on Google Chrome 16.0.905.0 (Official Build 104827) canary, could not reproduce.
Comment 5 Shane Stephens 2012-01-04 19:42:12 PST
I can't repro in WebKit nightly or in Chrome Canary. Please provide a test case rather than an image of the test results so we can verify or close this bug.
Comment 6 Shane Stephens 2012-01-04 19:42:35 PST
(marking unconfirmed)