Not really an answer, but some grist for your mill.
Text justification style (text-justify) in web browsers is erratic. To find the details, you need to look at the code. As of January 2020 my Chrome browser doesn't seem to implement any but auto using the 'play' feature at https://www.w3schools.com/cssref/css3_pr_text-justify.asp
If you want to check spacing, try superimposing a 1 em grid on a text sample. Standard word spacing is 1/3 em. Knuth's algolrithm tries for 2/9 to 1/2 em. Computer screens are harder to read, and you aren't paying for paper. Even ragged right text is set wider than 1/3 em. At a guess checking a few pages, it seems to be 1/2 em
Good justification uses both inter-character and inter-word spacing.(Note: Knuth avoids inter-character spacing) The algorithms to do it well aren't trivial. In the bad old days when a '486 was a fast processor, and desktop publishing (NOT MS word...) was coming into it's own, reflowing a large block of text when you made a change at the beginning was reason to go for coffee. Word, for years, just added extra whole spaces. I'm not a word user now, so can't say if they have upped their game.
My personal experience: Screen text with 25% leading (12pt on 15, 16 on 20) in a serif font, with a minimum line length of 35 characters, and auto-hyphenation looks tolerable, and MUCH better than ragged right.
Further reading:
https://onlinelibrary.wiley.com/doi/abs/10.1002/spe.4380111102 -- abstact only unless you pay. Donald E. Knuth and Michael F. Plass, Software - Practice and Experience 11 (1981) 1119-1184 DOI: 10.1002/spe.4380111102, also available in Digital Typography, Ch. 3, pp. 67–155. Try your local University library.
Donald E. Knuth and Michael F. Plass, Software - Practice and Experience 11 (1981) 1119-1184 DOI: 10.1002/spe.4380111102, also available in Digital Typography, Ch. 3, pp. 67–155.
See this too: http://defoe.sourceforge.net/folio/knuth-plass.html