[Webkit-unassigned] [Bug 138554] New: Assertion in border drawing code with this testcase

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 9 20:22:24 PST 2014


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

            Bug ID: 138554
           Summary: Assertion in border drawing code with this testcase
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com
                CC: zalan at apple.com

Created attachment 241270
  --> https://bugs.webkit.org/attachment.cgi?id=241270&action=review
testcase

The attached test case, from bug 108619, asserts in border drawing code if you skip the geometry map assertion.

At:
y2 = roundToDevicePixel(y2, deviceScaleFactor);
y2 is 33554432, and comes back negative.

float foo = 33554432;
LayoutUnit bar(foo);
reproduces the issue.

At m_value = clampTo<float>(value * kFixedPointDenominator, static_cast<float>(INT_MIN), static_cast<float>(INT_MAX));

m_value becomes negative.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141110/ffe1f03b/attachment-0002.html>


More information about the webkit-unassigned mailing list