Opened 8 years ago

Last modified 3 years ago

#13724 assigned enhancement

_insertAfter can be removed in dom-construct

Reported by: liucougar Owned by: dylan
Priority: high Milestone: 1.15
Component: HTML Version: 1.6.1
Keywords: Cc:
Blocked By: Blocking:

Description

the following line:

_insertAfter(node, refNode);

can be replaced with:

_insertBefore(node, refNode.nextSibling);

this works correctly even if refNode is the last element

Change History (6)

comment:1 Changed 8 years ago by Eugene Lazutkin

Component: GeneralCore
Owner: set to Eugene Lazutkin
Priority: normalhigh
Status: newassigned
Type: defectenhancement

comment:2 Changed 8 years ago by Chris Mitchell

Priority: highnormal

not blocker for rc1, reducing priority to normal

comment:3 Changed 7 years ago by bill

Component: CoreHTML

comment:4 Changed 7 years ago by Colin Snover

Milestone: 1.82.0

1.8 is frozen. Move all enhancements to next release. If you need an exemption from the freeze for this ticket, contact me immediately.

comment:5 Changed 3 years ago by dylan

Milestone: 2.01.12
Owner: changed from Eugene Lazutkin to dylan

comment:6 Changed 3 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.