Closed Bug 1800969 Opened 3 years ago Closed 3 years ago

Consider aliasing -webkit-clip-path to clip-path

Categories

(Core :: Layout, defect, P1)

defect

Tracking

()

RESOLVED FIXED
109 Branch
Webcompat Priority P2
Tracking Status
firefox109 --- fixed

People

(Reporter: twisniewski, Assigned: twisniewski, Mentored)

References

()

Details

(Keywords: good-first-bug)

Attachments

(1 file)

It seems there are sites out there which never added the standard clip-path CSS property, and just have -webkit-clip-path. For instance, fr.techtribune.net uses clip paths to create the illusion that page ads "roll under" their page content as the user scrolls down the page, but since they do not have the unprefixed variant, the ads are always on top, completely breaking their page.

As such it seems like it's worth supporting that prefix as a basic alias, since I don't recall -webkit-clip-path having any quirky behavior, and I don't recall us having any major interop issues left with clip-path support which should leave us in a worse position if we alias the prefixed version.

Adding extra_prefixes="webkit", here plus a test should be enough.

Mentor: emilio
Keywords: good-first-bug
Severity: -- → S3
Priority: -- → P1
Summary: Consider aliasing clip-path to -webkit-clip-path → Consider aliasing -webkit-clip-path to clip-path
Webcompat Priority: ? → P2
Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
Pushed by twisniewski@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b893eee8c864 Alias -webkit-clip-path to clip-path for webcompat; r=emilio

Ah, I didn't remember that devtools test. I'm not seeing any other failures in that try run, so I'll push again with that test fixed.

Flags: needinfo?(twisniewski)
Pushed by twisniewski@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/864c533448d8 Alias -webkit-clip-path to clip-path for webcompat; r=emilio
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: