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

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

Issue 180743004: Disable FTA when max multiplier is 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebaseline. Created 6 years, 9 months 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
« no previous file with comments | « Source/core/rendering/RenderBlockFlow.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 * (C) 1997 Torben Weis (weis@kde.org) 3 * (C) 1997 Torben Weis (weis@kde.org)
4 * (C) 1998 Waldo Bastian (bastian@kde.org) 4 * (C) 1998 Waldo Bastian (bastian@kde.org)
5 * (C) 1999 Lars Knoll (knoll@kde.org) 5 * (C) 1999 Lars Knoll (knoll@kde.org)
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) 6 * (C) 1999 Antti Koivisto (koivisto@kde.org)
7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved.
8 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) 8 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 for (RenderTableSection* section = topSection(); section; section = sectionB elow(section)) { 409 for (RenderTableSection* section = topSection(); section; section = sectionB elow(section)) {
410 section->layoutIfNeeded(); 410 section->layoutIfNeeded();
411 section->computeOverflowFromCells(); 411 section->computeOverflowFromCells();
412 } 412 }
413 } 413 }
414 414
415 void RenderTable::layout() 415 void RenderTable::layout()
416 { 416 {
417 // Note: RenderTable is handled differently than other RenderBlocks and the LayoutScope 417 // Note: RenderTable is handled differently than other RenderBlocks and the LayoutScope
418 // must be created before the table begins laying out. 418 // must be created before the table begins laying out.
419 FastTextAutosizer::LayoutScope fastTextAutosizerLayoutScope(document(), this ); 419 FastTextAutosizer::LayoutScope fastTextAutosizerLayoutScope(this);
420 ASSERT(needsLayout()); 420 ASSERT(needsLayout());
421 421
422 LayoutRectRecorder recorder(*this); 422 LayoutRectRecorder recorder(*this);
423 423
424 if (simplifiedLayout()) 424 if (simplifiedLayout())
425 return; 425 return;
426 426
427 recalcSectionsIfNeeded(); 427 recalcSectionsIfNeeded();
428 // FIXME: We should do this recalc lazily in borderStart/borderEnd so that w e don't have to make sure 428 // FIXME: We should do this recalc lazily in borderStart/borderEnd so that w e don't have to make sure
429 // to call this before we call borderStart/borderEnd to avoid getting a stal e value. 429 // to call this before we call borderStart/borderEnd to avoid getting a stal e value.
(...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after
1458 const BorderValue& RenderTable::tableEndBorderAdjoiningCell(const RenderTableCel l* cell) const 1458 const BorderValue& RenderTable::tableEndBorderAdjoiningCell(const RenderTableCel l* cell) const
1459 { 1459 {
1460 ASSERT(cell->isFirstOrLastCellInRow()); 1460 ASSERT(cell->isFirstOrLastCellInRow());
1461 if (hasSameDirectionAs(cell->row())) 1461 if (hasSameDirectionAs(cell->row()))
1462 return style()->borderEnd(); 1462 return style()->borderEnd();
1463 1463
1464 return style()->borderStart(); 1464 return style()->borderStart();
1465 } 1465 }
1466 1466
1467 } 1467 }
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderBlockFlow.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698