Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-moz-force-broken-image-icon: alt text on height OR width set #37261

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SVNKoch
Copy link

@SVNKoch SVNKoch commented Dec 18, 2024

before: if height and width is set
after: if height or width is set

Description

moz-force-broken-image-icon specified, that alt text will nto be shown if height and width is set. Changed it to an or.
And reworded sentence to make it simpler to read; converted alt to alt.

Motivation

without any height or width => no alt text:
grafik
with both height and width => alt text:
grafik

from the original description, the following either or cases, shouldn't display alt text, but they do:
grafik
grafik

Additional details

Related issues and pull requests

@SVNKoch SVNKoch requested a review from a team as a code owner December 18, 2024 13:31
@SVNKoch SVNKoch requested review from estelle and removed request for a team December 18, 2024 13:31
@github-actions github-actions bot added Content:CSS Cascading Style Sheets docs size/xs [PR only] 0-5 LoC changed labels Dec 18, 2024
before: if height and width is set
after: if height or width is set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:CSS Cascading Style Sheets docs size/xs [PR only] 0-5 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant