You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to above, styles in the [=document/view transition style sheet=] add ''isolation: isolate'' to this pseudo-element
296
-
if it has both ''::view-transition-new()'' and ''::view-transition-old()'' as children.
297
-
298
-
Issue: This reads like a non-normative note, but it's normative. This rule should be specified at the same time as other styles, when the condition above can be determined.
299
-
300
-
Note: The aim of the style is to position the element to occupy the same space as its ''::view-transition-group()'' element
301
-
and provide isolation for blending.
302
-
303
-
Issue: Isolation is only necessary to get the right cross-fade between new and old image pixels.
304
-
Would it be simpler to always add it and try to optimize in the implementation?
295
+
Note: The aim of the style is to position the element to occupy the same space as its ''::view-transition-group()'' element.
Note: The aim of the style is to match the element's inline size while retaining the aspect ratio.
328
319
It is also placed at the block start.
329
320
330
-
In addition to above, styles in the [=document/view transition style sheet=] add ''mix-blend-mode: plus-lighter'' to this pseudo element
331
-
if the ancestor ''::view-transition-image-pair()'' has both ''::view-transition-new()'' and ''::view-transition-old()'' as descendants.
332
-
333
-
Issue: This reads like a non-normative note, but it's normative. This rule should be specified at the same time as other styles, when the condition above can be determined.
334
-
335
-
Note: ''mix-blend-mode: plus-lighter'' ensures that the blending of identical pixels from the old and new images results in the same color value as those pixels.
336
-
337
321
Note: Additional styles in the [=document/view transition style sheet=] added to animate these pseudo-elements are detailed in [=setup transition pseudo-elements=] and [=update pseudo-element styles=].
Note: The above code example contains variables to be replaced.
1134
+
1135
+
Note: ''mix-blend-mode: plus-lighter'' ensures that the blending of identical pixels from the old and new images results in the same color value as those pixels, and achieves a "correct" cross-fade.
1136
+
1137
+
Issue: Isolation and the dynamic setting of blending is only necessary to get the right cross-fade between new and old image pixels.
1138
+
Would it be simpler to always add it and try to optimize in the implementation?
0 commit comments