Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.

Add text-decoration-line CSS example#487

Merged
wbamberg merged 1 commit into
mdn:masterfrom
danielhickman:css/text-decoration-line
Jan 27, 2018
Merged

Add text-decoration-line CSS example#487
wbamberg merged 1 commit into
mdn:masterfrom
danielhickman:css/text-decoration-line

Conversation

@danielhickman

@danielhickman danielhickman commented Jan 27, 2018

Copy link
Copy Markdown
Contributor

Fixes: #477 reusing some code from text-decoration. Didn't include deprecated blink and set underline as the default.

image

@wbamberg wbamberg 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.

This looks great, and I agree about omitting blink. But is there a reason you didn't include a choice with multiple values, like underline overline? We have space for two more choices.

@danielhickman

danielhickman commented Jan 27, 2018

Copy link
Copy Markdown
Contributor Author

Nope, just thought to keep it simple but you're right, they do belong in there. I committed and squashed over my original commit. I didn't use more than 2 keywords because I got a horizontal scrollbar at 720px width (shown below), let me know if you'd like to demonstrate it anyways.

image

@wbamberg wbamberg 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.

Looks great, thanks for the update @danielhickman ! I think it is worth showing the 2-value syntax, since it's not obvious that this is supported.

I agree with your judgement on the 3-value syntax. It's OK having a horizontal scrollbar, IMO, but it's not ideal, and in this case it doesn't seem to add much illustrative power over the 2-value syntax.

@wbamberg wbamberg merged commit 5255566 into mdn:master Jan 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants