Skip to main content

Bug Tracker

Side navigation

#13818 closed bug (fixed)

Opened April 24, 2013 10:49AM UTC

Closed April 24, 2013 06:35PM UTC

Creation of `col` elements inconsistancy

Reported by: Owned by:
Priority: high Milestone: 2.0.1
Component: manipulation Version: 2.0.0
Keywords: Cc:
Blocked by: Blocking:

jQuery 2.0 introduce breaking change in how creation of col elements is handled.

  • $("<col />") - returns a col element
  • $("<col /><col />") - returns a colgroup that contains n+1 col elements

The following jsbin demonstrates the above/see the browser console/ -

Here is how it looks with jQuery 1.9.1 -

For me expected behavior should be as in 1.9.1 version or at least in both cases(for 1 col and 1+ col) to have consistent behavior.

Thank you!

Attachments (0)
Change History (2)

Changed April 24, 2013 02:09PM UTC by dmethvin comment:1

component: unfiledmanipulation
milestone: None2.0.1
priority: undecidedhigh
status: newopen

Looks like we need a new wrapMap entry for <col>.

Changed April 24, 2013 06:35PM UTC by Oleg comment:2

resolution: → fixed
status: openclosed

Fix #13818: Add wrapMap entry for col element

Changeset: 3a6194076b8b7ab5a9d9f5e6ec602db2ab427d3e