RESOLVED WORKSFORME138554
Assertion in border drawing code with this testcase
https://bugs.webkit.org/show_bug.cgi?id=138554
Summary Assertion in border drawing code with this testcase
Simon Fraser (smfr)
Reported 2014-11-09 20:22:24 PST
Created attachment 241270 [details] 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.
Attachments
testcase (163 bytes, text/html)
2014-11-09 20:22 PST, Simon Fraser (smfr)
no flags
Radar WebKit Bug Importer
Comment 1 2014-12-19 10:53:36 PST
alan
Comment 2 2015-01-05 16:09:32 PST
Can't repro border drawing assert after r177845. -> bug 139888
Note You need to log in before you can comment on or make changes to this bug.