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

[BUGFIX beta] IE10-8 fixes. normalizeProperty expects lowercase prop name #10318

Merged
merged 4 commits into from
Jan 31, 2015

Conversation

mixonic
Copy link
Sponsor Member

@mixonic mixonic commented Jan 31, 2015

Mostly extracted from #10186. IE9+ is all good, IE8 getting closer.

@mixonic mixonic changed the title IE10 and IE9 fixes. normalizeProperty expects lowercase prop name [BUGFIX beta] IE10 and IE9 fixes. normalizeProperty expects lowercase prop name Jan 31, 2015
@mixonic
Copy link
Sponsor Member Author

mixonic commented Jan 31, 2015

I've labelled this bugfix beta, though I'm unsure how smoothly it will merge onto beta.

@@ -54,6 +54,8 @@ export default Component.extend(TextSupport, {
'width'
],

defaultLayout: null,
Copy link
Sponsor Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need some feedback here. text fields are input tags. In IE8 an exception is raised if you try to append blank text nodes to an input.

text_field is now a component, so a layout makes sense. Not sure why it is being appended to the view element though.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does make sense. <input> cannot have child elements, this is just enforcing that (and preventing errors in IE8).

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fwiw @rwjblue and I have discussed ignoring defaultLayout when there is no template or layout on a component.

@mixonic mixonic changed the title [BUGFIX beta] IE10 and IE9 fixes. normalizeProperty expects lowercase prop name [BUGFIX beta] IE10-8 fixes. normalizeProperty expects lowercase prop name Jan 31, 2015
rwjblue added a commit that referenced this pull request Jan 31, 2015
[BUGFIX beta] IE10-8 fixes. normalizeProperty expects lowercase prop name
@rwjblue rwjblue merged commit 4c547e3 into emberjs:master Jan 31, 2015
@rwjblue rwjblue deleted the ie branch January 31, 2015 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants