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

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

Issue 1007623003: Fix incorrect percentage top for positioned elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 18 matching lines...) Expand all
29 #include "platform/scroll/ScrollTypes.h" 29 #include "platform/scroll/ScrollTypes.h"
30 #include "platform/scroll/ScrollableArea.h" 30 #include "platform/scroll/ScrollableArea.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 class LayoutMultiColumnSpannerPlaceholder; 34 class LayoutMultiColumnSpannerPlaceholder;
35 35
36 struct PaintInfo; 36 struct PaintInfo;
37 37
38 enum SizeType { MainOrPreferredSize, MinSize, MaxSize }; 38 enum SizeType { MainOrPreferredSize, MinSize, MaxSize };
39 enum AvailableLogicalHeightType { ExcludeMarginBorderPadding, IncludeMarginBorde rPadding }; 39 enum AvailableLogicalHeightType { ExcludeMarginBorderPadding, IncludeMarginBorde rPadding, IncludePadding };
40 enum OverlayScrollbarSizeRelevancy { IgnoreOverlayScrollbarSize, IncludeOverlayS crollbarSize }; 40 enum OverlayScrollbarSizeRelevancy { IgnoreOverlayScrollbarSize, IncludeOverlayS crollbarSize };
41 enum MarginDirection { BlockDirection, InlineDirection }; 41 enum MarginDirection { BlockDirection, InlineDirection };
42 42
43 enum ShouldComputePreferred { ComputeActual, ComputePreferred }; 43 enum ShouldComputePreferred { ComputeActual, ComputePreferred };
44 44
45 enum ScrollOffsetClamping { 45 enum ScrollOffsetClamping {
46 ScrollOffsetUnclamped, 46 ScrollOffsetUnclamped,
47 ScrollOffsetClamped 47 ScrollOffsetClamped
48 }; 48 };
49 49
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 if (UNLIKELY(inlineBoxWrapper() != 0)) 856 if (UNLIKELY(inlineBoxWrapper() != 0))
857 deleteLineBoxWrapper(); 857 deleteLineBoxWrapper();
858 } 858 }
859 859
860 ensureRareData().m_inlineBoxWrapper = boxWrapper; 860 ensureRareData().m_inlineBoxWrapper = boxWrapper;
861 } 861 }
862 862
863 } // namespace blink 863 } // namespace blink
864 864
865 #endif // LayoutBox_h 865 #endif // LayoutBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698