Bug 138952 - text-rendering: optimizeLegibility causes text to wrap in some instances
Summary: text-rendering: optimizeLegibility causes text to wrap in some instances
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: 420+
Hardware: PC Windows 7
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-21 00:06 PST by Paul Verbeek
Modified: 2014-11-21 01:26 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Verbeek 2014-11-21 00:06:20 PST
When an element has text-rendering: optimizeLegibility the text sometimes wraps if it has a single space in it.

It happens when the element is also floated (either left or right), has a specific font (sans-serif) and a specific font-size (15px)

See http://jsbin.com/nomavoluye/3/edit?html,css,output
Comment 1 mitz 2014-11-21 01:19:53 PST
While I can’t reproduce this in Yosemite on a Retina display, this sort of bug is usually the result of inconsistent behavior of the complex text code path.

Which Windows port are you using?
Comment 2 Paul Verbeek 2014-11-21 01:26:00 PST
I use Windows 7 64 bit and I couldn't reproduce it on my Macbook in Yosemite. And it only happens on Chrome 39, not 38.