Changeset 166428 in webkit
- Timestamp:
- Mar 28, 2014 2:55:46 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r166425 r166428 1 2014-03-28 Radu Stavila <stavila@adobe.com> 2 3 In some situations, partial layouts of floating elements produce incorrect results. 4 https://bugs.webkit.org/show_bug.cgi?id=122668 5 6 Reviewed by David Hyatt. 7 8 Added test to ensure an assertion is not reached when performing a partial 9 layout of float elements in certain situations. 10 11 * fast/block/float/floats-in-clean-line-crash-expected.txt: Added. 12 * fast/block/float/floats-in-clean-line-crash.html: Added. 13 1 14 2014-03-28 Brent Fulgham <bfulgham@apple.com> 2 15 -
trunk/Source/WebCore/ChangeLog
r166424 r166428 1 2014-03-28 Radu Stavila <stavila@adobe.com> 2 3 In some situations, partial layouts of floating elements produce incorrect results. 4 https://bugs.webkit.org/show_bug.cgi?id=122668 5 6 Reviewed by David Hyatt. 7 8 When performing partial layout of float elements and checking if other float 9 elements are encountered, incorrect results were obtained by not checking 10 the size of the existing floats vector. 11 12 Test: fast/block/float/floats-in-clean-line-crash.html 13 14 * rendering/RenderBlockLineLayout.cpp: 15 (WebCore::RenderBlockFlow::checkFloatsInCleanLine): 16 1 17 2014-03-28 Beth Dakin <bdakin@apple.com> 2 18 -
trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp
r166301 r166428 1467 1467 if (!cleanLineFloats) 1468 1468 return; 1469 1470 if (!floats.size()) { 1471 encounteredNewFloat = true; 1472 return; 1473 } 1469 1474 1470 1475 for (auto it = cleanLineFloats->begin(), end = cleanLineFloats->end(); it != end; ++it) {
Note: See TracChangeset
for help on using the changeset viewer.