| 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 1648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2059 | 2059 |
| 2060 return LayoutPoint(rowAxisOffset, columnAxisOffsetForChild(child, sizingData
)); | 2060 return LayoutPoint(rowAxisOffset, columnAxisOffsetForChild(child, sizingData
)); |
| 2061 } | 2061 } |
| 2062 | 2062 |
| 2063 void LayoutGrid::paintChildren(const PaintInfo& paintInfo, const LayoutPoint& pa
intOffset) const | 2063 void LayoutGrid::paintChildren(const PaintInfo& paintInfo, const LayoutPoint& pa
intOffset) const |
| 2064 { | 2064 { |
| 2065 GridPainter(*this).paintChildren(paintInfo, paintOffset); | 2065 GridPainter(*this).paintChildren(paintInfo, paintOffset); |
| 2066 } | 2066 } |
| 2067 | 2067 |
| 2068 } // namespace blink | 2068 } // namespace blink |
| OLD | NEW |