New issue
Advanced search Search tips

Issue 632281 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Compat



Sign in to add a comment

handle <del> like <strike> for execCommand, like it was done for strong/b, and em/i (blink, contenteditable)

Reported by cyril.au...@gmail.com, Jul 28 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.30 Safari/537.36

Example URL:
https://jsfiddle.net/kbre3dqs/

Steps to reproduce the problem:
1. https://jsfiddle.net/kbre3dqs/
2. 
3. 

What is the expected behavior?
strikethough should work on <strike> and <del>

What went wrong?
doesn't work on <del>

Does it occur on multiple sites: N/A

Is it a problem with a plugin? N/A 

Did this work before? N/A 

Does this work in other browsers? No Firefox

Chrome version: 53.0.2785.30  Channel: dev
OS Version: 10.0
Flash Version: Shockwave Flash 22.0 r0

like said, it works for <strong> and <b> , and for <em> and <i> so that could be consistent to do it for <del>
 
complete example: https://jsfiddle.net/crl/kbre3dqs/1/, only <del> doesn't work
Components: Blink>Editing>Command
Labels: Needs-Feedback
Tested the issue on Windows 7, Mac 10.11.5, Ubuntu 14.04 using 53.0.2785.30, latest 54.0.2810.2 with below steps:

1.Opened URL: https://jsfiddle.net/kbre3dqs/ in chrome and firefox.
2.Strikethough is seen on both chrome and firefox.

Please find attached screenshot and update if anything missed here in triaging the issue.

cyril.auburtin@Could you please provide actual and expected behavior screencast for further triaging the issue.
632281.png
213 KB View Download
Sorry, http://recordit.co/scyAqAHLuy I hope it's clear

Comment 4 by yosin@chromium.org, Aug 1 2016

Status: WontFix (was: Unconfirmed)
Mark WontFix since logical meaning of DEL is different of STRONG, EM, STRIKETHROUGH. I think "strikethrough" command should make different between DEL and STRIKETHROUGH and Chrome and Edge do same thing.
Oh thanks Yosin, I just find out that <s> work https://developer.mozilla.org/en/docs/Web/HTML/Element/strike

Sign in to add a comment