Skip to content

[css-highlight-api-1] Example 2 lacks definition of a variable and inconsistent indentation between examples #6331

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

Closed
ffiori opened this issue May 31, 2021 · 1 comment

Comments

@ffiori
Copy link
Member

ffiori commented May 31, 2021

This issue is related to this draft: https://drafts.csswg.org/css-highlight-api-1

  • In example 2 of the draft there's a variable named div used in setStart() and setEnd() which has never been defined.

  • Minor detail: indentation in examples 1 and 2 is different from the others: <style> and <script> sections are not tabbed whereas they are in the others.

@ffiori
Copy link
Member Author

ffiori commented May 31, 2021

@sanketj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants