Opened 12 years ago
Last modified 12 years ago
#11374 confirmed Bug
Asymmetrical enlarge.
| Reported by: | Piotr Jasiun | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | |
| Keywords: | Cc: |
Description
After call range.enlange there should be both opening and closing tags in range or none of them, but tests created for #10778 shown some incorrect situations:
// <div>x<p>[foo] <b></b></p>x</div> -> // <div>x[<p>foo] <b></b></p>x</div> //Should be: // <div>x<p>[foo] <b></b></p>x</div>
Or:
// <div>x<p>foo <i><b>[bar]</b></i> </p>x</div> -> // <div>x<p>foo [<i><b>bar</b></i> </p>]x</div> //Should be: // <div>x<p>foo [<i><b>bar</b></i> ]</p>x</div>
Note that changes introduced in #10778 does not cause this behavior, the bug existed before. To see more incorrect situations go to enlarge.html tests.
Change History (2)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
| Status: | new → confirmed |
|---|

cc