minor fixes

This commit is contained in:
Ilya Kantor 2021-06-24 23:01:26 +03:00
parent 2eb4251ce9
commit 28112112bf

View file

@ -431,7 +431,7 @@ The `transform` property is a notable exception:
- CSS transforms affect the target element box as a whole (rotate, flip, stretch, shift it).
- CSS transforms never affect neighbour elements.
So browsers apply `transform` "on top" of existing Layout and Paint calculations, in the Composite stage.
...So browsers apply `transform` "on top" of existing Layout and Paint calculations, in the Composite stage.
In other words, the browser calculates the Layout (sizes, positions), paints it with colors, backgrounds, etc at the Paint stage, and then applies `transform` to element boxes that need it.