minor fixes
This commit is contained in:
parent
2eb4251ce9
commit
28112112bf
1 changed files with 1 additions and 1 deletions
|
|
@ -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 affect the target element box as a whole (rotate, flip, stretch, shift it).
|
||||||
- CSS transforms never affect neighbour elements.
|
- 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.
|
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.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue