Some CSS not displaying in latest Icecat

  • Done
  • quality assurance status badge
Details
5 participants
  • Christopher Lemmer Webber
  • Ludovic Courtès
  • Mark H Weaver
  • Mike Gerwitz
  • Ricardo Wurmus
Owner
unassigned
Submitted by
Christopher Lemmer Webber
Severity
important

Debbugs page

Christopher Lemmer Webber wrote 6 years ago
(name . Bug-guix@gnu org)(address . bug-guix@gnu.org)
8736tzt2cw.fsf@dustycloud.org
Overall very excited about the new Icecat being available!

However, css is not displaying on some sites, and I'm not sure why.
Disable all extensions and try the following examples:


Both will show up unstyled. Not sure the cause; Firefox's developer
console doesn't seem to indicate anything relevant.
Mark H Weaver wrote 6 years ago
(name . Christopher Lemmer Webber)(address . cwebber@dustycloud.org)(address . 32820@debbugs.gnu.org)
87ftxyz2hn.fsf@netris.org
Hi Chris,

Christopher Lemmer Webber <cwebber@dustycloud.org> writes:

Toggle quote (10 lines)
> Overall very excited about the new Icecat being available!
>
> However, css is not displaying on some sites, and I'm not sure why.
> Disable all extensions and try the following examples:
>
> https://addons.mozilla.org/en-US/firefox/
> https://github.com/
>
> Both will show up unstyled.

Indeed, I see the same problem. My first guess is that it's related to
the fact that we aren't (yet) using Servo, Mozilla's new CSS engine.
Servo requires LLVM/Clang to build, so I disabled it for now, to
simplify the task of getting IceCat 60 working.

I'll work on enabling Servo in our IceCat package, and see if that fixes
the problem.

Thanks for the report!

Mark
Mike Gerwitz wrote 6 years ago
(name . Mark H Weaver)(address . mhw@netris.org)
8736tyfc45.fsf@gnu.org
On Mon, Sep 24, 2018 at 23:21:08 -0400, Mark H Weaver wrote:

[...]

Toggle quote (12 lines)
> Christopher Lemmer Webber <cwebber@dustycloud.org> writes:
>
>> Overall very excited about the new Icecat being available!
>>
>> However, css is not displaying on some sites, and I'm not sure why.
>> Disable all extensions and try the following examples:
>>
>> https://addons.mozilla.org/en-US/firefox/
>> https://github.com/
>>
>> Both will show up unstyled.

I was about to report the same, for exactly those sites (just upgraded
Icecat about an hour ago).

Toggle quote (8 lines)
> Indeed, I see the same problem. My first guess is that it's related to
> the fact that we aren't (yet) using Servo, Mozilla's new CSS engine.
> Servo requires LLVM/Clang to build, so I disabled it for now, to
> simplify the task of getting IceCat 60 working.
>
> I'll work on enabling Servo in our IceCat package, and see if that fixes
> the problem.

Thanks!

I tried to do more digging to figure out what may be going on, but it's
late and I haven't had any luck. The error still happens in safe mode,
and it's unrelated to CSP (the CSS does actually load, and is even
visible in the Style Editor, but isn't rendered). Icecat isn't
providing any errors anywhere, and I didn't find anything useful in
strace output.

So hopefully enabling Servo fixes it! I'm curious to know why these
pages work but not others.

