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

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

Issue 1934833002: Ensure filter and reflection outsets are applied on paint invalidation rect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 1040 matching lines...) Expand 10 before | Expand all | Expand 10 after
1051 // object's border edge to the container's border edge (which is not 1051 // object's border edge to the container's border edge (which is not
1052 // always the parent). Thus it includes any logical top/left along 1052 // always the parent). Thus it includes any logical top/left along
1053 // with this box's margins. 1053 // with this box's margins.
1054 LayoutRect m_frameRect; 1054 LayoutRect m_frameRect;
1055 1055
1056 // Our intrinsic height, used for min-height: min-content etc. Maintained by 1056 // Our intrinsic height, used for min-height: min-content etc. Maintained by
1057 // updateLogicalHeight. This is logicalHeight() before it is clamped to 1057 // updateLogicalHeight. This is logicalHeight() before it is clamped to
1058 // min/max. 1058 // min/max.
1059 mutable LayoutUnit m_intrinsicContentLogicalHeight; 1059 mutable LayoutUnit m_intrinsicContentLogicalHeight;
1060 1060
1061 void inflatePaintInvalidationRectForReflectionAndFilter(LayoutRect&) const; 1061 void inflateVisualRectForReflectionAndFilter(LayoutRect&) const;
1062 void inflateVisualRectForReflectionAndFilterUnderContainer(LayoutRect&, cons t LayoutObject& container, const LayoutBoxModelObject* ancestorToStopAt) const;
1062 1063
1063 LayoutRectOutsets m_marginBoxOutsets; 1064 LayoutRectOutsets m_marginBoxOutsets;
1064 1065
1065 protected: 1066 protected:
1066 // The logical width of the element if it were to break its lines at every 1067 // The logical width of the element if it were to break its lines at every
1067 // possible opportunity. 1068 // possible opportunity.
1068 // 1069 //
1069 // See LayoutObject::minPreferredLogicalWidth() for more details. 1070 // See LayoutObject::minPreferredLogicalWidth() for more details.
1070 LayoutUnit m_minPreferredLogicalWidth; 1071 LayoutUnit m_minPreferredLogicalWidth;
1071 1072
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
1163 || breakValue == BreakLeft 1164 || breakValue == BreakLeft
1164 || breakValue == BreakPage 1165 || breakValue == BreakPage
1165 || breakValue == BreakRecto 1166 || breakValue == BreakRecto
1166 || breakValue == BreakRight 1167 || breakValue == BreakRight
1167 || breakValue == BreakVerso; 1168 || breakValue == BreakVerso;
1168 } 1169 }
1169 1170
1170 } // namespace blink 1171 } // namespace blink
1171 1172
1172 #endif // LayoutBox_h 1173 #endif // LayoutBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698