MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/z-index
Within the code block that shows possible global values we see the following:
/* Global values */
z-index: inherit;
z-index: initial;
z-index: unset;
Yet it seems we can also use the global revert here as well:
Syntax
/* Global values */
z-index: inherit;
z-index: initial;
+ z-index: revert;
z-index: unset;
MDN Content page report details
en-us/web/css/z-indexI can add it 馃憤
I'm not convinced that we ever added revert to any property page's global values (I think we just added it to the all page).
It would be good to start off by checking this, and if not, writing some kind of a script that could crawl through the css property pages and add it to all of them that need it.
agreed, seems like a job for a script. Then we can just keep an eye out for any that got missed. I've fixed a couple of syntax boxes that had something odd in them recently.
If we could compare a list of the pages this script caught with a list of all property pages then I could go round the ones that didn't get updated and find out why.
Most helpful comment
I'm not convinced that we ever added
revertto any property page's global values (I think we just added it to theallpage).It would be good to start off by checking this, and if not, writing some kind of a script that could crawl through the css property pages and add it to all of them that need it.