diff --git a/demos/popover-css-anchor-positioning-1/index.html b/demos/popover-css-anchor-positioning-1/index.html index b24a34d..2943718 100644 --- a/demos/popover-css-anchor-positioning-1/index.html +++ b/demos/popover-css-anchor-positioning-1/index.html @@ -48,7 +48,7 @@ border-radius: 6px; padding: 10px 7px; position-anchor: --anchor-el; - inset-area: top; + position-area: top; width: max-content; } diff --git a/demos/popover-css-anchor-positioning-2/index.html b/demos/popover-css-anchor-positioning-2/index.html index 6f35c48..8fe5b4f 100644 --- a/demos/popover-css-anchor-positioning-2/index.html +++ b/demos/popover-css-anchor-positioning-2/index.html @@ -48,14 +48,14 @@ border-radius: 6px; padding: 10px 7px; position-anchor: --anchor-el; - inset-area: top; + position-area: top; position-try-fallbacks: --bottom; width: max-content; } @position-try --bottom { - inset-area: bottom; + position-area: bottom; }
diff --git a/demos/popover-css-anchor-positioning-3/index.html b/demos/popover-css-anchor-positioning-3/index.html index acf6174..a374e9c 100644 --- a/demos/popover-css-anchor-positioning-3/index.html +++ b/demos/popover-css-anchor-positioning-3/index.html @@ -48,7 +48,7 @@ border-radius: 6px; padding: 10px 7px; position-anchor: --anchor-el; - inset-area: top; + position-area: top; position-try-fallbacks: --bottom; width: max-content; @@ -78,7 +78,7 @@ } @position-try --bottom { - inset-area: bottom; + position-area: bottom; }
diff --git a/demos/popover-css-anchor-positioning-4/index.html b/demos/popover-css-anchor-positioning-4/index.html index 431968a..910a82e 100644 --- a/demos/popover-css-anchor-positioning-4/index.html +++ b/demos/popover-css-anchor-positioning-4/index.html @@ -48,7 +48,7 @@ border-radius: 6px; padding: 10px 7px; position-anchor: --anchor-el; - inset-area: top; + position-area: top; position-try-fallbacks: --bottom; background: hsl(0, 0%, 0%); @@ -99,7 +99,7 @@ } @position-try --bottom { - inset-area: bottom; + position-area: bottom; }
diff --git a/demos/popover-css-anchor-positioning-5/index.html b/demos/popover-css-anchor-positioning-5/index.html index 6a903d7..a6142c9 100644 --- a/demos/popover-css-anchor-positioning-5/index.html +++ b/demos/popover-css-anchor-positioning-5/index.html @@ -48,7 +48,7 @@ border-radius: 6px; padding: 10px 7px; position-anchor: --anchor-el; - inset-area: top; + position-area: top; position-try-fallbacks: --bottom, --left, --right; @@ -136,15 +136,15 @@ } @position-try --bottom { - inset-area: bottom; + position-area: bottom; } @position-try --left { - inset-area: left; + position-area: left; } @position-try --right { - inset-area: right; + position-area: right; }
diff --git a/index.html b/index.html index de610b7..0c3edbd 100644 --- a/index.html +++ b/index.html @@ -3581,9 +3581,9 @@

CSS Anchor Positioning

/* более простой способ записи для стандартных положений */ - inset-area: top; + position-area: top; /* или так */ - inset-area: block-start; + position-area: block-start; } @@ -3606,9 +3606,9 @@

CSS Anchor Positioning

justify-self: anchor-center; /* физическое значение */ - inset-area: top; + position-area: top; /* логическое значение */ - inset-area: block-start; + position-area: block-start; } @@ -3634,12 +3634,12 @@

CSS Anchor Positioning

             
             [popover] {
-                inset-area: top;
+                position-area: top;
                 position-try-fallbacks: --bottom;
             }
     
             @position-try --bottom {
-                inset-area: bottom;
+                position-area: bottom;
             }
             
         
@@ -3647,12 +3647,12 @@

CSS Anchor Positioning

            
             [popover] {
-                inset-area: top;
+                position-area: top;
                 position-try-fallbacks: --bottom;
             }
     
             @position-try --bottom {
-                inset-area: bottom;
+                position-area: bottom;
             }
             
         
@@ -3661,12 +3661,12 @@

CSS Anchor Positioning

            
             [popover] {
-                inset-area: top;
+                position-area: top;
                 position-try-fallbacks: --bottom;
             }
     
             @position-try --bottom {
-                inset-area: bottom;
+                position-area: bottom;
             }
             
         
@@ -3675,12 +3675,12 @@

CSS Anchor Positioning

            
             [popover] {
-                inset-area: top;
+                position-area: top;
                 position-try-fallbacks: --bottom;
             }
     
             @position-try --bottom {
-                inset-area: bottom;
+                position-area: bottom;
             }
             
         
@@ -3689,12 +3689,12 @@

CSS Anchor Positioning

            
             [popover] {
-                inset-area: top;
+                position-area: top;
                 position-try-fallbacks: --bottom;
             }
     
             @position-try --bottom {
-                inset-area: bottom;
+                position-area: bottom;
             }
             
         
diff --git a/lib/highlight/highlight.js b/lib/highlight/highlight.js index c125490..7b9d632 100644 --- a/lib/highlight/highlight.js +++ b/lib/highlight/highlight.js @@ -3109,7 +3109,7 @@ if (typeof exports === 'object' && typeof module !== 'undefined') { module.expor 'ime-mode', 'inline-size', 'inset', - 'inset-area', + 'position-area', 'inset-block', 'inset-block-end', 'inset-block-start',