What causes the shadow around the clipped area when using the CSS blur filter in Firefox?

I'm currently working on adding a blurred effect to a specific area within an image, but I've encountered an unexpected problem in Firefox that adds a shadow around the clip path. Can anyone offer assistance?

For reference, here is the code on this Fiddle

CSS:

div {
    position:absolute;
    background:url(http://static.guim.co.uk/sys-images/Observer/Columnist/Columnists/2011/10/21/1319219972164/Oak-tree-in-field-007.jpg);
    height:276px;
    width:460px;
}
div:after {
    background:inherit;
    content:"";
    width:inherit;
    height:inherit;
    position:inherit;
    top:0px;
    left:0px;
    filter: blur(5px); 
    -webkit-filter: blur(5px); 
    -moz-filter: blur(5px);
    -o-filter: blur(5px); 
    -ms-filter: blur(5px);
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'blur\'><feGaussianBlur stdDeviation=\'5\' /></filter></svg>#blur");         filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='5');
    clip: rect(20px, 257px, 177px, 20px);
}

If you can, please test the link in both Chrome (where it looks good) and Firefox (which has the shadow problem).

Thank you.

Answer №1

From my perspective, I am not encountering any problems in Firefox or Chrome.

To me, they appear to be the same (View Larger Image):

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Background Image in a Div (HTML web development)

Before elaborating on my issue, I'd like to clarify what I'm working on. I am developing a website where users are in a simulated "elevator". Upon pressing any of the 6 elevator buttons, the doors open and display information in the blank space. ...

The hidden overflow seems to be inconsistently effective

I've been working on creating some buttons with a rollover state. I have an image inside a div with overflow:hidden to hide the inactive state, but sometimes it doesn't work properly. What's even stranger is that when I inspect the page usi ...

The integration of jQuery Masonry with margin-right for a seamless and

I have a row with two columns, where the first column has a right margin and the second one does not. I would like to use jQuery Masonry to eliminate any empty spaces. However, it seems that the margin right does not interact well with Masonry. Is there a ...

Automatically forward to next page when video finishes

On my website's landing page, I have a fullscreen video that plays. I attempted to use javascript's timeout function to automatically redirect users to another link once the video finishes playing. However, I encountered issues with inconsistency ...

Creating a visually striking layout with Bootstrap card columns masonry effect by seamlessly adjusting card heights to prevent any

When using the bootstrap card columns masonry and a user clicks on a button inside a card, the height of the card changes dynamically by adding a card-footer. However, in certain situations, the cards change position causing a jumpy effect. To see this i ...

provide a hyperlink to the icon located in front of the navigation bar

I'm struggling to come up with a suitable title for this issue. What I am trying to achieve is placing a small icon in front of the navbar so that visitors can click on it and be directed to another site. Initially, I attempted to place the icon using ...

JQuery calculator experiencing issues with data-numbers functionality| Troubleshooting allclear button functionality

Need help with AC button functionality and deleting button I am currently working on creating a calculator from scratch using Jquery. However, I am facing difficulties getting the calculate function to work. Despite my attempts at experimenting with javas ...

What is the best method for adding space between elements in flexbox layout?

I am struggling to align the child flexboxes within my parent flexbox in a single row, both vertically and horizontally centered. I want to add space between them using the gap property in CSS, but the images and embedded videos inside these child flexboxe ...

Is it necessary for background images to be loaded on mobile devices within media queries in CSS3?

Assuming the following CSS: div {background: #000} @media (min-width: 1000px) { div {background: url(myimage.jpg)} } Would a smartphone with a width of 320px download the background image? Thank you! ...

What is the process of transforming a PSD file into a responsive HTML file?

I have a PSD file with multiple images that I need to display on my responsive website. The challenge is that when the images are displayed inside the webpage, their position needs to be set to absolute in order to maintain layout integrity. However, when ...

Ways to Influence Nearby Element using CSS Hover Effects

Below is the HTML code snippet: <div id="flexi-overlay"> <a id="flexi-overlay-image-link-container" href="#" class="popup image-link"?> <img src="image.jpg" /> </a> <span id="flexi ...

How to replicate a WordPress menu bar

Embarking on my coding journey, I've completed courses in HTML, PHP, CSS, JavaScript, and MySQL. Now, I've decided to dive into hands-on learning by creating a Wordpress child theme. My current challenge is figuring out how to overlay two differ ...

establishing gradient percentages through HTML

I am looking to design div containers with a linear gradient background, each with different percentage color values. I currently have a solution that successfully creates these div containers in a loop: .box { width: 500px; height: 200px; } <!- ...

Modify CSS based on the size of the containing iframe dynamically

My website is embedded on partner sites through an iframe, but the length of my new website exceeds the space allocated in the iframes set by my partners (who have disabled scrolling). Since I am unable to adjust the settings on my partner sites, I need t ...

Use CSS to style an element that is a part of two specific classes but does not have the styling of either class

Can a single div inherit properties from multiple classes without affecting the parent classes individually? For example: div-one <div class="classA classB">Some Text</div> div-two <div class="classA"></div> div-three < ...

Achieve the effect of bringing the div and its contents to the top when hovered over, all while keeping

I have designed a popup that includes multiple boxes. I want the width of the box to expand and be visible over all content on the webpage when a user hovers over any ".deviceboxes". I tried using ".deviceboxes:hover" which worked fine for the first box in ...

The images in the Bootstrap carousel fail to align in a single line

I'm working on creating a carousel using Bootstrap, with the goal of displaying 5 images and advancing by 1 slide each time. Currently, I'm struggling with aligning the elements together properly. Here is where you can access the full code. If ...

There appears to be an unusual white line running along the right side of the page

While working on a document, I noticed an odd white line appearing in the right margin of the page. Despite setting the width to 100% or using margins to center the content, this line persists and I can't figure out why. I've read suggestions on ...

Stretching background images on iOS mobile devices

My background is causing issues on iOS devices by stretching only when there is content added to a page like this. However, it loads correctly on empty pages like this. I have tried adding background-attachment:scroll instead of background-size: cover to ...

What is the best way to crop an image to focus solely on the center portion?

Using Bootstrap 3, how can I display an image cropped in a .col-sm-6 grid column? The image is 720px wide. Typically, with the .img-responsive class, the image will resize proportionally when the display size changes. However, I want to crop the left and ...