Closed Bug 1531888 Opened 6 years ago Closed 3 years ago

If clip-path IRI is missing, Firefox does not ignore it (at least for the purposes of mouse-interactions).

Categories

(Core :: SVG, defect, P2)

defect

Tracking

()

RESOLVED FIXED
104 Branch
Webcompat Priority P3
Tracking Status
firefox104 --- fixed

People

(Reporter: twisniewski, Assigned: longsonr)

References

Details

(Whiteboard: [webcompat], [wptsync upstream])

Attachments

(2 files)

Attached file test.html

According to SVG 1.1 and 2:

If the IRI reference is not valid (e.g it points to an object that doesn't exist or the object is not a ‘clipPath’ element) the ‘clip-path’ property must be treated as if it hadn't been specified.

However, as per the attached test-case, Firefox (unlike Blink, Edge, and WebKit) will ignore mouseover events on the SVG entirely if a clip-path is specified, but does not actually exist.

This is breaking important hover-effects on 24timezones.com, as reported at https://webcompat.com/issues/26639

Flags: webcompat?
Whiteboard: [webcompat]

Sounds like bug 1509394. Jonathan was working on something there which is why that bug isn't closed I think.

Flags: needinfo?(jwatt)
Priority: -- → P2
Whiteboard: [webcompat] → [webcompat][layout:triage-discuss]

Yeah, see bug 1509394 comment 12 in particular (which hints at there being something not-quite-fixed there).

Depends on: 1509394
Whiteboard: [webcompat][layout:triage-discuss] → [webcompat]

Clearing this needinfo since it's essentially a dupe of the needinfo over in bug 1509394.

Flags: needinfo?(jwatt)

Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.

Webcompat Priority: --- → ?

See bug 1547409. Migrating whiteboard priority tags to program flags.

Webcompat Priority: ? → P3
Assignee: nobody → longsonr
Status: NEW → ASSIGNED
Attachment #9285463 - Attachment description: Bug 1531888 - ignore invalid clip-path references → Bug 1531888 - ignore invalid clip-path references when hit testing
Pushed by longsonr@gmail.com: https://hg.mozilla.org/integration/autoland/rev/cf850a76ee5f ignore invalid clip-path references when hit testing r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/34847 for changes under testing/web-platform/tests
Whiteboard: [webcompat] → [webcompat], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
Upstream PR merged by moz-wptsync-bot
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: