Skip to content

Add "outline follows border-radius" #6099

@1jj

Description

@1jj

Recently (I don't know when) at least Firefox and Chromium changed implementation of CSS outline when a border-radius is present.
Previously the outline was always rectangular.
Now the outline follows a border-radius (with or without a border set).

"outline follows border-radius" works with Chrome 94 and Firefox 94,
don't work with Chrome 77 and Firefox 68 (sorry, don't have other data)

 <div style="outline:solid red; border-radius:1em">
      this should have a red border with rounded corners
 </div>

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions