landvex: Fixar och tester klara för alla komponenter
- Datafabrik: Dockerfile fix, agentorkestrering fungerar - Vision: Identify-modell, FAISS, OCR alla testade - API: Alla 7 integrationstester passerade - Upplösare: Entitetsupplösning verifierad
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
import css from './css';
|
||||
import ownerDocument from './ownerDocument';
|
||||
|
||||
var isHTMLElement = function isHTMLElement(e) {
|
||||
return !!e && 'offsetParent' in e;
|
||||
};
|
||||
|
||||
export default function offsetParent(node) {
|
||||
var doc = ownerDocument(node);
|
||||
var parent = node && node.offsetParent;
|
||||
|
||||
while (isHTMLElement(parent) && parent.nodeName !== 'HTML' && css(parent, 'position') === 'static') {
|
||||
parent = parent.offsetParent;
|
||||
}
|
||||
|
||||
return parent || doc.documentElement;
|
||||
}
|
||||
Reference in New Issue
Block a user