Skip to content

[css-highlight-api] negative priorities #4593

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
frivoal opened this issue Dec 13, 2019 · 4 comments
Closed

[css-highlight-api] negative priorities #4593

frivoal opened this issue Dec 13, 2019 · 4 comments

Comments

@frivoal
Copy link
Collaborator

frivoal commented Dec 13, 2019

Assuming we continue having numerical priorities (see #4591):

@hober
Copy link
Member

hober commented Jan 22, 2020

If we go with numbers at all for this, I think we should allow negative numbers. A library author may want to say "my feature is cool, but if anything else is using the highlight api on this page, they should win over me."

@sanketj
Copy link
Member

sanketj commented Mar 24, 2021

@frivoal @hober @fantasai I don't see any additional problems with negative numbers, my thought is that we should allow them. That would be consistent with z-index. Are you all okay with that?

@frivoal
Copy link
Collaborator Author

frivoal commented Mar 24, 2021

yes, let's allow them.

@sanketj
Copy link
Member

sanketj commented Mar 24, 2021

Left the priority attribute as (implicitly) 'signed'. Closing this issue.

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

3 participants