W3C home > Mailing lists > Public > public-editing-tf@w3.org > February 2016

Re: CTRL+BACKSPACE or its equivalent behavior when deleting block elements

From: Chaals McCathie Nevile <chaals@yandex-team.ru>
Date: Thu, 11 Feb 2016 12:01:59 +0100
To: public-editing-tf@w3.org
Message-ID: <op.ycn0xlu3s7agh9@widsith.local>

On Thu, 11 Feb 2016 03:38:33 +0100, Grisha Lyukshin <glyuk@microsoft.com>  

> Hello All,
> There is a special behavior that is currently not interoperable between  
> browsers for a specific use case below:
> I think we should only delete one block element at a time when  
> CTRL+BACKSPACE is pressed.
> Chrome, FF and Edge all behave differently (sorry, I don't have Mac to  
> test how Safari behaves).
> Repro steps:
> jsfiddle<https://jsfiddle.net/svn9Lztd/>
> Place the caret in front of "def" and press CTRL+BACKSPACE

Opening this in Yandex.browser (blink-based), Safari and Firefox on mac,  
and pressing command-backspace, Firefox deleted everything in 4 steps, the  
other two in 5. (ctrl-backspace did nothing in FF and a normal backspace  
in the other two).

It seems Firefox deletes the paragraph when it removes the last thing in  
it, whereas the others remove the text node in a separate operation. What  
happened on windows? (I don't have a windows machine here to test…)



Charles McCathie Nevile - web standards - CTO Office, Yandex
  chaals@yandex-team.ru - - - Find more at http://yandex.com
Received on Thursday, 11 February 2016 11:02:31 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 11 February 2016 11:02:31 UTC