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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.h

Issue 2051703002: Implement closed shadow adjustment for Element.offsetParent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test Created 4 years, 6 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/LayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
index 0f80c7e9498b1e19096a1d7080dddfc6ee8cda7d..b04d14a9b6d9c4d992f3bb6420be783f694c3810 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -423,8 +423,8 @@ public:
LayoutUnit offsetWidth() const override { return m_frameRect.width(); }
LayoutUnit offsetHeight() const override { return m_frameRect.height(); }
- int pixelSnappedOffsetWidth() const final;
- int pixelSnappedOffsetHeight() const final;
+ int pixelSnappedOffsetWidth(const Element*) const final;
+ int pixelSnappedOffsetHeight(const Element*) const final;
// More IE extensions. clientWidth and clientHeight represent the interior of an object
// excluding border and scrollbar. clientLeft/Top are just the borderLeftWidth and borderTopWidth.
@@ -834,8 +834,8 @@ public:
LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override;
int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override;
- LayoutUnit offsetLeft() const override;
- LayoutUnit offsetTop() const override;
+ LayoutUnit offsetLeft(const Element*) const override;
+ LayoutUnit offsetTop(const Element*) const override;
LayoutPoint flipForWritingModeForChild(const LayoutBox* child, const LayoutPoint&) const;
LayoutUnit flipForWritingMode(LayoutUnit position) const WARN_UNUSED_RETURN {

Powered by Google App Engine
This is Rietveld 408576698