From c93e7093c158614143c9b98fb4fcdd3e7231b784 Mon Sep 17 00:00:00 2001 From: Ojan Vafai Date: Mon, 23 Feb 2015 16:40:15 -0800 Subject: [PATCH] Never layer-ize RenderInlines. This removes support for opacity, filters and clip-path on RenderInlines. If you want inline content that uses these properties you need to use an inline-block. We may want to add back support for opacity or filters on inlines eventually, but we'd implement it differently and right now they're getting in the way. R=abarth@chromium.org Review URL: https://codereview.chromium.org/950963003 --- engine/core/rendering/RenderInline.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/core/rendering/RenderInline.h b/engine/core/rendering/RenderInline.h index 2b8b19ebf..5719d64f6 100644 --- a/engine/core/rendering/RenderInline.h +++ b/engine/core/rendering/RenderInline.h @@ -114,7 +114,7 @@ private: virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset) override final; - virtual LayerType layerTypeRequired() const override { return createsGroup() || hasClipPath() ? NormalLayer : NoLayer; } + virtual LayerType layerTypeRequired() const override { return NoLayer; } virtual LayoutUnit offsetLeft() const override final; virtual LayoutUnit offsetTop() const override final; -- GitLab