w3c / editing

Specs and explainers maintained by the editing task force
http://w3c.github.io/editing/
Other
192 stars 40 forks source link

Remove write and add more details on read. #456

Closed snianu closed 12 months ago

snianu commented 1 year ago

Closes #????

The following tasks have been completed:

Implementation commitment:

snianu commented 1 year ago

@sanketj Addressed all comments. PTAL. For write I can create a new explainer to describe the changes we're making in the sanitization and mention it in the read explainer as a link. wdyt?

sanketj commented 12 months ago

@sanketj Addressed all comments. PTAL. For write I can create a new explainer to describe the changes we're making in the sanitization and mention it in the read explainer as a link. wdyt?

Thinking about this some more, I don't think we can specify that write should provide unsanitized HTML as Safari has different behavior. Perhaps it is sufficient to mention in this explainer that the unsanitized option in read also allows browsers that write unsanitized HTML to roundtrip HTML content better?

snianu commented 12 months ago

@sanketj Addressed all comments. PTAL. For write I can create a new explainer to describe the changes we're making in the sanitization and mention it in the read explainer as a link. wdyt?

Thinking about this some more, I don't think we can specify that write should provide unsanitized HTML as Safari has different behavior. Perhaps it is sufficient to mention in this explainer that the unsanitized option in read also allows browsers that write unsanitized HTML to roundtrip HTML content better?

Added this in the intro section. Thanks!

snianu commented 12 months ago

@sanketj Addressed all comments. PTAL, thanks!