Closed
Bug 1301106
Opened 9 years ago
Closed 9 years ago
mobile.twitter.com can't view images
Categories
(Web Compatibility :: Site Reports, defect, P1)
Tracking
(platform-rel ?, firefox48 unaffected, firefox49 unaffected, firefox50 unaffected, firefox51+ fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
platform-rel | --- | ? |
firefox48 | --- | unaffected |
firefox49 | --- | unaffected |
firefox50 | --- | unaffected |
firefox51 | + | fixed |
People
(Reporter: adamopenweb, Unassigned)
References
()
Details
(Whiteboard: [sitewait][platform-rel-Twitter])
Attachments
(1 file)
231.12 KB,
image/png
|
Details |
This was originally reported on webcompat.com https://webcompat.com/issues/3158.
In Nightly 51.0a1 (2016-09-07) for OSX and Android, images do not display on mobile twitter. Works in Firefox 48-50, Chrome, Safari.
STR:
1) Navigate to https://mobile.twitter.com/realdonaldtrump
Expected behavior: Images in tweets display
Actual behavior: Images in tweets don't display
Disabling the -webkit-mask-image property makes images appear, as does disabling layout.css.prefixes.webkit.
._3i5pgeTp{
-webkit-mask-image: url(data:image/png;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICRAEAOw==);
}
Updated•9 years ago
|
status-firefox48:
--- → unaffected
status-firefox49:
--- → unaffected
status-firefox50:
--- → unaffected
tracking-firefox51:
--- → ?
Updated•9 years ago
|
See Also: → https://webcompat.com/issues/3158
Updated•9 years ago
|
Chrome canary has the same problem too.
If you add mask-repeat or -webkit-mask-repeat prop right bellow -webkit-mask-image, img will appear
._3i5pgeTp {
-webkit-mask-image: url(data:image/png;base64,R0lGODlhAQABAIAA///////yH5BAEKAAEALAAAAAABAAEAAAICRAEAOw==);
-webkit-mask-repeat: repeat;
}
CSS masking spec defines initial value of mask-repeat as no-repeat[1]. The mask image that tweet used is a 1x1 png, so you basically can not see anything without set mask-repeat as "repeat".
For more information, please check bug 1258623 comment 16
[1] https://www.w3.org/TR/css-masking-1/#the-mask-repeat
Flags: needinfo?(cku)
Reporter | ||
Comment 3•9 years ago
|
||
Thanks CJ! Let's move this over to TE.
Component: Layout → Mobile
Product: Core → Tech Evangelism
Whiteboard: [contactready]
Version: 51 Branch → Firefox 51
Reporter | ||
Comment 4•9 years ago
|
||
Sent an email to Twitter regarding this issue.
Whiteboard: [contactready] → [sitewait]
Updated•9 years ago
|
platform-rel: --- → ?
Whiteboard: [sitewait] → [sitewait][platform-rel-Twitter]
Comment 5•9 years ago
|
||
If that breaks web, should we consider asking the spec to change?
Comment 6•9 years ago
|
||
> If that breaks web, should we consider asking the spec to change?
I'm curious what CJ thinks -- is this the first mask-repeat bug (of this kind) we know about?
Flags: needinfo?(cku)
On(In reply to Mike Taylor [:miketaylr] from comment #6)
> > If that breaks web, should we consider asking the spec to change?
>
> I'm curious what CJ thinks -- is this the first mask-repeat bug (of this
> kind) we know about?
On bugzilla, probably 2nd one. Astley, iirc, you mentioned a bug, repeat relative, in chatting room, do you have bug number of it?
I think we should keep watching it, and make decision after we get enough feedback from nightly and aurora channel.
Flags: needinfo?(cku) → needinfo?(aschen)
Reporter | ||
Comment 8•9 years ago
|
||
We have a fix from Twitter. Tested in Firefox 51 for Android.
Thanks!
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Comment 9•9 years ago
|
||
(In reply to Xidorn Quan [:xidorn] (UTC+8) from comment #5)
> If that breaks web, should we consider asking the spec to change?
Based on dbaron's info, this was an explicit decision in:
https://lists.w3.org/Archives/Public/www-style/2013Sep/0875.html
Comment 10•9 years ago
|
||
(In reply to C.J. Ku[:cjku](UTC+8) from comment #7)
> On(In reply to Mike Taylor [:miketaylr] from comment #6)
> On bugzilla, probably 2nd one. Astley, iirc, you mentioned a bug, repeat
> relative, in chatting room, do you have bug number of it?
> I think we should keep watching it, and make decision after we get enough
> feedback from nightly and aurora channel.
It's simply just a demo on codepen instead of a website. as tested, canary(M54) gives same result as FF51 now.
http://codepen.io/pcridesagain/pen/bfsJy
Flags: needinfo?(aschen)
Comment 11•9 years ago
|
||
(In reply to Astley Chen [:astley] (UTC+8) from comment #9)
> (In reply to Xidorn Quan [:xidorn] (UTC+8) from comment #5)
> > If that breaks web, should we consider asking the spec to change?
>
> Based on dbaron's info, this was an explicit decision in:
> https://lists.w3.org/Archives/Public/www-style/2013Sep/0875.html
That decision was purely based on the expectation, and didn't consider potential web compatibility issue. If existing impls are shipping the old behavior, and websites have been relying on that behavior, changing it could be a problem.
We should be careful if more compatibility issues come. If that happens, we may want to raise a spec issue and reverse that decision.
Comment 12•9 years ago
|
||
(In reply to Adam Stevenson from comment #8)
> We have a fix from Twitter. Tested in Firefox 51 for Android.
> Thanks!
Hi Adam, generally how much time we would expect Twitter to release this fix to public ? Thanks.
Flags: needinfo?(astevenson)
Comment 14•9 years ago
|
||
According to Comment #8 (and our twitter-mozilla mailing list), this was fixed a few days back. However testing in the latest Nightly with https://mobile.twitter.com/realDonaldTrump/status/774435151975747584, I still see the bug.
It's possible that the fix was only deployed in North America (maybe??) -- but right now in Berlin it seems like the fix hasn't been deployed.
Adam, can you check that they didn't unintentionally regress the fix?
Reporter | ||
Comment 15•9 years ago
|
||
Still works fine in Canada. Switching to a EU IP address the issue appears.
CSS file from Canada containing the webkit-mask-image and -webkit-mask-repeat:
https://ma-0.twimg.com/twitter-assets/responsive-web/web/ltr/main.3eec9c2ce4d25a54.css
CSS file from Canada containing the webkit-mask-image but no -webkit-mask-repeat:
https://abs.twimg.com/rweb/en/common.bundle.62455379111af8617fc280196631d0d4.css
Flags: needinfo?(astevenson)
Comment 16•9 years ago
|
||
Thanks Adam, might be good to ping them on the ML to make sure the changes will propagate (I would expect it to...).
Comment 17•9 years ago
|
||
It appears to be we should leave the bug open to reflect current status until Twitter propagate the fix to all regions. Adam, what do think ?
Comment 19•9 years ago
|
||
I will associate all relative bugs into this one
Comment 20•9 years ago
|
||
Dennis, now that you're back in Germany (and I'm back in the states) can you test if the tweet in Comment #14 has visible images in the latest Nightly?
Flags: needinfo?(dschubert)
Comment 22•9 years ago
|
||
Great, let's close this as FIXED then. Thanks Dennis!
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
Comment 23•9 years ago
|
||
Not fixed here on my devices, latest update v52, germany
Reporter | ||
Comment 24•9 years ago
|
||
I can still reproduce using a German IP.
Related CSS file:
https://abs.twimg.com/rweb/en/common.bundle.62455379111af8617fc280196631d0d4.css
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 25•9 years ago
|
||
womp womp. sorry for the false alarm -- not sure what's up twitter's global deployment strategy.
Comment 26•9 years ago
|
||
Oh, I just noticed something! It works if I am logged in, but as soon as I log out, the images disappear. Maybe that's the reason for the different CSS files?
Comment 27•9 years ago
|
||
Thanks Dennis -- I emailed Twitter and they said they would raise the issue for the non-logged-in site (it seems the fix was only made for logged-in users).
Updated•9 years ago
|
Priority: -- → P1
Comment 29•9 years ago
|
||
Works for me since this night.
Germany, not logged in, Fx52.
Comment 30•9 years ago
|
||
Yep, me too. Let's close (again) as FIXED -- thanks for checking Jan!
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
Comment 31•9 years ago
|
||
Twitter has released the fix. Mark 51 as fixed.
Comment 33•9 years ago
|
||
The broken links part of bug 1301372 is fixed now. But the observations about image links rather than images in the conversation view for mobile.twitter.com URLs is still true for me on firefox 49.
firefox-49.0-2.fc23.x86_64 in the UK
Assignee | ||
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
Assignee | ||
Updated•1 year ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•