Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibWeb: Change NOTE: to Spec Note: #3246

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Libraries/LibWeb/DOM/Element.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2634,7 +2634,7 @@ void Element::determine_proximity_to_the_viewport()
// containment box's overflow clip edge intersects with the viewport, or a user-agent defined margin around the
// viewport.
auto viewport_rect = document().viewport_rect();
// NOTE: This margin is meant to allow the user agent to begin preparing for an element to be in the
// Spec Note: This margin is meant to allow the user agent to begin preparing for an element to be in the
// viewport soon. A margin of 50% is suggested as a reasonable default.
viewport_rect.inflate(viewport_rect.width(), viewport_rect.height());
// FIXME: We don't have paint containment or the overflow clip edge yet, so this is just using the absolute rect for now.
Expand Down
Loading