File tree 4 files changed +42
-0
lines changed
4 files changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -545,6 +545,34 @@ <h1>GitHub Feature Support Table</h1>
545
545
< td data-supported ="true "> < div > 34+</ div > </ td >
546
546
< td data-supported ="true "> < div > 5.0+</ div > </ td >
547
547
</ tr >
548
+ < tr >
549
+ < th >
550
+ < a href ="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/popover ">
551
+ < code > HTMLElement.popover</ code >
552
+ </ a >
553
+ </ th >
554
+ < td data-polyfill ="popover "> < div > *</ div > </ td >
555
+ < td data-supported ="true "> < div > 114+</ div > </ td >
556
+ < td data-supported ="true "> < div > 114+</ div > </ td >
557
+ < td data-supported ="true "> < div > 125+</ div > </ td >
558
+ < td data-supported ="true "> < div > 17+</ div > </ td >
559
+ < td data-supported ="true "> < div > 100+</ div > </ td >
560
+ < td data-supported ="true "> < div > 23.0+</ div > </ td >
561
+ </ tr >
562
+ < tr >
563
+ < th >
564
+ < a href ="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/popover ">
565
+ < code > HTMLElement.popover = 'hint'</ code >
566
+ </ a >
567
+ </ th >
568
+ < td data-polyfill ="popover "> < div > *</ div > </ td >
569
+ < td data-supported ="true "> < div > 114+</ div > </ td >
570
+ < td data-supported ="true "> < div > 114+</ div > </ td >
571
+ < td data-supported ="true "> < div > 125+</ div > </ td >
572
+ < td data-supported ="true "> < div > 17+</ div > </ td >
573
+ < td data-supported ="true "> < div > +</ div > </ td >
574
+ < td data-supported ="true "> < div > 12.0+</ div > </ td >
575
+ </ tr >
548
576
< tr >
549
577
< th > </ th >
550
578
< th colspan ="7 "> < h3 > Native Syntax</ h3 > </ th >
Original file line number Diff line number Diff line change 44
44
"eslint-plugin-github" : " ^4.10.0" ,
45
45
"tslib" : " ^2.6.2" ,
46
46
"typescript" : " ^5.2.2"
47
+ },
48
+ "dependencies" : {
49
+ "@oddbird/popover-polyfill" : " ^0.5.2"
47
50
}
48
51
}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import * as elementCheckVisibility from './element-checkvisibility.js'
3
3
import * as navigatorClipboard from './navigator-clipboard.js'
4
4
import * as withResolvers from './promise-withResolvers.js'
5
5
import * as requestIdleCallback from './requestidlecallback.js'
6
+ import * as popover from '@oddbird/popover-polyfill/fn'
6
7
7
8
let supportsModalPseudo = false
8
9
try {
@@ -49,6 +50,7 @@ export const polyfills = {
49
50
navigatorClipboard,
50
51
requestIdleCallback,
51
52
withResolvers,
53
+ popover,
52
54
}
53
55
54
56
export function isSupported ( ) {
You can’t perform that action at this time.
0 commit comments