Change FloatingObject to store its dimensions as a rect. This will make it easier for logical access for block-flow later on if top/bottom is no different from left/width. This change also simplifies calling code a bit in places.
Created attachment 69513 [details] Patch
Attachment 69513 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebCore/rendering/RenderBlock.cpp:3224: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] WebCore/rendering/RenderBlock.cpp:3228: Extra space after ( in if [whitespace/parens] [5] WebCore/rendering/RenderBlock.cpp:3228: Extra space before ) in if [whitespace/parens] [5] WebCore/rendering/RenderBlock.cpp:3228: More than one command on the same line in if [whitespace/parens] [4] WebCore/rendering/RenderBlock.cpp:3253: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] WebCore/rendering/RenderBlock.cpp:3257: Extra space after ( in if [whitespace/parens] [5] WebCore/rendering/RenderBlock.cpp:3257: Extra space before ) in if [whitespace/parens] [5] WebCore/rendering/RenderBlock.cpp:3257: More than one command on the same line in if [whitespace/parens] [4] Total errors found: 8 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 69514 [details] Fix this crappy ancient code to pass the style checks
Comment on attachment 69514 [details] Fix this crappy ancient code to pass the style checks Nice.
Fixed in r68926.