#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/layout/layout_embedded_content.h"
#include "third_party/blink/renderer/core/layout/layout_text.h"
#include "third_party/blink/renderer/core/layout/layout_view.h"
#include "third_party/blink/renderer/core/page/page_animator.h"
#include "third_party/blink/renderer/core/paint/paint_layer.h"
#include "third_party/blink/renderer/core/paint/paint_layer_scrollable_area.h"
#include "third_party/blink/renderer/core/paint/paint_property_tree_printer.h"
#include "third_party/blink/renderer/core/testing/core_unit_test_helper.h"
#include "third_party/blink/renderer/platform/graphics/paint/geometry_mapper.h"
#include "third_party/blink/renderer/platform/testing/paint_test_configurations.h"
#include "ui/gfx/geometry/rect_conversions.h"
namespace blink {
namespace {
inline PaintLayerScrollableArea* GetScrollableArea(
const LayoutBlock* container) { … }
}
class VisualRectMappingTest : public PaintTestConfigurations,
public RenderingTest { … };
INSTANTIATE_PAINT_TEST_SUITE_P(…);
TEST_P(VisualRectMappingTest, LayoutText) { … }
TEST_P(VisualRectMappingTest, LayoutTextContainerFlippedWritingMode) { … }
TEST_P(VisualRectMappingTest, LayoutInline) { … }
TEST_P(VisualRectMappingTest, LayoutInlineContainerFlippedWritingMode) { … }
TEST_P(VisualRectMappingTest, LayoutView) { … }
TEST_P(VisualRectMappingTest, LayoutViewSubpixelRounding) { … }
TEST_P(VisualRectMappingTest, LayoutViewDisplayNone) { … }
TEST_P(VisualRectMappingTest, SelfFlippedWritingMode) { … }
TEST_P(VisualRectMappingTest, ContainerFlippedWritingMode) { … }
TEST_P(VisualRectMappingTest, ContainerOverflowScroll) { … }
TEST_P(VisualRectMappingTest, ContainerFlippedWritingModeAndOverflowScroll) { … }
TEST_P(VisualRectMappingTest, ContainerOverflowHidden) { … }
TEST_P(VisualRectMappingTest, ContainerFlippedWritingModeAndOverflowHidden) { … }
TEST_P(VisualRectMappingTest, ContainerAndTargetDifferentFlippedWritingMode) { … }
TEST_P(VisualRectMappingTest,
DifferentPaintInvalidaitionContainerForAbsolutePosition) { … }
TEST_P(VisualRectMappingTest,
ContainerOfAbsoluteAbovePaintInvalidationContainer) { … }
TEST_P(VisualRectMappingTest, CSSClip) { … }
TEST_P(VisualRectMappingTest, ContainPaint) { … }
TEST_P(VisualRectMappingTest, FloatUnderInline) { … }
TEST_P(VisualRectMappingTest, FloatUnderInlineVerticalRL) { … }
TEST_P(VisualRectMappingTest, InlineBlock) { … }
TEST_P(VisualRectMappingTest, InlineBlockVerticalRL) { … }
TEST_P(VisualRectMappingTest, AbsoluteUnderRelativeInline) { … }
TEST_P(VisualRectMappingTest, AbsoluteUnderRelativeInlineVerticalRL) { … }
TEST_P(VisualRectMappingTest, ShouldAccountForPreserve3d) { … }
TEST_P(VisualRectMappingTest, ShouldAccountForPreserve3dNested) { … }
TEST_P(VisualRectMappingTest, ShouldAccountForPerspective) { … }
TEST_P(VisualRectMappingTest, ShouldAccountForPerspectiveNested) { … }
TEST_P(VisualRectMappingTest, PerspectivePlusScroll) { … }
TEST_P(VisualRectMappingTest, FixedContentsInIframe) { … }
TEST_P(VisualRectMappingTest, FixedContentsWithScrollOffset) { … }
TEST_P(VisualRectMappingTest, FixedContentsUnderViewWithScrollOffset) { … }
TEST_P(VisualRectMappingTest, InclusiveIntersect) { … }
TEST_P(VisualRectMappingTest, Perspective) { … }
TEST_P(VisualRectMappingTest, PerspectiveWithAnonymousTable) { … }
TEST_P(VisualRectMappingTest, AnchorPositionScroll) { … }
TEST_P(VisualRectMappingTest, IgnoreFilters) { … }
}