This situation starts from our project which is launching not in Chrome on PC, but on Video cloud streaming service on Tv Settop operated by our customer company.
Following their explanation, the streaming service renders an application made of html/javascript web pages(called an app) which we've made and sent to them.
They said their streaming service displays the application by printing the result screens of our web application by 15 or 30 fps.
Issue: In 15 fps the app displaying are okay, but in 30 fps, the app shows something like ink-spreading when pages are replaced, newly rendered or popups are opened in the app, and they insist they should displays the app by 30 fps for launching.
Absurdly, they say "the cause is in our app because most of the html tags refer or load many(not quite, but maybe over 10 times) css properties from stylesheet. This causes the spreading issue. the number of loading css on each tag should be lower than 10."
We guess they think the algorithm of loading css is run by loading and printing(rendering) multiple level of css properties at each level for any tag.
So, Checking into their insists, I've tried making some html tags of multiple loading too much css level (1000 times).
Just like
<div class="sub1">
<div class="sub2">
......
<div class="sub1000"> Is This Text Changing at lest once?
</div>
......
</div>
.css :
.sub1 { font-size: 20px; color: blue; }
.sub2 { font-size: 50px; color: green; }
.....
.sub1000 { font-size: 100px; color: brown; }
Of course, and as all could expect, No any re-loading and spreading phenomenon is found when loading the html app.
You can check the result of my test above at https://jsfiddle.net/MaggiePhalk/ex30xb6k/7/
In this case,
1) How is css rendered for html tags when tags refer to multiple css properties caused by css-inheritance or multiple pointing of css rules?
Is the each tag rendering each of css properties for its own?
Or, Is this rendering the final css property decided by a system in css rules?
Can anyone let me know the internal algorithm?
2) If the first question is no matter in general browsers like Chrome, Does the cloud streaming service matter on this case?
Added: If is there any research or referrence related, please leave them, to prove our customer company that the css loading is not a problem. Thx.