Skip to content

SFC スタイルの機能 の文章表現を修正 #638

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

Merged
merged 2 commits into from
Dec 23, 2022

Conversation

am-ma
Copy link
Contributor

@am-ma am-ma commented Dec 23, 2022

Description of Problem

  1. 「子コンポーネントのルート要素」で文意がことなると思われる箇所がある
    • しかし、子コンポーネントのルートノードは、親スコープの CSS と子スコープの CSS の両方が影響を受けます。
    • 参照: 英語版 However, a child component's root node will be affected by both the parent's scoped CSS and the child's scoped CSS.
  2. 「スロットセレクタ」で文意がことなる・伝わりづらいと思われる箇所がある
    • デフォルトでスコープ付きスタイルは、親コンポーネントが所有しているコンテンツとみなして、<slot/> でレンダリングされたコンテンツに影響を与えません。
    • 参照:英語版 By default, scoped styles do not affect contents rendered by <slot/>, as they are considered to be owned by the parent component passing them in.

Proposed Solution

  1. 「子コンポーネントのルート要素」で文意がことなると思われる箇所
    • will be affected byに基づき、「両方影響を〜」ではなく「両方影響を〜」に修正
  2. 「スロットセレクタ」で文意がことなる・伝わりづらいと思われる箇所
    • they are considered toに基づき、「コンテンツとみなして」ではなく「コンテンツとみなされ」に修正
    • あわせて、rendered by <slot/>についても、「レンダリングされた」を「レンダリングされる」と修正。
      • ここでのrenderedは時制ではなく受け身の表現であると考えたため

Additional Information

Copy link
Member

@kazupon kazupon left a comment

Choose a reason for hiding this comment

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

ありがとうございます!

@kazupon kazupon merged commit affd0dd into vuejs-jp:lang-ja Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants