@@ -507,9 +507,9 @@ might not be capable of anchoring the positioned element.
507507An element can also have an <dfn export>implicit anchor element</dfn> ,
508508used when an [=anchor function=] doesn't specify an explicit [=anchor name=] .
509509
510- Note: The Popup API, for example,
511- defines an [=implicit anchor element=] for a popup --
512- the element that the popup is attached to.
510+ Note: The Popover API, for example,
511+ defines an [=implicit anchor element=] for a popover --
512+ the element that the popover is attached to.
513513
514514Note: An element can have only one implicit anchor element.
515515If we end up with multiple features defining
@@ -696,7 +696,7 @@ In any case, not worth the cost in spec or impl.
696696Issue: This implies that the values can't be transitioned in the usual fashion,
697697since transitions key off of computed values
698698and we're past that point.
699- However, popups sliding between positions is a common effect in UI libs.
699+ However, popovers sliding between positions is a common effect in UI libs.
700700Probably should introduce a <css> smooth</css> keyword
701701to 'position-fallback'
702702to trigger automatic "animation" of the fallback'd properties.
@@ -755,48 +755,48 @@ This limit must be <em>at least</em> five.
755755
756756<div class=example>
757757 For example,
758- the following CSS will first attempt to position a "popup "
758+ the following CSS will first attempt to position a "popover "
759759 below the [=element=] ,
760760 but if it doesn't fit on-screen will switch to being above;
761761 it defaults to left-aligning,
762762 but will switch to right-aligning if that doesn't fit.
763763
764764 <pre highlight=css>
765- #myPopup {
765+ #myPopover {
766766 position: fixed;
767- position-fallback: --button-popup ;
767+ position-fallback: --button-popover ;
768768 overflow: auto;
769769
770- /* The popup is at least as wide as the button */
770+ /* The popover is at least as wide as the button */
771771 min-width: anchor-size(--button width);
772772
773- /* The popup is at least as tall as 2 menu items */
773+ /* The popover is at least as tall as 2 menu items */
774774 min-height: 6em;
775775 }
776776
777- @position-fallback --button-popup {
778- /* First try to align the top, left edge of the popup
777+ @position-fallback --button-popover {
778+ /* First try to align the top, left edge of the popover
779779 with the bottom, left edge of the button. */
780780 @try {
781781 top: anchor(--button bottom);
782782 left: anchor(--button left);
783783 }
784784
785- /* Next try to align the bottom, left edge of the popup
785+ /* Next try to align the bottom, left edge of the popover
786786 with the top, left edge of the button. */
787787 @try {
788788 bottom: anchor(--button top);
789789 left: anchor(--button left);
790790 }
791791
792- /* Next try to align the top, right edge of the popup
792+ /* Next try to align the top, right edge of the popover
793793 with the bottom, right edge of the button. */
794794 @try {
795795 top: anchor(--button bottom);
796796 right: anchor(--button right);
797797 }
798798
799- /* Finally, try to align the bottom, right edge of the popup
799+ /* Finally, try to align the bottom, right edge of the popover
800800 with the top, right edge of the button. Other positions are possible,
801801 but this is the final option the author would like the rendering
802802 engine to try. */
0 commit comments