New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE8: styleNode.setContent(cssText) causes "Unexpected call to method or property access" #1968

Open
d-adamkiewicz opened this Issue Oct 6, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@d-adamkiewicz

d-adamkiewicz commented Oct 6, 2014

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <script src="http://yui.yahooapis.com/3.18.0/build/yui/yui-min.js"></script>
        <style type="text/css" id="content-css">
        </style>
    </head>
    <body>
        <div id="content">Hello</div>
        <script>
            YUI().use('node', function(Y) {
                Y.one("#content-css").setContent('#content{color: red;}');
            });
        </script>
    </body>
</html>
@okuryu

This comment has been minimized.

Show comment
Hide comment
@okuryu

okuryu Oct 8, 2014

Member

Thanks. I have been reproduced this issue on IE 8. It seems not to occurs on IE 9.

http://jsbin.com/kotaco/1/

Member

okuryu commented Oct 8, 2014

Thanks. I have been reproduced this issue on IE 8. It seems not to occurs on IE 9.

http://jsbin.com/kotaco/1/

@okuryu okuryu added the bug label Oct 8, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment