Closed Bug 1875707 Opened 2 years ago Closed 2 years ago

SVG blur filter applied to inline element only blurs first line

Categories

(Core :: Graphics: WebRender, defect)

Firefox 121
defect

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox122 --- wontfix
firefox123 --- fixed
firefox124 --- fixed

People

(Reporter: tyler, Assigned: longsonr)

References

(Regression)

Details

(Keywords: nightly-community, regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0

Steps to reproduce:

The website Grouvee uses a "spoiler" tag to blur potential spoilers. The filter used is an inlined SVG feGuassianBlur filter.

In earlier versions of Firefox and current versions of Chrome and Edge, this applies to the entirety of the text. But as of Firefox 121 (possibly earlier) it only applies to the first line.

This is visible here as of this writing (may be updated soon to use a simpler blur filter): https://www.grouvee.com/user/PyramidHeadcrab/reviews/3559954/

And I've created a simplified test case here in case the above example is updated: https://codepen.io/tylersticka/pen/bGZRaOQ/7f124f41e429d555a1efd120e53ba0e9

Actual results:

Only the first line of the element has the filter applied.

Expected results:

The entire element should be blurred.

The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Graphics: WebRender
Product: Firefox → Core

:jwatt, since you are the author of the regressor, bug 1494263, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(jwatt)
Assignee: nobody → longsonr
Status: NEW → ASSIGNED
Flags: needinfo?(jwatt)
Pushed by longsonr@gmail.com: https://hg.mozilla.org/integration/autoland/rev/b68c52c56f43 Fix webrender filters when applied to continuation or split frames r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/44140 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
Upstream PR merged by moz-wptsync-bot

Comment on attachment 9375759 [details]
Bug 1875707 - Fix webrender filters when applied to continuation or split frames r=emilio

Beta/Release Uplift Approval Request

  • User impact if declined: some SVG filters on HTML content will have the wrong bounds, or perhaps not apply at all.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): small patch, code change is similar to other places.
  • String changes made/needed: none
  • Is Android affected?: Yes
Attachment #9375759 - Flags: approval-mozilla-beta?

Comment on attachment 9375759 [details]
Bug 1875707 - Fix webrender filters when applied to continuation or split frames r=emilio

Approved for 123 beta 2, thanks.

Attachment #9375759 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: