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

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h

Issue 2575423003: Fix geometry mapping issues for float under inline (Closed)
Patch Set: SVG floating Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. 2 * Copyright (C) 2006 Apple Computer, Inc.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 } 67 }
68 68
69 private: 69 private:
70 LayoutRect absoluteVisualRect() const final; 70 LayoutRect absoluteVisualRect() const final;
71 71
72 bool allowsOverflowClip() const final; 72 bool allowsOverflowClip() const final;
73 73
74 void absoluteRects(Vector<IntRect>&, 74 void absoluteRects(Vector<IntRect>&,
75 const LayoutPoint& accumulatedOffset) const final; 75 const LayoutPoint& accumulatedOffset) const final;
76 76
77 void updateFromStyle() final;
77 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) final; 78 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) final;
78 79
79 bool nodeAtPoint(HitTestResult&, 80 bool nodeAtPoint(HitTestResult&,
80 const HitTestLocation& locationInContainer, 81 const HitTestLocation& locationInContainer,
81 const LayoutPoint& accumulatedOffset, 82 const LayoutPoint& accumulatedOffset,
82 HitTestAction) override; 83 HitTestAction) override;
83 84
84 // The inherited version doesn't check for SVG effects. 85 // The inherited version doesn't check for SVG effects.
85 bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const override { 86 bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const override {
86 return false; 87 return false;
87 } 88 }
88 }; 89 };
89 90
90 } // namespace blink 91 } // namespace blink
91 #endif // LayoutSVGBlock_h 92 #endif // LayoutSVGBlock_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698