的可用性 和<删除>元素删除>
与在两窗格分屏差异查看器中查看增量相比,使用 和
的文档的可用性如何?
尽管命令行比较工具会将其输出显示为一个又一个比较(在单个垂直列/控制台窗口中),但我所知道的所有 GUI 比较工具都倾向于在两个窗格、分屏 UI 中显示比较。
如果 和
可用,我希望它,但令我担心的是,两窗格分屏差异查看器似乎常态。
其次,您是否见过任何使用 和
元素来显示修订版本的网站或软件,如果有,请指出我? 我想看看它们的使用示例(以便对它们的可用性做出主观评价)。
How usable is a document which uses <ins>
and <del>
, compared to seeing the deltas in a two-pane split-screen diff viewer?
Although a command-line diff tool will show its output as one diff after another (in a single vertical column / console window), all the GUI diff tools that I know of tend to show diffs in a two-pane, split-screen UI.
I'd like it if <ins>
and <del>
were usable but it worries me that, instead, two-pane split-screen diff viewers seem to be the norm.
Secondly, have you seen any sites or software which use the <ins>
and <del>
elements to show revisions, and if so would you please point them out to me? I'd like to see examples of their being used (in order to make a subjective opinion of how usable they are).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
例如,Trac 在其差异页面上使用此功能,甚至在两窗格视图中也是如此。 您可以在此处查看示例。
Trac uses this for example on its diff pages and does that even in a two-pane view. You can see an example here.
Stackoverflow 在其编辑历史页面中显示内联差异。 因此,如果您对它的工作原理感到满意,那么可以肯定地说它相当有用。
; & 不使用
元素,使用带有类的标签,但使用
元素。 & 可以使用
元素来代替。Stackoverflow shows inline diffs in the its edit history pages. So, if you're comfortable with how that works, its safe to say that its fairly usable.
The
<ins> & <del>
elements aren't used,<span>
tags with a class are, but<ins> & <del>
elements could have been used instead.