PlaceItemsStyleValue.cpp 374 B

12345678910111213141516
  1. /*
  2. * Copyright (c) 2023, Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include "PlaceItemsStyleValue.h"
  7. namespace Web::CSS {
  8. ErrorOr<String> PlaceItemsStyleValue::to_string() const
  9. {
  10. return String::formatted("{} {}", TRY(m_properties.align_items->to_string()), TRY(m_properties.justify_items->to_string()));
  11. }
  12. }