Update the CSS3 column width and count algorithm to match the spec. I honestly have no idea what the differences are. None of our tests change results. I just want the code to match the pseudo-algorithm in the latest draft.
Created attachment 88508 [details] Patch
Comment on attachment 88508 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=88508&action=review > Source/WebCore/rendering/RenderBlock.cpp:4215 > + desiredColumnCount = max(1, (int)((float)(availWidth + colGap) / (colWidth + colGap))); To avoid the (int) cast you could use max<int>(). > Source/WebCore/rendering/RenderBlock.cpp:4218 > + desiredColumnCount = min(colCount, (int)((float)(availWidth + colGap) / (colWidth + colGap))); Ditto
Fixed in r83099.
Attachment 88508 [details] did not build on chromium: Build output: http://queues.webkit.org/results/8348315