Skip to content

Conversation

@webcrawls
Copy link
Contributor

@webcrawls webcrawls commented Mar 25, 2024

Description:

This PR updates the Border Image Generator tool, fixing a bug where the CSS code output is not updated when the fill checkbox is toggled.

Motivation:

Before this PR, the "CSS Code" section of the tool would not update the border-image-slice property when the fill value is toggled. This can lead to an inconsistency between given inputs and the resulting outputs. This PR fixes that by calling setOutputCSS inside the setBorderFill function, bringing it in-line with the behaviour of the setBorderSlice function.

Additional details:

  • Can't think of any extra information, this PR is a single-line change so there shouldn't be many issues.

Related issues and pull requests:

@webcrawls webcrawls requested a review from a team as a code owner March 25, 2024 00:40
@webcrawls webcrawls requested review from pepelsbey and removed request for a team March 25, 2024 00:40
Copy link
Member

@pepelsbey pepelsbey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Thank you :)

@pepelsbey pepelsbey merged commit 984cb14 into mdn:main May 8, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants