summaryrefslogtreecommitdiffstats
path: root/dom/base/DOMIntersectionObserver.cpp
Commit message (Collapse)AuthorAgeLines
* Map IntersectionObserver rect to the correct viewport.wolfbeast2019-05-15-1/+2
| | | | | | | | | targetFrame is modified during the intersection computation loop, so it's not the viewport you want if there are scrollframes around. This bug triggers when IntersectionObservers are used on frames that wrap. Follow-up for #249.
* Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTSwolfbeast2019-01-18-1/+0
|
* Rewrite IntersectionObserver list handling to be more robust.wolfbeast2019-01-18-4/+22
| | | | Tag #935.
* Add isIntersecting property to IntersectionObserverEntry.wolfbeast2019-01-17-0/+1
| | | | | | Per updated spec. This resolves the issue raised in #249.
* Fix crashiness of IntersectionObservers.wolfbeast2018-12-24-19/+20
| | | | Mozilla hashtables -still- suck.
* [intersection-observer] Calculate areas using int64_t.wolfbeast2018-12-22-4/+6
| | | | Tag #249
* Fix singed/unsigned type confusion for intersection threshold.wolfbeast2018-12-22-3/+3
| | | | Tag #249
* Use content area as the intersection rectangle ...wolfbeast2018-12-22-7/+11
| | | | | ... for custom root with overflow clip. Tag #249
* Map intersectionRect to the coordinate space of the target document.wolfbeast2018-12-22-7/+8
| | | | | | Spec says: "Map intersectionRect to the coordinate space of the viewport of the Document containing the target." Tag #249
* Use targetFrame->GetRectRelativeToSelf() as the initial intersection rect.wolfbeast2018-12-22-1/+1
| | | | Tag #249.
* Intersection ratio should be 1.0 for zero-area intersections.wolfbeast2018-12-22-1/+7
| | | | Tag #249
* Revise lifetime management of IntersectionObservers.wolfbeast2018-12-22-9/+9
| | | | Tag #249
* Stabilize and align Intersection Observerswolfbeast2018-06-27-7/+30
| | | | | | | - Fixes several crashes - Aligns the feature with the W3C WD spec Tag #249
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+471