Skip to content

Tidy up IntersectionObserverRootMargin #35907

@stevennovaryo

Description

@stevennovaryo

Since rebased Stylo includes Bug 1946679 - IntersectionObserverRootMargin that exposes IntersectionObserverRootMargin to Servo. We would like to refer to upstream implementation instead of having a copy of our own. Possibly wrapping it and moving some utility functions there as well.

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
//! Copy of Stylo Gecko's [`style::values::specified::gecko::IntersectionObserverRootMargin`] implementation.
//! TODO: expose the object to servo as well in Stylo

Metadata

Metadata

Assignees

Labels

A-content/domInteracting with the DOM from web contentE-less-complexStraightforward. Recommended for a new contributor.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions