blob: 6850137b95e24bf1560fd2447a5191a8c55ceb0c [file] [log] [blame]
// Copyright 2017 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.
#include "core/layout/ng/ng_unpositioned_float.h"
#include "core/style/ComputedStyle.h"
#include "core/style/ComputedStyleConstants.h"
namespace blink {
bool NGUnpositionedFloat::IsLeft() const {
return node->Style().Floating() == EFloat::kLeft;
}
bool NGUnpositionedFloat::IsRight() const {
return node->Style().Floating() == EFloat::kRight;
}
} // namespace blink