Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-12-19 07:51:54

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,134
Website

Jquery 1.9beta1 bug ?

Can anyone confirm this with the most recent SVN build (with jQuery 1.9 Beta 1)?

It appears to add a style attribute to the body element:

<body id="page-discuss" class="content" style="zoom: 1;">

With Safari 6 & WebKit nightly builds I see style="zoom: 1;" (use the web inspector to see)
According to Opera 12.12 Dragonfly, there is a style="", at the same time their console reports a bunch of css errors on line 1 of the HTML source.
With Firefox 17 I don’t see that style attribute, but the error console reports the same bunch of errors.

Tested this with Sandspaces, Hive and Remora themes.

Disabling the jquery-migrate-git script does not solve it.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Online

#2 2012-12-19 12:02:24

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Jquery 1.9beta1 bug ?

I’ve confirmed this bug in jQuery 1.9beta1, tried it on a test web page too with the same result. Looks like it’s something they’ve introduced here which should only ever be used for IE but for some reason isn’t.

Offline

#3 2012-12-19 12:16:18

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,134
Website

Re: Jquery 1.9beta1 bug ?

Thanks for digging a bit further into this. Weird bug.

(and lol. If I understand correctly, jQuery 1.9 would automatically apply zoom:1 to the body. Bad bad idea. For one, hasLayout shouldn’t be triggered blindly and secondly, body has the hasLayout flag set to true by default. Still have nightmares from co-authoring that article.).


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Online

#4 2012-12-19 13:44:11

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,134
Website

Re: Jquery 1.9beta1 bug ?

There is already an open ticket for this issue: 13089.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Online

Board footer

Powered by FluxBB