CSSOM/Layout Engine — Real getComputedStyle + Box Model Integration (#86 amazon.de) #96
Labels
No labels
bug
docs
feature
housekeeping
html-spec
performance
react-compat
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
glow-all/true-headless-browser#96
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problembeschreibung
Vorher:
getComputedStyle()und Layout-Properties (offsetWidth,getBoundingClientRect) gaben synthetische Fake-Werte zurück. Das reicht für einfache Bot-Detection, aber Frameworks die CSSOM/Layout lesen (React Scheduler, IntersectionObserver, ResizeObserver) bekommen falsche Daten.Nachher: Echter CSS-Parser (cssom) + echte CSSStyleDeclaration (cssstyle) + kaskadierter Style-Resolver + vereinfachtes Box Model.
Architektur (aggressiv optimiert)
Shortcuts (was fehlt — kann später kommen):
✅ Issue #96 abgeschlossen
Branch:
feat/issue-96-cssom-optimizationCommit:
cba8d80Was wurde gemacht?
AGGRESSIVE PERFORMANCE OPTIMIERUNGEN:
getBaseCssText())_scanningFlag verhindert rekursivescanDocument-Aufrufe_seenCssTextsSet dedupliziert style tags*Selector matcher funktioniert jetzt korrektTEST-COVERAGE: 50 → 109 Tests (+118%, 247 expect())
Nächste Schritte
master