Skip to content

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

Closed as not planned
Closed as not planned

Description

@cbrewster

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

Activity

  1. metajack commented on Jun 23, 2016

    @metajack
    Collaborator

    Tears of blood?

  2. cbrewster commented on Jun 23, 2016

    @cbrewster
    ContributorAuthor

    @metajack I guess so!

  3. KiChjang commented on Jun 23, 2016

    @KiChjang
    Contributor

    my god this is scary

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

  4. cbrewster commented on Jun 23, 2016

    @cbrewster
    ContributorAuthor

    @KiChjang yes, only when the cursor is moving

  5. Coder206 commented on Jun 25, 2016

    @Coder206
    Contributor

    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)

  6. cbrewster commented on Jun 25, 2016

    @cbrewster
    ContributorAuthor

    @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

  7. mrobinson commented on Jan 17, 2018

    @mrobinson
    Member

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

  8. cbrewster commented on Jan 17, 2018

    @cbrewster
    ContributorAuthor

    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.

  9. changed the title [-]Code tags on servo.org cry when moving mouse [/-] [+]Code tags split by a new line cry when moving mouse [/+] on Jan 17, 2018
  10. lumiscosity commented on Jul 26, 2025

    @lumiscosity
    Member

    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.

    Image
  11. jdm commented on Jul 26, 2025

    @jdm
    Member

    I forgot about how bizarre this one was. Hooray!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions