Skip to content

Border-radius don't crop background-image #19802

Closed

Description

@ocerman

servo-br

<!DOCTYPE html>
<html>
	<head>
		<style>
			.img{
				width: 200px;
				height: 200px;
				border-radius: 50%;
				background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/2/29/Hrad%C4%8Dansk%C3%A1%2C_Tatra_T3.jpg/320px-Hrad%C4%8Dansk%C3%A1%2C_Tatra_T3.jpg');
				border: 5px solid red;
			}
		</style>
	</head>
	<body>
		<div class="img"></div>
	</body>
</html>

Activity

  1. added
    C-has-manual-testcase
    on Jan 18, 2018
  2. pyfisch commented on Jan 19, 2018

    @pyfisch
    Contributor

    This is an instance of #19649.

  3. added a commit that references this issue on Mar 24, 2018
  4. added a commit that references this issue on Mar 25, 2018
  5. added 5 commits that reference this issue on Apr 25, 2018
    54d0ec0
    203ef38
    1546cfe
    7f1311d
    0ff6f32
  6. added a commit that references this issue on Jun 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-layout/uncategorizedC-has-manual-testcase

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions