| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 Apple Inc. 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 | 390 |
| 391 if (size() != previousSize) | 391 if (size() != previousSize) |
| 392 relayoutChildren = true; | 392 relayoutChildren = true; |
| 393 | 393 |
| 394 layoutPositionedObjects(relayoutChildren || isDocumentElement()); | 394 layoutPositionedObjects(relayoutChildren || isDocumentElement()); |
| 395 | 395 |
| 396 computeOverflow(oldClientAfterEdge); | 396 computeOverflow(oldClientAfterEdge); |
| 397 } | 397 } |
| 398 | 398 |
| 399 updateLayerTransformAfterLayout(); | 399 updateLayerTransformAfterLayout(); |
| 400 updateScrollInfoAfterLayout(); | 400 updateAfterLayout(); |
| 401 | 401 |
| 402 clearNeedsLayout(); | 402 clearNeedsLayout(); |
| 403 } | 403 } |
| 404 | 404 |
| 405 LayoutUnit LayoutGrid::guttersSize(GridTrackSizingDirection direction, size_t sp
an) const | 405 LayoutUnit LayoutGrid::guttersSize(GridTrackSizingDirection direction, size_t sp
an) const |
| 406 { | 406 { |
| 407 ASSERT(span >= 1); | 407 ASSERT(span >= 1); |
| 408 | 408 |
| 409 if (span == 1) | 409 if (span == 1) |
| 410 return LayoutUnit(); | 410 return LayoutUnit(); |
| (...skipping 1629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2040 | 2040 |
| 2041 return LayoutPoint(rowAxisOffset, columnAxisOffsetForChild(child, sizingData
)); | 2041 return LayoutPoint(rowAxisOffset, columnAxisOffsetForChild(child, sizingData
)); |
| 2042 } | 2042 } |
| 2043 | 2043 |
| 2044 void LayoutGrid::paintChildren(const PaintInfo& paintInfo, const LayoutPoint& pa
intOffset) const | 2044 void LayoutGrid::paintChildren(const PaintInfo& paintInfo, const LayoutPoint& pa
intOffset) const |
| 2045 { | 2045 { |
| 2046 GridPainter(*this).paintChildren(paintInfo, paintOffset); | 2046 GridPainter(*this).paintChildren(paintInfo, paintOffset); |
| 2047 } | 2047 } |
| 2048 | 2048 |
| 2049 } // namespace blink | 2049 } // namespace blink |
| OLD | NEW |