Commit Graph

15 Commits

Author SHA1 Message Date
roytam1 6c75717112 import from UXP: Issue #2456 - Intersection Observer - Accept a Document as an explicit root. https://bugzilla.mozilla.org/show_bug.cgi?id=1617154 (f44db6a2) 2024-01-18 10:45:13 +08:00
roytam1 23f908b7b7 import from UXP: Issue #1885 - Follow-up: Update error message if invalid rootMargin specified. (4dace76a) 2022-05-06 23:33:21 +08:00
roytam1 5b91cb9e4f ported from UXP: Issue #1885 - Allow unitless rootMargin entries for IntersectionObserver. (7c930472) 2022-05-06 23:32:50 +08:00
roytam1 748fdc3bd4 import from UXP: Issue #249 - Map IntersectionObserver rect to the correct viewport. (78b6f639) 2022-04-03 14:29:46 +08:00
roytam1 b1d6015ff2 ported from UXP: Issue #935 - Rewrite IntersectionObserver list handling to be more robust. (dc2cf854) 2022-03-29 16:54:33 +08:00
roytam1 0b317fae1d import from UXP: Issue #249 - Add isIntersecting property to IntersectionObserverEntry. (9222116f) 2022-03-29 16:44:47 +08:00
roytam1 77cb15fd71 import from UXP: Issue #249 - Fix crashiness of IntersectionObservers. (304984a6) 2022-03-29 16:29:25 +08:00
roytam1 c76d08a737 import from UXP: Issue #249 - [intersection-observer] Calculate areas using int64_t. (d76f9495) 2022-03-29 16:09:41 +08:00
roytam1 60bdc8a266 import from UXP: Issue #249 - Fix singed/unsigned type confusion for intersection threshold. (f82da789) 2022-03-29 16:08:58 +08:00
roytam1 b42d565e42 import from UXP: Issue #249 - Use content area as the intersection rectangle ... for custom root with overflow clip. (d3a8693d) 2022-03-29 16:08:07 +08:00
roytam1 b6c18f92e7 import from UXP: Issue #249 - Map intersectionRect to the coordinate space of the target document. (475d865c) 2022-03-29 16:07:07 +08:00
roytam1 562ff3626a import from UXP: Issue #249 - Use targetFrame->GetRectRelativeToSelf() as the initial intersection rect. (52f04699) 2022-03-29 16:06:22 +08:00
roytam1 a93d2a75bf import from UXP: Issue #249 - Intersection ratio should be 1.0 for zero-area intersections. (47f52cee) 2022-03-29 16:05:35 +08:00
roytam1 ca17f28577 import from UXP: Issue #249 - Stabilize and align Intersection Observers (5af41078) 2022-03-25 15:46:36 +08:00
roytam1 89ff1ebc22 Initial import from https://github.com/MoonchildProductions/moebius/commit/16fa730b3332a750e047aac26ebe65ea8c513849 2018-03-03 17:47:54 +08:00