--
Mike Gerwitz
Free Software Hacker+Activist | GNU Maintainer & Volunteer
GPG: D6E9 B930 028A 6C38 F43B 2388 FEF6 3574 5E6F 6D05
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJbqbXqAAoJEIyRe39dxRui4vwP/jVGddD4ah/qY/11JUaMkEmv
l5wtalCU+rKulncj8PfLWmUkJZESG5DJ/o02gfBzDNtQctM9PsI/CSCykCXJK64w
8ugE5GOFFugrZAM+/Q25vEBPvz/jKFIp1Kz5RPznZrLdortfXyzysGDQtk3Us76g
n78gHZ1X1OtsTRyZHSbztD4WZbjfk0lfEx/wzGofq0yhEvohGLzun6oQf8YOYRgC
IceV4zTk9qRISVipHpUJ98/xei8Bf1WugK82DKBmruyuO99XcilC08fBQqDlJjha
mmJTh4XujhpjmfEj+C2k/sVfK9HdaFsAs8BXKDAe1YF3rrA94tdsn7nP/TRKYkUp
vx7ud6/pCmmjihd9RQtzdQvtjg2xM0Oq5Yg//2xAJYtb41yNIjnbOSOKrSKgZo8v
oBNkG5sNkOdwOps5xPIvkNvjro+/aQvwUyhh/OSdaK7j+OQG/atu98eY5wTKQK6P
fI0J1QkcV5YPUO3IKXXXXs6aba6LYRuvzo0+B9WkTwW7NWt+W7lOFe9IoKk1cus1
3CYRouf/3EAP7mSMYoSlmAX+27uHKxWO6wMgdbaKK4YOksaUaJnELIvCp1xT+dvU
1zzzzSFIP5eKr4xWBa4/bde3WWHx9quzdxvsnQf/w2QIBJnTGtzEs+3vv8sLLW+2
dHsBj7bV4jehWKXRVJhl
=Rw9M
-----END PGP SIGNATURE-----

Mark H Weaver wrote 6 years ago
(name . Christopher Lemmer Webber)(address . cwebber@dustycloud.org)
875zytcdl7.fsf@netris.org
Hi,

Christopher Lemmer Webber <cwebber@dustycloud.org> writes:

Toggle quote (7 lines)
> Disable all extensions and try the following examples:
>
> https://addons.mozilla.org/en-US/firefox/
> https://github.com/
>
> Both will show up unstyled.

I just pushed some changes to our IceCat package which I didn't expect
to affect this issue, namely:

* 6d3288793..: Mark H Weaver 2018-09-25 gnu: icecat: Rebundle NSPR and NSS [security fix].
* 94e96f7f6..: Mark H Weaver 2018-09-24 gnu: icecat: Unbundle libevent, libogg, and libvorbis.
* 257e32479..: Mark H Weaver 2018-09-23 gnu: icecat: Unbundle graphite2 and harfbuzz.

However, as of commit 6d328879378fac95240005233331f596fb5c68ed on the
master branch, I can no longer reproduce this problem. The two pages
above are both properly styled for me now.

When you get a chance, can you try the new version and report back?

Mark
Mike Gerwitz wrote 6 years ago
(name . Mark H Weaver)(address . mhw@netris.org)
87o9clcd2b.fsf@gnu.org
On Tue, Sep 25, 2018 at 20:22:12 -0400, Mark H Weaver wrote:
Toggle quote (13 lines)
> I just pushed some changes to our IceCat package which I didn't expect
> to affect this issue, namely:
>
> * 6d3288793..: Mark H Weaver 2018-09-25 gnu: icecat: Rebundle NSPR and NSS [security fix].
> * 94e96f7f6..: Mark H Weaver 2018-09-24 gnu: icecat: Unbundle libevent, libogg, and libvorbis.
> * 257e32479..: Mark H Weaver 2018-09-23 gnu: icecat: Unbundle graphite2 and harfbuzz.
>
> However, as of commit 6d328879378fac95240005233331f596fb5c68ed on the
> master branch, I can no longer reproduce this problem. The two pages
> above are both properly styled for me now.
>
> When you get a chance, can you try the new version and report back?

I also verified that those pages render correctly using IceCat's alpha
binary on a Debian system. I'll build overnight and let you know
tomorrow if the CSS issues are resolved for me.

Thanks for the quick response on this!

