Skip to content
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

[1.0.9] Uppercase letter in 'is' name break template stamping in FF 39 #2267

Closed
Xaratas opened this issue Aug 13, 2015 · 0 comments
Closed
Assignees
Labels

Comments

@Xaratas
Copy link

Xaratas commented Aug 13, 2015

Once again an uppercase problem.
FF can only instantiate the lowercase version of test element.
Chrome can handle booth.

Bug Occurs since Commit: 8868fdc Commits before are not affected.

<!DOCTYPE html>
<html>
    <head>
        <script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
        <link rel="import" href="bower_components/polymer/polymer.html">
        <link rel="import" href="./test.html">
        <script>
             document.addEventListener('WebComponentsReady', function() {
                 var a = new TestElement();
                 var b = new Test2Element();
                 document.getElementsByTagName('body')[0].appendChild(a);
                 document.getElementsByTagName('body')[0].appendChild(b);
             });
        </script>
    </head>
    <body>
    </body>
</html>
<dom-module id="Test-element">
    <template>
        <span>test uppercase</span>
    </template>
</dom-module>
<script>
"use strict";       
    var TestElement = Polymer({ 
        is: 'Test-element'
    });
</script>
<dom-module id="test2-element">
    <template>
        <span>test lowercase</span>
    </template>
</dom-module>
<script>
"use strict";       
    var Test2Element = Polymer({ 
        is: 'test2-element'
    });
</script>
Xaratas pushed a commit to Xaratas/PillarsOfEternity-Quest-Editor that referenced this issue Aug 13, 2015
@sorvell sorvell self-assigned this Aug 15, 2015
@sorvell sorvell added the p1 label Aug 15, 2015
frankiefu added a commit that referenced this issue Aug 19, 2015
Fixes #2267: properly find dom-module for mixed case elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants