| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 | 260 |
| 261 layoutPositionedObjects(relayoutChildren || isDocumentElement()); | 261 layoutPositionedObjects(relayoutChildren || isDocumentElement()); |
| 262 | 262 |
| 263 computeRegionRangeForBlock(flowThreadContainingBlock()); | 263 computeRegionRangeForBlock(flowThreadContainingBlock()); |
| 264 | 264 |
| 265 repaintChildrenDuringLayoutIfMoved(oldChildRects); | 265 repaintChildrenDuringLayoutIfMoved(oldChildRects); |
| 266 // FIXME: css3/flexbox/repaint-rtl-column.html seems to repaint more ove
rflow than it needs to. | 266 // FIXME: css3/flexbox/repaint-rtl-column.html seems to repaint more ove
rflow than it needs to. |
| 267 computeOverflow(clientLogicalBottomAfterRepositioning()); | 267 computeOverflow(clientLogicalBottomAfterRepositioning()); |
| 268 } | 268 } |
| 269 | 269 |
| 270 updateLayerTransform(); | 270 updateLayerTransformAfterLayout(); |
| 271 | 271 |
| 272 // Update our scroll information if we're overflow:auto/scroll/hidden now th
at we know if | 272 // Update our scroll information if we're overflow:auto/scroll/hidden now th
at we know if |
| 273 // we overflow or not. | 273 // we overflow or not. |
| 274 updateScrollInfoAfterLayout(); | 274 updateScrollInfoAfterLayout(); |
| 275 | 275 |
| 276 repainter.repaintAfterLayout(); | 276 repainter.repaintAfterLayout(); |
| 277 | 277 |
| 278 clearNeedsLayout(); | 278 clearNeedsLayout(); |
| 279 } | 279 } |
| 280 | 280 |
| (...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1414 ASSERT(child); | 1414 ASSERT(child); |
| 1415 LayoutUnit lineCrossAxisExtent = lineContexts[lineNumber].crossAxisE
xtent; | 1415 LayoutUnit lineCrossAxisExtent = lineContexts[lineNumber].crossAxisE
xtent; |
| 1416 LayoutUnit originalOffset = lineContexts[lineNumber].crossAxisOffset
- crossAxisStartEdge; | 1416 LayoutUnit originalOffset = lineContexts[lineNumber].crossAxisOffset
- crossAxisStartEdge; |
| 1417 LayoutUnit newOffset = contentExtent - originalOffset - lineCrossAxi
sExtent; | 1417 LayoutUnit newOffset = contentExtent - originalOffset - lineCrossAxi
sExtent; |
| 1418 adjustAlignmentForChild(child, newOffset - originalOffset); | 1418 adjustAlignmentForChild(child, newOffset - originalOffset); |
| 1419 } | 1419 } |
| 1420 } | 1420 } |
| 1421 } | 1421 } |
| 1422 | 1422 |
| 1423 } | 1423 } |
| OLD | NEW |