Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1184)

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineBox.cpp

Issue 1657483003: Add a border radius property to inherit it from a parent in a fallback content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/line/InlineBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/InlineBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineBox.cpp
index c6db3cde73c4065bdfbdef0ad2b540c294b4fc13..1df2a92eb553ad6f77b3fc01ecf69ce66faf30fe 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/InlineBox.cpp
@@ -227,14 +227,6 @@ bool InlineBox::nodeAtPoint(HitTestResult& result, const HitTestLocation& locati
if (parent()->lineLayoutItem().hasFlippedBlocksWritingMode()) // Faster than calling containingBlock().
childPoint = layoutObject().containingBlock()->flipForWritingModeForChild(&toLayoutBox(layoutObject()), childPoint);
- if (lineLayoutItem().style()->hasBorderRadius()) {
- LayoutRect borderRect = logicalFrameRect();
- borderRect.moveBy(accumulatedOffset);
- FloatRoundedRect border = lineLayoutItem().style()->getRoundedBorderFor(borderRect);
- if (!locationInContainer.intersects(border))
- return false;
- }
-
return lineLayoutItem().hitTest(result, locationInContainer, childPoint);
}

Powered by Google App Engine
This is Rietveld 408576698