[go: up one dir, main page]

Page MenuHomePhabricator

Bug 1815540 - Make SVG geometry independent of pointer-events. r=longsonr,#firefox-svg-reviewers
ClosedPublic

Authored by emilio on Mon, Sep 21, 10:30 PM.
Referenced Files
Unknown Object (File)
Tue, Oct 6, 2:31 PM
Unknown Object (File)
Tue, Oct 6, 2:31 PM
Unknown Object (File)
Tue, Oct 6, 7:09 AM
Unknown Object (File)
Tue, Oct 6, 5:51 AM
Unknown Object (File)
Tue, Oct 6, 5:50 AM
Unknown Object (File)
Mon, Oct 5, 10:28 PM
Unknown Object (File)
Mon, Oct 5, 10:28 PM
Unknown Object (File)
Mon, Oct 5, 7:02 PM
Subscribers

Details

Summary

Track the stroke width as part of ink overflow if needed, to make sure
we do the hit-testing right without affecting mRect.

Port dom/svg/test/test_pointer-events-1*.xhtml to WPT so that it has
some coverage.

Diff Detail

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.
longsonr added inline comments.
layout/svg/SVGGeometryFrame.cpp
279

I think you need to call

SVGContextPaint* contextPaint =
    SVGContextPaint::GetContextPaint(GetContent());

here and pass that to GetStrokeWidth as the second argument.

This revision is now accepted and ready to land.Tue, Sep 22, 8:18 AM