Skip to content

Hidden (yet non-occluded) images should get fetchpriority=low #1587

@westonruter

Description

@westonruter

This is split off from #1309. See specifically #1309 (comment).

After #1482 there are the following scenario exists where fetchpriority=low can still be added:

  • If an element has a non-zero intersectionRatio and the element has a computed style of visibility:hidden or opacity:0, then it should get fetchpriority=low.

See the comment for discussion about what to do about images with a computed style of display:none.

This likely depends on #1892.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Plugin] Image PrioritizerIssues for the Image Prioritizer plugin (dependent on Optimization Detective)[Plugin] Optimization DetectiveIssues for the Optimization Detective plugin[Type] EnhancementA suggestion for improvement of an existing feature
    No fields configured for Enhancement.

    Projects

    Status

    Definition ✏️

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions