CSS Triggers
csstriggers.com
csstriggers.com
Here's my take after some quick hacking: https://i.imgur.com/w4AkvQb.png
I've never been a fan of traffic light style visualizations, which show a shape even when there's no value. The empty tic-tacs in the original do this, and prevents any advantage in parsing the vis you'd get from cognitive dissonance of the shapes. Not showing a shape when there's no data is the correct solution.
Quick experiment - changing border-size, border-radius, and intensity. Basically things get darker and more filled in the higher the level of consequence. Would this fly for the vision impaired?
This has been fun!
- This is a google chrome project
- Hasn't been updated in 2 years [gecko ~1 year] (which is a LOOONG way ago in browsers time)
https://github.com/GoogleChrome/css-triggers/tree/master/dat...
> Please note: this is not a Google product
A lot of the projects bearing that disclaimer are passion projects done 100% outside of work hours.
TL;DR rendering performance
There is not absolute rule stating that layout and painting must be slow while compositing is not. In fact Mozillians are currently working on a new rendering pipeline[1] based on state of the art rendering tools[2]. This new pipeline should be deployed in firefox in 2018 as a part of the ongoing Quantum project.
(and I say this as a WebRender enthusiast)
One note - the color scheme/presentation on the bars is kind of confusing (what do white bars mean vs. faded out bars ? I'm assuming one is no results and the other is not triggered ?)
A few sentences on top explaining what one is looking at and what it means would be a good idea.
An example: adjusting the width of an object will understandably cause the browser to relayout the page in every browser. But what if you just wanted an animated bounce effect? You could animate the width of the object, but in practice a scale transform would perform much better in most browsers as it typically doesn’t trigger a relayout.
So this page just gives you information about which phases are triggered by which properties in which rendering engines.
Overall you'll learn everything will trigger everything.