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

Code tags split by a new line cry when moving mouse #11840

Open
cbrewster opened this issue Jun 23, 2016 · 8 comments
Open

Code tags split by a new line cry when moving mouse #11840

cbrewster opened this issue Jun 23, 2016 · 8 comments

Comments

@cbrewster
Copy link
Member

@cbrewster cbrewster commented Jun 23, 2016

teardrops
I have seen this on a few other sites with similar styling for inline code.

@metajack
Copy link
Contributor

@metajack metajack commented Jun 23, 2016

Tears of blood?

@cbrewster
Copy link
Member Author

@cbrewster cbrewster commented Jun 23, 2016

@metajack I guess so!

@KiChjang
Copy link
Member

@KiChjang KiChjang commented Jun 23, 2016

my god this is scary

Am I correct in saying that the "tears" only trickle down when you move the mouse?

@cbrewster
Copy link
Member Author

@cbrewster cbrewster commented Jun 23, 2016

@KiChjang yes, only when the cursor is moving

@Coder206
Copy link
Contributor

@Coder206 Coder206 commented Jun 25, 2016

This is very sad, poor Servo ;) ...

I tried looking for the ".rs" file for the code tag. I was expecting something like "code.rs" or "htmlcodeelement.rs", and I didn't find anything in "components/scripts/dom". Where does the code for the code tag reside? (I realize it may not be pertinent to the issue)

@cbrewster
Copy link
Member Author

@cbrewster cbrewster commented Jun 25, 2016

@Coder206 the script/dom directory is more for javascript interaction rather than the styling/layout. I am no expert on that styling/layout/rendering portion of Servo but it looks like this is more of a rendering issue than anything, possibly something that would need to be fixed in Webrender.

As a side note, the code tag is treated as a regular HTMLElement so it doesn't have its own file. https://html.spec.whatwg.org/multipage/semantics.html#the-code-element

@mrobinson
Copy link
Member

@mrobinson mrobinson commented Jan 17, 2018

I'm can't reproduce this locally. @cbrewster are you still able to?

@cbrewster
Copy link
Member Author

@cbrewster cbrewster commented Jan 17, 2018

I do not see it on servo.org, but I still see the issue on github in READMEs where inline code tags get split between newlines. The issue does not appear if the code tag is not split by a newline.

@cbrewster cbrewster changed the title Code tags on servo.org cry when moving mouse Code tags split by a new line cry when moving mouse Jan 17, 2018
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
5 participants
You can’t perform that action at this time.