forked from mootools/mootools-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes a nasty regression that custom attributes set by HTML text (e.g. innerHTML) would previously be considered `expando` and therefore thought to have been considered a fake attribute. Therefore, we didn't return the value. This fix relies now on outerHTML to check for the existence of the attribute. Keep in mind this also fixes the previous bug of returning custom functions since any new `el.attribute =` are not shown in outerHTML. PASSED: IE6-9.
- Loading branch information
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters