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

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, 8 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 031b572ccbf37d2ef47dcb07f5bf9fb3b1a1b4c9..f2b16d382bd4dc0598aaa1d4f9e136f1e6d9a242 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/InlineBox.cpp
@@ -228,14 +228,6 @@ bool InlineBox::nodeAtPoint(HitTestResult& result, const HitTestLocation& locati
if (parent()->getLineLayoutItem().hasFlippedBlocksWritingMode()) // Faster than calling containingBlock().
childPoint = getLineLayoutItem().containingBlock().flipForWritingModeForChild(LineLayoutBox(getLineLayoutItem()), childPoint);
- if (getLineLayoutItem().style()->hasBorderRadius()) {
- LayoutRect borderRect = logicalFrameRect();
- borderRect.moveBy(accumulatedOffset);
- FloatRoundedRect border = getLineLayoutItem().style()->getRoundedBorderFor(borderRect);
- if (!locationInContainer.intersects(border))
- return false;
- }
-
return getLineLayoutItem().hitTest(result, locationInContainer, childPoint);
}

Powered by Google App Engine
This is Rietveld 408576698