After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 726477 - CSS styles in the mail apply to the whole conversation view
CSS styles in the mail apply to the whole conversation view
Status: RESOLVED DUPLICATE of bug 712904
Product: geary
Classification: Other
Component: client
master
Other Linux
: Normal normal
: ---
Assigned To: Geary Maintainers
Geary Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-16 21:37 UTC by Simon Lipp
Modified: 2014-03-17 18:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Mail demonstrating the issue (the whole conversation view should be red) (1.03 KB, application/octet-stream)
2014-03-16 21:37 UTC, Simon Lipp
Details

Description Simon Lipp 2014-03-16 21:37:47 UTC
Created attachment 272098 [details]
Mail demonstrating the issue (the whole conversation view should be red)

Any <style> tag in a HTML mail apply to the whole conversation view, which may induce display bug (I received a mail having a .read{display:none;} rule, now I can’t read any read mail in the conversation).

Attached is a mail demonstrating the issue.

Aside brutally droping the <style> tags, those HTML contructs may help :

http://www.html5rocks.com/en/tutorials/security/sandboxed-iframes/
http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom-201/
http://updates.html5rocks.com/2012/03/A-New-Experimental-Feature-style-scoped

Unfortunately none of those features seems to be enabled in webkitgtk by default…
Comment 1 Charles Lindsay 2014-03-17 18:26:10 UTC
There's been much back and forth about this issue (I *think* they're the same issue) at bug #712904.  I'll close this as a dupe, but if I'm mistaken, please re-open.

*** This bug has been marked as a duplicate of bug 712904 ***