#7127 closed bug (worksforme)
clone() does not preserve whitespace nodes in IE8
Reported by: | esprehn | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | manipulation | Version: | 1.4.2 |
Keywords: | clone ie8 | Cc: | |
Blocked by: | Blocking: |
Description
Whitespace nodes are missing from cloned nodes in IE8 which breaks layout of inline elements.
Change History (7)
comment:1 Changed 12 years ago by
Priority: | undecided → low |
---|
comment:2 Changed 12 years ago by
This is a pretty big problem. I've had to stop using clone entirely because something like <span>the</span> <span>fish</span> becomes "thefish" after cloning.
comment:3 Changed 12 years ago by
Status: | new → open |
---|
comment:6 Changed 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | open → closed |
I’m not able to reproduce this issue. test case
Note: See
TracTickets for help on using
tickets.
I believe that the normalization of whitespace here was done to combat an issue IE had with cloneNodes where we're instead consolidating text nodes.
Leaving this bug open in case anyone has suggestions regarding a potential fix we haven't looked at yet.