[Webkit-unassigned] [Bug 18114] misalignment issue in webkit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 6 05:22:14 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=18114





--- Comment #3 from deepak.deepakmittal at gmail.com <deepak.m1 at samsung.com>  2014-02-06 05:19:34 PST ---

nbsp is used to stop the browser from breaking a line in the wrong place.
please refer http://www.htmlbasictutor.ca/non-breaking-space.htm

nbsp is used to create whitespace with non breaking space.

as nbsp is their so 
isBreakable() getting called from BreakingContext::handleText() in BreakingContextInlineHeaders.h

which calls nextBreakablePositionIgnoringNBSP() and in turn call's, isBreakableSpace() that returns  treatNoBreakSpaceAsBreak and shouldBreakAfter() return false, so end of the line length will getting return as nextBreakable position and line will not break.

So this is intended behaviour..

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list