View Single Post
Old 12-01-2022, 05:36 AM   #1
DrChiper
Bookish
DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.
 
DrChiper's Avatar
 
Posts: 1,019
Karma: 2003162
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
Class definition not always found

In texts, when you hold down CTRL and click on a class, you can jump to its definition in the CSS stylesheet.

Code:
Text:
<p class="small">...

Stylesheet:
.small {
 font-size: x-small;
}

p.small {
 font-size: x-small;
}
However the first definition of "small" is found, the 2nd is not, even when it is the sole definition present in the stylsheet.
Is this correct behavior?

Last edited by DrChiper; 12-01-2022 at 08:13 AM. Reason: corrected
DrChiper is offline   Reply With Quote