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 support for normative optional attribute #292

Merged
merged 6 commits into from
Feb 16, 2021
Merged

Conversation

bakkot
Copy link
Contributor

@bakkot bakkot commented Feb 13, 2021

cf tc39/ecma262#2215.

Most of the work here was tweaking the existing CSS so that the orange box wouldn't extend up into the whitespace preceding the clause.

The "normative optional" text is now selectable, and if the term "Normative Optional" is defined it will link to that definition.

Before (with ecma262's CSS):

Screen Shot 2021-02-12 at 6 43 27 PM

After (with this PR's CSS):

Screen Shot 2021-02-12 at 6 43 24 PM

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

nice

@bakkot bakkot merged commit 5cfedce into master Feb 16, 2021
@bakkot bakkot deleted the normative-optional branch February 16, 2021 20:19
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