Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Side by Side Diff: Source/core/rendering/RenderFlowThread.cpp

Issue 792803002: [New Multicolumn] Layout support for column-span:all. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@347325-placeholder
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 } 314 }
315 currentBlock->flipForWritingMode(blockRect); 315 currentBlock->flipForWritingMode(blockRect);
316 } 316 }
317 blockRect.moveBy(currentBlockLocation); 317 blockRect.moveBy(currentBlockLocation);
318 currentBlock = containerBlock; 318 currentBlock = containerBlock;
319 } 319 }
320 320
321 return currentBlock->isHorizontalWritingMode() ? blockRect.y() : blockRect.x (); 321 return currentBlock->isHorizontalWritingMode() ? blockRect.y() : blockRect.x ();
322 } 322 }
323 323
324 void RenderFlowThread::RegionSearchAdapter::collectIfNeeded(const MultiColumnSet Interval& interval) 324 void RenderFlowThread::MultiColumnSetSearchAdapter::collectIfNeeded(const MultiC olumnSetInterval& interval)
325 { 325 {
326 if (m_result) 326 if (m_result)
327 return; 327 return;
328 if (interval.low() <= m_offset && interval.high() > m_offset) 328 if (interval.low() <= m_offset && interval.high() > m_offset)
329 m_result = interval.data(); 329 m_result = interval.data();
330 } 330 }
331 331
332 } // namespace blink 332 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698