-
Notifications
You must be signed in to change notification settings - Fork 300
Open
Labels
Description
When rendering nested classes, the fast renderer determines which style takes precedence in a non-deterministic manner.
Eg.
xcode.css has the following definitions (simplified here for the sake of brevity):
.hljs-title {
color: blue;
}
.hljs-class .hljs-title {
color: purple;
}The following JS snippet
class Foois converted to
<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Foo</span></span>In the aforementioned snippet, Foo should turn purple, however in reality the renderer randomly picks between blue and purple, and the color it picks varies between app launches.
Reactions are currently unavailable