File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -316,22 +316,16 @@ in ''anchor()'' and ''anchor-size()''.
316316<div class=example>
317317 For example, in the following code
318318 both ''.foo'' and ''.bar'' elements
319- can use the same positioning properties and fallback ,
319+ can use the same positioning properties,
320320 just changing the anchor element they're referring to:
321321
322322 <pre highlight=css>
323323 .anchored {
324324 position: absolute;
325- position-fallback: --under-then-over;
326- }
327-
328- @position-fallback --under-then-over {
329- @try {
330- // No <anchor-element> specified,
331- // so it takes from 'anchor-default' .
332- top: calc(.5em + anchor(outside));
333- bottom: auto;
334- }
325+ top: calc(.5em + anchor(outside));
326+ /* Since no anchor name was specified,
327+ this automatically refers to the
328+ default anchor element. */
335329 }
336330
337331 .foo.anchored {
You can’t perform that action at this time.
0 commit comments