Page MenuHomePhabricator

Images with attribute "border" not showing border on mobile
Closed, DuplicatePublic

Description

Steps to reproduce

  1. open Wikipedia in mobile browser
  2. open an article containing an image with border attribute (e.g. Polish flag)

Expected behavior
There should be a border around the images to see Polish flag does have red and white stripe.

Current behavior
There is no border shown and not knowing person can therefore think Polish flag is only one red stripe or red stripe and two white stripes.

Configuration
Multiple browsers and phones tested, transferred from Czech Wikipedia Tech Village Pump

Event Timeline

Dvorapa created this task.Nov 10 2018, 9:24 AM
Restricted Application added subscribers: Urbanecm, Aklapper. · View Herald TranscriptNov 10 2018, 9:24 AM

@Jdlrobson Is it really? The images doesn't have any image_lazy_loaded class and still the borders does not show on mobile.

Jdlrobson added a comment.EditedNov 10 2018, 10:52 PM

The border attribute is deprecated in html5 so the fix for this would be to move it into a style/class attribute once T199351 has been taken care of.