Files
LCUI/lib/css/tests/test.c
T
Liu 844802374d feat(css): support cursor property with standard keyword values
Register the `cursor` property (36 standard keywords, no url() images),
add css_cursor_t, a 6-bit type_bits field and the 34 new keywords, and
implement css_cascade_cursor(). Defaults to `auto`.
2026-10-17 21:16:46 +08:00

27 lines
802 B
C

/*
* lib/css/tests/test.c
*
* Copyright (c) 2023-2026, Liu Chao <hello@lcui.dev> All rights reserved.
*
* SPDX-License-Identifier: MIT
*
* This file is part of LCUI, distributed under the MIT License found
* in the LICENSE.TXT file in the root directory of this source tree.
*/
#include <ctest.h>
#include <yutil.h>
#include "test.h"
int main()
{
logger_set_level(LOGGER_LEVEL_ALL);
ctest_describe("css keywords", test_css_keywords);
ctest_describe("css value", test_css_value);
ctest_describe("css computed", test_css_computed);
ctest_describe("css text decoration", test_css_text_decoration);
ctest_describe("css inheritance", test_css_inheritance);
ctest_describe("css cursor", test_css_cursor);
return ctest_finish();
}