mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-12-01 16:56:34 +01:00
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`.
27 lines
802 B
C
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();
|
|
}
|