Summary: | Update IDL for IntersectionObserverEntry and IntersectionObserverEntryInit | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ali Juma <ajuma> | ||||||
Component: | Layout and Rendering | Assignee: | Ali Juma <ajuma> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bfulgham, cdumez, commit-queue, esprehn+autocc, ews-watchlist, kondapallykalyan, simon.fraser, webkit-bug-importer, zalan | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 159475 | ||||||||
Attachments: |
|
Description
Ali Juma
2018-08-09 11:03:22 PDT
Created attachment 346847 [details]
Patch
Comment on attachment 346847 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=346847&action=review > Source/WebCore/page/IntersectionObserverEntry.h:51 > + std::optional<DOMRectInit> rootBounds; > DOMRectInit boundingClientRect; > DOMRectInit intersectionRect; > + bool isIntersecting; > + double intersectionRatio; > RefPtr<Element> target; This would pack better if you put the bool at the end > Source/WebCore/page/IntersectionObserverEntry.h:77 > + bool m_isIntersecting { false }; > double m_intersectionRatio { 0 }; > RefPtr<Element> m_target; Ditto Created attachment 346851 [details]
Patch for landing
Comment on attachment 346851 [details] Patch for landing Clearing flags on attachment: 346851 Committed r234732: <https://trac.webkit.org/changeset/234732> All reviewed patches have been landed. Closing bug. |