First style does not work

Hey,

I've come across an interesting bug on Ignition version 8.1.47.

Worth noting: I tried to replicate this on another 8.1.47 server but was unable to. I also tried restarting the server but to no avail.

After a lot of testing to figure out why my perspective style class (not is stylesheet.css) doesn't work, I figured out that the first class from top to bottom does work properly, like the style is not applied. I checked the DOM in the browser and found the style class is applied to the div:

<div data-component="ia.display.label" data-component-path="C$0:1.0:1" class="psc-factory_floor/a/dummy_style ia_labelComponent" style="display: flex; flex-direction: column; justify-content: center; position: absolute; left: 45.93%; top: 28.57%; width: 2.6%; height: 4.57%;"><span>Label</span></div>

Running the following in the console returned an empty list:

[...document.styleSheets]
.flatMap(s => {
try {
return [...s.cssRules];
} catch {
return 
;
}
})
.filter(r => r.cssText && r.cssText.includes("dummy_style"))
.map(r => r.cssText)


This all leaves me to believe I've found some weird bug with styles...

I tried looking up if this was solved in a later version but couldn't find anything.

My current workaround is to have a sacreficial style at 'a/dummy_style' but I guess that's less than ideal.

Any insight would be helpful.