From b13b4d0024e85c1d9e9394d27d8b3d538e6ccb4f Mon Sep 17 00:00:00 2001
From: Joey Arhar If localName is not Let fireEvents be false if value is null, otherwise true. If oldValue and value are in different states, then run the hide popover algorithm given
- element, true, true, and false.popover
, then
return.
If the result of running check popover validity given element, - true, throwExceptions, and null is false, then return.
If fireEvents is true:
+ +If the result of running check popover validity given element, + true, throwExceptions, and null is false, then return.
Otherwise, if element's popover visibility state is hidden, then return.
Let document be element's node document.
If the result of running check popover validity given element, - true, and throwExceptions is false, then run cleanupHidingFlag and - return.
+If fireEvents is true:
-Check popover validity is called again because running hide all popovers until could have disconnected
- element or changed its popover
attribute.
If the result of running check popover validity given element, + true, and throwExceptions is false, then run cleanupHidingFlag and + return.
+ +Check popover validity is called again because running hide all popovers until could have disconnected
+ element or changed its popover
attribute.
Otherwise, if element's popover visibility state is hidden, then return.
If the last item in document's auto popover list is element, then break.