[Webkit-unassigned] [Bug 12423] Mixing white-space:pre text with non white-space:pre text does not wrap properly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 28 19:20:26 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12423





------- Comment #21 from ddkilzer at webkit.org  2007-01-28 19:20 PDT -------
After looking at this expression again, I think it may be simplified, but I
will NOT make this change when committing:

    bool canPlaceOnLine = willFitOnLine || !autoWrap;
    if (!willFitOnLine && !autoWrap && autoWrapWasEverTrueOnLine)
        canPlaceOnLine = false;

Could be simplified to (parens added for visual syntactic sugar):

    bool canPlaceOnLine = willFitOnLine || (!willFitOnLine &&
!autoWrapWasEverTrueOnLine);


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



More information about the webkit-unassigned mailing list