15 Commits

Author SHA1 Message Date
Moonchild a680bdc637 Issue #1656 - Part 1: Nuke most vim config lines in the tree.
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-23 13:55:00 +00:00
wolfbeast 34d5483ac3 Map IntersectionObserver rect to the correct viewport.
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.
2019-05-15 12:45:10 +02:00
wolfbeast 1f9ab3a6e6 Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS 2019-01-18 22:43:29 +01:00
wolfbeast ef8a5dca4f Rewrite IntersectionObserver list handling to be more robust.
Tag #935.
2019-01-18 19:09:30 +01:00
wolfbeast f6ef8d8ca7 Add isIntersecting property to IntersectionObserverEntry.
Per updated spec.

This resolves the issue raised in #249.
2019-01-17 19:02:50 +01:00
wolfbeast 3cf7e874fe Fix crashiness of IntersectionObservers.
Mozilla hashtables -still- suck.
2018-12-24 01:58:16 +01:00
wolfbeast 7771a8716d [intersection-observer] Calculate areas using int64_t.
Tag #249
2018-12-22 14:59:46 +01:00
wolfbeast 85d43d68bb Fix singed/unsigned type confusion for intersection threshold.
Tag #249
2018-12-22 14:35:26 +01:00
wolfbeast fa97cddb39 Use content area as the intersection rectangle ...
... for custom root with overflow clip.
Tag #249
2018-12-22 14:34:42 +01:00
wolfbeast 6cfd7509c7 Map intersectionRect to the coordinate space of the target document.
Spec says: "Map intersectionRect to the coordinate space of the
viewport of the Document containing the target."
Tag #249
2018-12-22 14:10:14 +01:00
wolfbeast 0626e1cef0 Use targetFrame->GetRectRelativeToSelf() as the initial intersection rect.
Tag #249.
2018-12-22 07:33:31 +01:00
wolfbeast 107a68cb1d Intersection ratio should be 1.0 for zero-area intersections.
Tag #249
2018-12-22 06:30:39 +01:00
wolfbeast c9d920e9c6 Revise lifetime management of IntersectionObservers.
Tag #249
2018-12-22 02:15:50 +01:00
wolfbeast 8b71cda195 Stabilize and align Intersection Observers
- Fixes several crashes
- Aligns the feature with the W3C WD spec

Tag #249
2018-06-27 16:00:53 +02:00
Matt A. Tobin 5f8de423f1 Add m-esr52 at 52.6.0 2018-02-02 04:16:08 -05:00