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

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

Issue 2370673002: Changed EDisplay to an enum class and renamed its members to be keywords (Closed)
Patch Set: Renamed members Created 4 years, 2 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // be conditioned on having layout overflow (see OverflowModel for more details 134 // be conditioned on having layout overflow (see OverflowModel for more details
135 // on how we track overflow). 135 // on how we track overflow).
136 // 136 //
137 // There are 2 types of scrollbars: 137 // There are 2 types of scrollbars:
138 // - non-overlay scrollbars take space from the content box. 138 // - non-overlay scrollbars take space from the content box.
139 // - overlay scrollbars don't and just overlay hang off from the border box, 139 // - overlay scrollbars don't and just overlay hang off from the border box,
140 // potentially overlapping with the padding box's content. 140 // potentially overlapping with the padding box's content.
141 // For more details on scrollbars, see PaintLayerScrollableArea. 141 // For more details on scrollbars, see PaintLayerScrollableArea.
142 // 142 //
143 // 143 //
144 // ***** THE BOX MODEL ***** 144 // ***** THE EDisplay::Box MODEL *****
alancutter (OOO until 2018) 2016/09/26 04:23:46 This should not change.
145 // The CSS box model is based on a series of nested boxes: 145 // The CSS box model is based on a series of nested boxes:
146 // http://www.w3.org/TR/CSS21/box.html 146 // http://www.w3.org/TR/CSS21/box.html
147 // 147 //
148 // |----------------------------------------------------| 148 // |----------------------------------------------------|
149 // | | 149 // | |
150 // | margin-top | 150 // | margin-top |
151 // | | 151 // | |
152 // | |-----------------------------------------| | 152 // | |-----------------------------------------| |
153 // | | | | 153 // | | | |
154 // | | border-top | | 154 // | | border-top | |
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after
1219 || breakValue == BreakLeft 1219 || breakValue == BreakLeft
1220 || breakValue == BreakPage 1220 || breakValue == BreakPage
1221 || breakValue == BreakRecto 1221 || breakValue == BreakRecto
1222 || breakValue == BreakRight 1222 || breakValue == BreakRight
1223 || breakValue == BreakVerso; 1223 || breakValue == BreakVerso;
1224 } 1224 }
1225 1225
1226 } // namespace blink 1226 } // namespace blink
1227 1227
1228 #endif // LayoutBox_h 1228 #endif // LayoutBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698