Question:
Which part of the official CSS spec (from csswg.org or w3.org) describes the behavior when a space is inserted at the beginning of innerHTML?
In the following experiment, Chrome produces a different result from JsFiddle. Who is correct?
Results in Chrome/Firefox/Edge:
Results in JsFiddle/CodePen:
https://jsfiddle.net/emmaJsFiddle/g6qjy8fd/11/
Appendix 2: Source Code:
<html>
<head>
<style>
section { height: 120px; background: gray; width: 100px; font-size: 100px;}
div { display: inline-block; }
.a { background: red ; height: 50px; width: 20px}
.b { background: cyan; height: 50px; width: 20px}
</style>
</head>
<body>
<section> <div class="a"></div><div class="b"></div></section>
</body>
</html>