blob: f8d76bf98fa7ca6f0420a9315b7b9d44a8b04f60 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NGMarginStrut_h
#define NGMarginStrut_h
#include "core/CoreExport.h"
#include "platform/LayoutUnit.h"
namespace blink {
// This struct is used for the margin collapsing calculation.
struct NGMarginStrut {
LayoutUnit margin_block_start;
LayoutUnit margin_block_end;
LayoutUnit negative_margin_block_start;
LayoutUnit negative_margin_block_end;
};
} // namespace blink
#endif // NGMarginStrut_h