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

Add description guidelines for default styles #1403

Merged
merged 6 commits into from
Jul 31, 2024

Conversation

ddbeck
Copy link
Collaborator

@ddbeck ddbeck commented Jul 16, 2024

Inspired by #1381 and #1379, this would bless a specific way to talk about default styles, when common and relevant.

@ddbeck ddbeck requested review from foolip and captainbrosset and removed request for foolip July 16, 2024 14:06
docs/README.md Outdated
@@ -192,6 +192,17 @@ Avoid.
See [sets](#sets).
([#727](https://github.com/web-platform-dx/web-features/pull/727#discussion_r1537635491))

##### typically styled as … by default

Use this phrase (or a closely similarly one like "typically styled in") to note unspecified but conventional browser default styling.
Copy link
Collaborator

Choose a reason for hiding this comment

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

The default styling is actually specified in detail and quite interoperable. For <small>, it's here:

https://html.spec.whatwg.org/multipage/rendering.html#phrasing-content-3

I think I'd prefer us to say just "by default" for these cases.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh fascinating! That's worth amending over. Changes forthcoming

@github-actions github-actions bot added the feature definition Creating or defining new features or groups of features. label Jul 22, 2024
@ddbeck ddbeck requested a review from foolip July 22, 2024 14:31
docs/README.md Outdated
@@ -192,6 +192,17 @@ Avoid.
See [sets](#sets).
([#727](https://github.com/web-platform-dx/web-features/pull/727#discussion_r1537635491))

##### styled as … by default
Copy link
Collaborator

Choose a reason for hiding this comment

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

In #1368 I've made suggestions on the form "... rendering text as bold by default". @ddbeck I don't have a strong preference, but can you align this guideline with what you'd like to see in that PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've suggested a small change of your approach and updated this PR to reflect it. I will monitor for additional feedback. 😄

@ddbeck ddbeck added the documentation Improvements or additions to documentation label Jul 29, 2024
@ddbeck ddbeck mentioned this pull request Jul 29, 2024
@foolip foolip merged commit 1605a8e into web-platform-dx:main Jul 31, 2024
3 checks passed
@ddbeck ddbeck deleted the typically-styled branch August 8, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature definition Creating or defining new features or groups of features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants