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

Should transparent (alpha-value=0) text be considered contentful #75

Closed
noamr opened this issue Mar 24, 2020 · 4 comments
Closed

Should transparent (alpha-value=0) text be considered contentful #75

noamr opened this issue Mar 24, 2020 · 4 comments

Comments

@noamr
Copy link
Contributor

noamr commented Mar 24, 2020

See discussion in #58
Firefox opts out of painting when text has hsla(..., 0) or rgba(..., 0). Maybe the spec should be fixed to comply with that - making fully-transparent text be non-contentful.

@rniwa
Copy link

rniwa commented Mar 25, 2020

That (ignoring text with alpha=0) makes sense to me. @smfr

@npm1
Copy link
Contributor

npm1 commented Mar 26, 2020

@sefeng211 and @mstange this was discussed at the latest call. We didn't have any strong opinions but there was a slight preference towards considering this text as contentful because it may still become visible when the user searches or highlights it. Would this be something Mozilla could implement?

@mstange
Copy link

mstange commented Mar 26, 2020

That makes sense! Yes, implementing this in Firefox wouldn't be too hard.

@noamr
Copy link
Contributor Author

noamr commented Mar 27, 2020

Closing this, feel free to reopen if this issue comes back.

@noamr noamr closed this as completed Mar 27, 2020
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

5 participants