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

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

Issue 2417113002: [LayoutNG] Fix orthogonal writing mode child margin strut from being used in collapsing margins cal… (Closed)
Patch Set: address comments 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NGPhysicalConstraintSpace_h 5 #ifndef NGPhysicalConstraintSpace_h
6 #define NGPhysicalConstraintSpace_h 6 #define NGPhysicalConstraintSpace_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/layout/ng/ng_units.h" 9 #include "core/layout/ng/ng_units.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 NGPhysicalSize container_size_; 77 NGPhysicalSize container_size_;
78 78
79 unsigned fixed_width_ : 1; 79 unsigned fixed_width_ : 1;
80 unsigned fixed_height_ : 1; 80 unsigned fixed_height_ : 1;
81 unsigned width_direction_triggers_scrollbar_ : 1; 81 unsigned width_direction_triggers_scrollbar_ : 1;
82 unsigned height_direction_triggers_scrollbar_ : 1; 82 unsigned height_direction_triggers_scrollbar_ : 1;
83 unsigned width_direction_fragmentation_type_ : 2; 83 unsigned width_direction_fragmentation_type_ : 2;
84 unsigned height_direction_fragmentation_type_ : 2; 84 unsigned height_direction_fragmentation_type_ : 2;
85 85
86 // Whether the current constraint space is for the newly established
87 // formatting Context
88 unsigned is_new_fc_ : 1;
89
86 HeapVector<Member<const NGExclusion>> exclusions_; 90 HeapVector<Member<const NGExclusion>> exclusions_;
87 }; 91 };
88 92
89 } // namespace blink 93 } // namespace blink
90 94
91 #endif // NGPhysicalConstraintSpace_h 95 #endif // NGPhysicalConstraintSpace_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698