--
Mike Gerwitz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJbqtPcAAoJEIyRe39dxRuiLG4P/iRsFyhbAakUg2XUi/np+Ex0
zSwitFAvYghP5WD8hz13EITxvtC66p5F49rMyGWX8iVbuXMExlrs1bRNr4aZP9/r
muMyD01DyBCcObe0NXajdsc62zBc9g0vmMOgPx91231MpjitVp5bohaWrmENAZ6n
hi1am6JUgi+H8vteia/sqrUOZmF6eVzaEI7SxgOmiWxQ1OlmFi3JdZcZofkUypPi
ctW6W/Bv3IQGrrqBSbXHlMyMj639nk8FArLw0+yJUGKzWrlQWtizzPXCKElehBZe
VMxzedfwyWb4q4Ht9ryOZnLI+BcKvbC8XHPaAqA7p0J4lawetH4Y/r1qq1I+DV66
qCGjmzcGCCaGQVLV+Jz2LKdBDxaitTzIQzaiuGOQ4Pzm+e1rTOlsZWO8ZENiZCsl
U30vFJpWtDNey65SrXFnTpwU9RoL28GMktjycdgbmIGlVL50YhkniuFFc6SGAVDi
0noYDC3aCHARoxFId44OUX6hGtWLG6jUeM92dG18MHxwch9UGVzZ74bvn6l4slLl
Wcv3gHRz+6/nNiiAFs4yReef/7wvgEMIgcbfA1DQdfH/n2dlmn7jZ5tMDyCHpzdR
7bM+0AUfJWLs/ithzWz60YTYYC7D2l+RhRlGVcTsB1yHOVmuSQnw66n3xXnwhG+F
U5Sz935BM1sytBeal4P/
=6fQ1
-----END PGP SIGNATURE-----

Mike Gerwitz wrote 6 years ago
(name . Mark H Weaver)(address . mhw@netris.org)(address . 32820@debbugs.gnu.org)
877ej8dfhk.fsf@gnu.org
Toggle quote (6 lines)
>> When you get a chance, can you try the new version and report back?
>
> I also verified that those pages render correctly using IceCat's alpha
> binary on a Debian system. I'll build overnight and let you know
> tomorrow if the CSS issues are resolved for me.

LGTM!

--
Mike Gerwitz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJbqxFXAAoJEIyRe39dxRui7HcP+wYHiCqZsoe/B5PIdTaSHOe3
rN9MI3D3VLPVxKIkeCAo1fbo1Jg8FHtVNoophY2zsPTwzgXgkEpSSlTkJk9tut82
uxSe12/SXevNS2fA9I4MOHbo+hkRtVXK1nAdOZe4LkZtV0jxbejeRVmiAS/H0XVj
w2OHOWVOfYO0Y0LmVr14goMHwtMbmOTipdd+HihNXJTwloGhFLCVWhJzPYBoIKyu
/N5hN5WTfgnOQATVj0xR/ktLRakA8YhBAhvM5hFV8rKRGnQLS8BLZbVbQrSP23Nc
ud2HwxqWKxwKWbK8+FWKVf4dzTfNfczjyFs353cD2ifFreeC1/jjukDPuBMtdyx7
DW9Ut16OxXm766DJtOm6bosqYH32UvIXOM7vFPpUhWTLSUSLBJP9nSgTxaAaFtRF
sHAIfD3fPmNkd3SfvsCyT1BAszL2GDJxmrOk3R7T+GW+0TU+uvZSBguiJHTFvAhb
3rRirzoSWQvHmiE2fCwbfvALn54jaqO5ysIODJ9AN46p3xdNi3pSeii9P7kkAWZj
9gr37XXnDkuHfqluaNJ7Lp5j5W83sFJtSueRLRxsMEmh5DndZ0ryMNiouB0SliVj
H9qAadyXEAA1VoGvPwIUltxDU7gmCPLFx+IWOzf/lyWudu2UTogKIjW0RZMfv9k3
tdTgfPNva0Ooptl99eSA
=xjQJ
-----END PGP SIGNATURE-----

Ludovic Courtès wrote 6 years ago
control message for bug #32820
(address . control@debbugs.gnu.org)
8736tw4mzq.fsf@gnu.org
severity 32820 important
Christopher Lemmer Webber wrote 6 years ago
Re: bug#32820: Some CSS not displaying in latest Icecat
(name . Mike Gerwitz)(address . mtg@gnu.org)
87bm8kqlie.fsf@dustycloud.org
Oh, and thank you for your impressive work as usual Mark... we all
appreciate it :)
Christopher Lemmer Webber wrote 6 years ago
(name . Mike Gerwitz)(address . mtg@gnu.org)
87d0t0qlj0.fsf@dustycloud.org
Mike Gerwitz writes:

Toggle quote (8 lines)
>>> When you get a chance, can you try the new version and report back?
>>
>> I also verified that those pages render correctly using IceCat's alpha
>> binary on a Debian system. I'll build overnight and let you know
>> tomorrow if the CSS issues are resolved for me.
>
> LGTM!

Works great for me too! Closing this.
Closed
Ricardo Wurmus wrote 6 years ago
(name . Christopher Lemmer Webber)(address . cwebber@dustycloud.org)(address . 32820@debbugs.gnu.org)
87bm8mehde.fsf@elephly.net
Christopher Lemmer Webber <cwebber@dustycloud.org> writes:

Toggle quote (11 lines)
> Overall very excited about the new Icecat being available!
>
> However, css is not displaying on some sites, and I'm not sure why.
> Disable all extensions and try the following examples:
>
> https://addons.mozilla.org/en-US/firefox/
> https://github.com/
>
> Both will show up unstyled. Not sure the cause; Firefox's developer
> console doesn't seem to indicate anything relevant.

This is really weird.

Open the developer console and switch to the Style Editor tab. On
github.com you’ll see a bunch of CSS files with a note under each saying
“0 rules”. To the right you see the CSS sources. Now add a space
character (or make some other edit in the source pane): all of a sudden
the CSS file can be parsed!

When you do this to each file, Icecat is going to render the page just
fine.

I also note that Icecat tells me that the page is not encrypted, despite
visiting the https site without errors. Something’s not quite right
here.

--
Ricardo
Mike Gerwitz wrote 6 years ago
(name . Ricardo Wurmus)(address . rekado@elephly.net)
87o9ch8689.fsf@gnu.org
On Mon, Sep 24, 2018 at 23:05:17 +0200, Ricardo Wurmus wrote:
Toggle quote (9 lines)
> Open the developer console and switch to the Style Editor tab. On
> github.com you’ll see a bunch of CSS files with a note under each saying
> “0 rules”. To the right you see the CSS sources. Now add a space
> character (or make some other edit in the source pane): all of a sudden
> the CSS file can be parsed!
>
> When you do this to each file, Icecat is going to render the page just
> fine.

That's an interesting find!

Fortunately, since Mark's changes, I haven't experienced any further
issues. But it's bizarre indeed.

Toggle quote (4 lines)
> I also note that Icecat tells me that the page is not encrypted, despite
> visiting the https site without errors. Something’s not quite right
> here.

Mark fixed this in 32833 (<87a7o5cdv3.fsf@netris.org>).

--
Mike Gerwitz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJbrs92AAoJEIyRe39dxRuigsMQALhWqmlBreXWNg493wJyvhSW
heKSB3hsOOLaS9MUgjvP8Cnc372JSfDRb3Bdz8d9+rF/zduwO4PZeyUFamw6OKbO
Td8R23Te+5H6YcfSzg2QJkTxdFt/yE35xEt6KQAvXFnrNCfgOI7qNKMvDVyUBi6y
x30wofvMwtJ9dqc4TSiR1zCAqbx/uNvV2H7D3wzjs2lGZA4Gwqd3ACCClj5hIZWv
AioEdcdQR3j/84+VQKgg+CbmCriU2wLCLf2buZnGbUixxrxcfDSYozUnzHWAez+G
xuKxwL/2T1ObgCFonZHVDwlYZ0k8EzZ2u0gVoXdJAhaEvK6aa9fshWj3PieRtWQN
kAjlpKmtjG9VxMJxbjuzALuO9CGjhFAEzXA1cN/ch86N1Ps3EjPCJH5ipDQJ9A6e
C9Cw775dcLHlxWiHvr5uViscgFG4UsMpig5jnm2qXXeqjb5mUmtuXYHuNNc2C2ky
zNCHTyjWTN4a8YDBM7wSUSUJPPD3EETwsMVFBGzI6h1akHTP8pDQBrh95+hcm8df
iUrRJUzpsQFmBF1OElP0+61Ufi9xbSJS6kMXRmnHdj2eHPMmb2hupYfkThpRdpIc
Kh/RMY1KtRlu6Bdo4Tkxuh+fK60HVGxH85zbd1yeGp6UzKgWWLdTJpe4//rvRSrd
hwXixJDdF5fTDqPGR/GC
=W89X
-----END PGP SIGNATURE-----

?
Your comment

This issue is archived.

To comment on this conversation send an email to 32820@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 32820
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help