You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Code tags split by a new line cry when moving mouse #11840
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)
@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.
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.
Appears to have been fixed. Screenshot taken after moving the mouse around a bunch. Tested on Arch Linux x86_64, servo built against commit id 9d29017.
Activity
metajack commentedon Jun 23, 2016
Tears of blood?
cbrewster commentedon Jun 23, 2016
@metajack I guess so!
KiChjang commentedon 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 commentedon Jun 23, 2016
@KiChjang yes, only when the cursor is moving
Coder206 commentedon 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 commentedon Jun 25, 2016
@Coder206 the
script/domdirectory 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
codetag is treated as a regularHTMLElementso it doesn't have its own file. https://html.spec.whatwg.org/multipage/semantics.html#the-code-elementmrobinson commentedon Jan 17, 2018
I'm can't reproduce this locally. @cbrewster are you still able to?
cbrewster commentedon 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.
[-]Code tags on servo.org cry when moving mouse [/-][+]Code tags split by a new line cry when moving mouse [/+]lumiscosity commentedon Jul 26, 2025
Appears to have been fixed. Screenshot taken after moving the mouse around a bunch. Tested on Arch Linux x86_64, servo built against commit id 9d29017.
jdm commentedon Jul 26, 2025
I forgot about how bizarre this one was. Hooray!