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

Implement Highlight Pseudo-elements (::selection) #8077

Closed
paulrouget opened this issue Oct 19, 2015 · 6 comments
Closed

Implement Highlight Pseudo-elements (::selection) #8077

paulrouget opened this issue Oct 19, 2015 · 6 comments
Labels

Comments

@paulrouget
Copy link
Contributor

@paulrouget paulrouget commented Oct 19, 2015

I'm not sure we can select text yet in a regular element, but it's possible in an <input> tag.The selection is not highlighted though.

See: https://drafts.csswg.org/css-pseudo-4/#selectordef-selection

@nox
Copy link
Member

@nox nox commented Oct 19, 2015

This will require changes in rust-selectors.

@paulrouget
Copy link
Contributor Author

@paulrouget paulrouget commented Feb 9, 2016

Bumping to bhtml P2. Now we have an awesomebar, we need to be able to highlight the selected text in an <input>.

@mbrubeck
Copy link
Contributor

@mbrubeck mbrubeck commented Mar 2, 2016

See also #4410 and #4409.

@paulrouget
Copy link
Contributor Author

@paulrouget paulrouget commented Mar 14, 2016

@SimonSapin - can you confirm you're working on this issue?

@SimonSapin
Copy link
Member

@SimonSapin SimonSapin commented Mar 14, 2016

@paulrouget As we’ve discussed in person I think #9993 can be separated from styling support. I haven’t started on this yet as I’d like to wrap up servo/rust-url#176 and its fallout first.

With a recent change to rust-selectors, parsing a new pseudo-element can be done in components/style/selector_impl.rs without changing rust-selectors.

@mbrubeck
Copy link
Contributor

@mbrubeck mbrubeck commented Mar 30, 2016

Fixed by #10252.

@mbrubeck mbrubeck closed this Mar 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.