Opened 14 years ago

Last modified 14 years ago

#6853 confirmed Bug

Safari: selected element is not fully removed

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: WebKit Cc:

Description

I'm not sure if we already have a ticket for it.

  1. Initial source:
    <p>Paragraph 1</p>
    <h2>Heading 2</h2>
    <p>Paragraph 2</p>
    
  2. Select h2 in elements path to select the second row
  3. Press "Delete" key
  4. Result: row has been deleted, but the source still contains h2:
    <p>Paragraph 1</p>
    <h2>Paragraph 2</h2>
    
  5. Expected result:
    <p>Paragraph 1</p>
    <p>Paragraph 2</p>
    

Works fine in FF and Chrome @ Mac.

Change History (2)

comment:1 Changed 14 years ago by Garry Yao

Keywords: Mac removed
Status: newconfirmed

A browser favor of handling delete key, confirmed in Safari/Win also.

comment:2 Changed 14 years ago by Wiktor Walc

Keywords: WebKit added; Safari removed

Actually confirmed in Chrome as well. Even if the paragraph does not look like h2 straight after pressing "Delete" key, it's clearly visible in elements path (body * h2 * span) and after switching to source mode.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy