| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "core/layout/line/InlineTextBox.h" | 5 #include "core/layout/line/InlineTextBox.h" |
| 6 | 6 |
| 7 #include "core/layout/LayoutTestHelper.h" | 7 #include "core/layout/LayoutTestHelper.h" |
| 8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 overflow.expand(LayoutSize(10, 10)); | 75 overflow.expand(LayoutSize(10, 10)); |
| 76 box->setLogicalOverflowRect(overflow); | 76 box->setLogicalOverflowRect(overflow); |
| 77 ASSERT_EQ(frame, box->logicalFrameRect()); | 77 ASSERT_EQ(frame, box->logicalFrameRect()); |
| 78 ASSERT_EQ(overflow, box->logicalOverflowRect()); | 78 ASSERT_EQ(overflow, box->logicalOverflowRect()); |
| 79 | 79 |
| 80 // Ensure it's still movable correctly. | 80 // Ensure it's still movable correctly. |
| 81 moveAndTest(box, move, frame, overflow); | 81 moveAndTest(box, move, frame, overflow); |
| 82 } | 82 } |
| 83 | 83 |
| 84 } // namespace blink | 84 } // namespace blink |
| OLD | NEW |