[webkit-changes] [WebKit/WebKit] 2b0824: [Multicolumn] Avoid floating point when calculatin...
Ahmad Saleem
noreply at github.com
Tue May 30 03:07:22 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2b0824877d8626ce1cfe499e0b49118a25b98c91
https://github.com/WebKit/WebKit/commit/2b0824877d8626ce1cfe499e0b49118a25b98c91
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2023-05-30 (Tue, 30 May 2023)
Changed paths:
M Source/WebCore/rendering/RenderMultiColumnSet.cpp
Log Message:
-----------
[Multicolumn] Avoid floating point when calculating the actual column count
https://bugs.webkit.org/show_bug.cgi?id=257030
Reviewed by Alan Baradlay.
Merge: https://chromium.googlesource.com/chromium/src.git/+/4a931c534e4b27b809b67d0207c7dc0d8a28faf0
This patch get rid of 'floating point' calculation for column count,
which can be error-prone.
The test is already imported:
imported/blink/fast/pagination/short-pages-tall-content.html
* Source/WebCore/rendering/RenderMultiColumnSet.cpp:
(RenderMultiColumnSet::columnCount):
Canonical link: https://commits.webkit.org/264667@main
More information about the webkit-changes
mailing list