This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 13632 - Update removeFormat to use a blacklist, not a whitelist
Summary: Update removeFormat to use a blacklist, not a whitelist
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - HTML Editing APIs (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Aryeh Gregor
QA Contact: HTML Editing APIs spec bugbot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 20:08 UTC by Aryeh Gregor
Modified: 2011-08-15 20:59 UTC (History)
4 users (show)

See Also:


Attachments

Description Aryeh Gregor 2011-08-03 20:08:42 UTC
Ryosuke is in favor of a blacklist here:

http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-August/032782.html

He did research on it:

https://bugs.webkit.org/show_bug.cgi?id=43017
Comment 1 Aryeh Gregor 2011-08-15 20:38:13 UTC
Changed:

http://aryeh.name/gitweb.cgi?p=editing;a=commitdiff;h=b4765d30
http://aryeh.name/spec/editing/editing.html#the-removeformat-command

The exact list of things I remove doesn't quite match any browser.  My reasons are given in the comments at the side.
Comment 2 Ehsan Akhgari [:ehsan] 2011-08-15 20:59:19 UTC
Looks fine by me.