// Copyright 2018 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 "third_party/blink/renderer/core/css/properties/longhands/box_sizing.h" #include "third_party/blink/renderer/core/style/computed_style.h" namespace blink { namespace css_longhand { const CSSValue* BoxSizing::CSSValueFromComputedStyleInternal( const ComputedStyle& style, const SVGComputedStyle&, const LayoutObject*, Node* styled_node, bool allow_visited_style) const { if (style.BoxSizing() == EBoxSizing::kContentBox) return CSSIdentifierValue::Create(CSSValueContentBox); return CSSIdentifierValue::Create(CSSValueBorderBox); } } // namespace css_longhand } // namespace blink