Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Consider replacing deprecated `clip`

オープン
#1,100 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 12 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
scss
領域
frontend

調査の方向性

まず、指定された行にある assets/sass/protocol/includes/mixins/_utils.scss の視覚的に非表示にする helper から始め、次にリンク先の workflow における stylelint-config-standard-scss の失敗を確認します。リンク先の Mozilla bedrock での使用箇所を確認し、現在の clip 値についての前提を調べます。非推奨の構文への対応が完了し、lint が通過し、consumer の移行に伴う影響が文書化されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Bug :beetle:

Description

The visually-hidden helper includes an outdated syntax of clip: rect() that may need replacing with some other clipping properties or maybe updating the helper to something more current overall.

Steps to reproduce

The next stylelint-config-standard-scss major version won't like it.

😭 /actions/runs/17982808350/job/51153182926 ✂️

Expected result

https://developer.mozilla.org/en-US/docs/Web/CSS/clip

Actual result

https://github.com/mozilla/protocol/blob/81e6c70430416c3cde7c088f74c0e9fb9e1500a4/assets/sass/protocol/includes/mixins/_utils.scss#L128-L133

Environment

This might be breaking of sorts, in case a consumer applies the mixin, but then e.g. redefines or undoes the visual hiding in some cases, changing the clip value there — so there might be a migration to the newer mixin content version necessary for them.

主要言語
SCSS
スター
298
フォーク
83
平均マージ
10日 18時間
マージ済み PR(30日)
22

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mozilla/protocol のほかの issue

mozilla/protocol の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。