Are there any known issues with putting invalid CSS class symbols ( @, :, !) in the class attribute of the HTML element? Like this:
@
:
!
<input type='text' class='compare id:txtSecondary'/> <input type='text' class='compare @txtSecondary'/>
Interesting CSS fact! Section 4.1.3 of the Recommendation Syntax and Basic Data Types (from CSS2) states ...
ISO 10646 (. ). , "B & W?" "B\& W \?" "B\26 W\3F".
, CSS:
<style type="text/css"> .\@user { /* valid! */ color:red; } </style>
, class cdata, " , .
class
, - :
<div class="@user"> This is an @user </div>
@ :, , . ( class - : " ." )
- _, CSS.
-
_
<input id='txtPrimary' type='text' class='compare id-txtSecondary'/> <input id='txtSecondary' type='text' /> <input id='txtPrimary' type='text' class='compare id_txtSecondary'/> <input id='txtSecondary' type='text' />
Source: https://habr.com/ru/post/1759392/More articles:Read the printer pool for the number of pages to print. - c #Как получить "возвращаемый url" в Janrain RPX - model-view-controllerFinding the greatest prime factor of a compound number in c - cAccess to DOM node - javascriptPrint the largest prime factor of a composite number in C - cSearching across multiple tables at once (Linq to SQL)? - linqEvaluating a lazy Python dictionary - pythonAndroid Swipe left or right? - androidChecking a palindrome string in c - cPerl: error installing CPAN module - installationAll Articles