Skip to content

Updated typed arithmetic demo support notes - #400

Merged
dipikabh merged 2 commits into
mdn:mainfrom
chrisdavidmills:update-typed-arithmetic-demo-support-notes
Oct 19, 2026
Merged

dipikabh merged 2 commits into
mdn:mainfrom
chrisdavidmills:update-typed-arithmetic-demo-support-notes

Conversation

@chrisdavidmills

Copy link
Copy Markdown
Contributor

Firefox 158 adds support for typed arithmetic; see https://bugzilla.mozilla.org/show_bug.cgi?id=2067411.

This PR updates the typed arithmetic demo support notes to include correct information on Firefox support.

@dipikabh dipikabh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks, Chris.

While these updates look fine, our guidance at https://github.com/mdn/dom-examples#browser-support says we should avoid specifying browser versions in code comments or prose.

Is it possible to replace the version info with a feature-detection message, or in the interim, replace the version info with a link to calc()'s BCD table?

@chrisdavidmills

Copy link
Copy Markdown
Contributor Author

Thanks, Chris.

While these updates look fine, our guidance at https://github.com/mdn/dom-examples#browser-support says we should avoid specifying browser versions in code comments or prose.

Is it possible to replace the version info with a feature-detection message, or in the interim, replace the version info with a link to calc()'s BCD table?

Good call, @dipikabh. These were written a little while ago, before we standardized on these support banners. I've replaced the support versions language in each case with @supports banners.

I also fixed a broken link.

<li>
<a
href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Values_and_Units/Using_typed_arithmetic"
href="https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Values_and_units/Using_typed_arithmetic"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thanks!

@dipikabh dipikabh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I checked in Fx158 - much better now. Thanks a lot!

@dipikabh
dipikabh merged commit 5b2e947 into mdn:main Oct 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants