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

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

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.