/* LICENSE BEGIN This file is part of the SixtyFPS Project -- https://sixtyfps.io Copyright (c) 2020 Olivier Goffart Copyright (c) 2020 Simon Hausmann SPDX-License-Identifier: GPL-3.0-only This file is also available under commercial licensing terms. Please contact info@sixtyfps.io for more information. LICENSE END */ TestCase := Rectangle { property checked; property border; animate background { } states [ checked when checked: { color: blue; border: 42; } ] transitions [ in does_not_exist: { // ^error{State 'does_not_exist' does not exist} animate * { } } in checked: { // ^error{The property 'background' cannot have transition because it already has an animation} animate background { } } ] }