{ This file is part of the Free Pascal Run time library. Copyright (c) 2022 by Michael Van Canneyt (michael@freepascal.org) This file contains CSS utility class See the File COPYING.FPC, included in this distribution, for details about the copyright. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ********************************************************************** Works: Selector Example Example description .class .intro Selects all elements with class="intro" .class1.class2 .name1.name2 Selects all elements with both name1 and name2 set within its class attribute .class1 .class2 .name1 .name2 Selects all elements with name2 that is a descendant of an element with name1 #id #firstname Selects the element with name="firstname" * * Selects all elements type p Selects all

elements type.class p.intro Selects all

elements with class="intro" type,type div, p Selects all

elements and all

elements type type div p Selects all

elements inside

elements type>type div > p Selects all

elements where the parent is a

element type+type div + p Selects the first

element that is placed immediately after a

element element1~element2 p ~ ul Selects every