Skip to content

codeguida.com - Social media icons are broken #28321

Open

Description

@IhorHordiichuk

URL: https://codeguida.com/post/1291

Browser / Version: Firefox 66.0
Operating System: Fedora
Tested Another Browser: Yes

Problem type: Something else
Description: problem with SVG-icons rendering
Steps to Reproduce:
go to the page. open any article. share with icons on the left side are broken
Screenshot Description

Browser Configuration
  • None

From webcompat.com with ❤️

Activity

  1. added this to the needstriage milestone on Mar 24, 2019
  2. added
    os-linux
    on Mar 28, 2019
  3. added
    severity-minor
    on Mar 29, 2019
  4. changed the title [-]codeguida.com - see bug description[/-] [+]codeguida.com - Social media icons are broken[/+] on Mar 29, 2019
  5. cipriansv commented on Mar 29, 2019

    @cipriansv

    Thanks for the report @IgorHordiichuk,
    I was able to reproduce the issue. The icons of the social media icons are broken on Firefox

    Tested with:
    Browser / Version: Firefox Nightly 68.0a1 (2019-03-27), Chrome 73.0.3683.75
    Operating System: Ubuntu 18.04.2 LTS

    This is the web page displayed in Firefox Nightly:

    Nightly

    And this is the web page displayed in Chrome:

    chrome

  6. self-assigned this
    on Apr 1, 2019
  7. karlcow commented on Apr 1, 2019

    @karlcow
    Member
    <a class="icon-like" data-v-07060960="">
      <svg data-v-07060960="">
        <use xlink:href="#like" data-v-07060960=""></use>
      </svg>
      <svg data-v-07060960="">
        <use xlink:href="#like" data-v-07060960=""></use>
      </svg>
    </a>

    They use SVG image as xlink:xhref

    <svg xmlns="http://www.w3.org/2000/svg" class="hide">
      <defs>
        <filter id="a" filterUnits="userSpaceOnUse" x="0" y="0" width="18" height="18">
          <feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix>
        </filter>
        <filter id="c" filterUnits="userSpaceOnUse" x="0" y="0" width="18" height="18">
          <feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix>
        </filter>
      </defs>
    
    
    <!-- … -->
    
      <symbol id="like" viewBox="244 244 12 12">
        <path d="M247.286 244.572c-1.958 0-3.286 1.714-3.286 3.714 0 3.428 2.571 5 6 7.143 3.429-2.143 6-3.714 6-7.143 0-2-1.328-3.714-3.286-3.714-1.26 0-2.296.714-2.714 1.143-.419-.43-1.454-1.143-2.714-1.143z"></path>
      </symbol>
    
    <!-- … -->
    
    </svg>
  8. karlcow commented on Apr 1, 2019

    @karlcow
    Member

    The CSS being applied is

    .browser-firefox .single-page__body-share a svg > use {
    	-webkit-transform: translate(50%,50%);
    	transform: translate(50%,50%);
    }
    
    .comment-img a.no-image::after, .comment-img figure.no-image::after, .comment-item__rate-index span, .content-styles .single-slider .single-slide img, .content-styles .single-slider__controls .single-slider__controls__slides .controls-slide img, .go-to-signup .plus::after, .go-to-signup .plus::before, .home-page__cover__slider__item .bg, .modal-window, .newsletter-after-text, .notifications-block__icon svg, .profile-card__img a.no-image::after, .profile-card__img canvas.no-image::after, .profile-card__img figure.no-image::after, .profile-sidebar__img a.no-image::after, .section-socials__link svg, .show__profile-sidebar.no-image::after, .single-page__body-share a svg, .single-page__body-sidebar__item.codeguida-faq .recommendation .success-txt, .single-page__body-sidebar__item.popular .popular-item figure img {
    	display: block;
    	position: absolute;
    	top: 50%;
    	left: 50%;
    	-webkit-transform: translate(-50%,-50%);
    	transform: translate(-50%,-50%);
    }
    
    .single-page__body-share a {
    	height: 30px;
    	width: 30px;
    	margin-bottom: 30px;
    }

    Ah they send a style specific to firefox.

    /* Inline #6 | https://codeguida.com/post/1291 */
    
    .browser-firefox .single-page__body-share a svg > use {
      /* -webkit-transform: translate(50%,50%); */
      /* transform: translate(50%,50%); */
    }

    Removing this will fix it.

  9. added
    type-css
    type-uaoverride
    on Apr 1, 2019
  10. removed their assignment
    on Apr 1, 2019
  11. added
    engine-gecko
    on Apr 30, 2019
  12. softvision-oana-arbuzov commented on Nov 13, 2019

    @softvision-oana-arbuzov
    Member

    The issue is still reproducible on my side.
    image

    Tested with:
    Browser / Version: Firefox Nightly 72.0a1 (2019-11-12)
    Operating System: Windows 10 Pro

  13. IhorHordiichuk commented on Nov 15, 2019

    @IhorHordiichuk
    Author

    I tried to contact their support. That's sad, but I haven't any response from them(

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    browser-firefoxengine-geckoos-linuxpriority-normalseverity-minortype-csstype-uaoverride

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions