镀铬样式29 / CSS问题 [英] Chrome 29 Style/Css issues

查看:87
本文介绍了镀铬样式29 / CSS问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Chrome Canary版(版本29.0.1521.0),并开发渠道,这一问题。

I’m having this issue with Chrome Canary (version 29.0.1521.0) and also the Dev Channel.

基本上,我有一个独立的样式表打印的页面。在Chrome 26,27,28,和其他任何浏览器(包括Firefox夜间),正确地显示我的网页。然而,由于加纳利和开发版升级到版本29,我得到应用到网页,没有办法得到正常的方式回打印样式。这绝对是一个JavaScript的问题,而不是CSS,你甚至可以看到加载第二个之前,它是由打印样式表隐分裂正确的页面。 CSS媒体覆盖什么也不做,并且没有JavaScript错误或警告,除了偶尔的标签将挂起,变得反应迟钝,使用CPU内核的100%。当标签挂起,所有的开发工具都反应迟钝,不能使用。

Basically, I have a page with a separate style sheet for printing. In Chrome 26, 27, 28, and any other browser (including Firefox Nightly), my page is displayed correctly. However, since Canary and Dev channel upgraded to version 29, I get the print styles applied to the page, with no way to get the normal styles back. It is definitely a JavaScript problem, not CSS, you can even see the correct page loaded for a split second before it is hidden by the print style sheet. CSS Media overrides do nothing, and there are no JavaScript errors or warnings, except occasionally the tab will hang and become unresponsive, using 100% of a CPU core. When the tab hangs, all Dev tools are unresponsive and cannot be used.

有几种方法我发现绕过这个问题:例如,查杀选项卡并刷新它(即使它不挂)通常会正确加载页面,一对夫妇页面加载的。禁用JavaScript的还解决了问题(不实用)。当页面加载正确的所有元素是功能和正确显示。

There are a couple of ways I’ve found to circumvent the problem: for example, killing the tab and refreshing it (even when it is not hanging) will usually load the page correctly, for a couple of page loads. Disabling JavaScript also fixes the problem (not practical). When the page loads correctly all the elements are functional and correctly displayed.

我已经搜查了净额遇到类似问题的人并没有拿出任何东西。

I have searched the net for people having similar issues and haven’t come up with anything.

有谁知道,如果有什么我可以做的来解决这个?

Does Anyone know if there is anything i can do to resolve this?

谢谢!

推荐答案

那么,它不能保证正确地在所有的工作,围绕它的工作似乎给定的东西更新频率/移动的目标自然是浪费时间。

Well, its not guaranteed to work correctly at all, working around it seems a waste of time given the update frequency/moving target nature of the thing.

下面是似乎是现有的错误报告:从不同媒体的屏幕缓存加载CSS加载为屏幕

Here is what seems to be the existing bug report: CSS loaded from cache with different media as screen is loaded as screen.

这篇关于镀铬样式29 / CSS问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