<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dw="https://www.dreamwidth.org">
  <id>tag:dreamwidth.org,2009-04-08:20791</id>
  <title>Philip Newton's journal</title>
  <subtitle>Philip Newton</subtitle>
  <author>
    <name>Philip Newton</name>
  </author>
  <link rel="alternate" type="text/html" href="https://pne.dreamwidth.org/"/>
  <link rel="self" type="text/xml" href="https://pne.dreamwidth.org/data/atom"/>
  <updated>2011-02-01T19:48:21Z</updated>
  <dw:journal username="pne" type="personal"/>
  <entry>
    <id>tag:dreamwidth.org,2009-04-08:20791:927377</id>
    <link rel="alternate" type="text/html" href="https://pne.dreamwidth.org/927377.html"/>
    <link rel="self" type="text/xml" href="https://pne.dreamwidth.org/data/atom/?itemid=927377"/>
    <title>del and ins</title>
    <published>2011-02-01T16:40:56Z</published>
    <updated>2011-02-01T19:48:21Z</updated>
    <category term="html"/>
    <dw:security>public</dw:security>
    <dw:reply-count>5</dw:reply-count>
    <content type="html">&lt;p&gt;I updated &lt;a href="http://pne.livejournal.com/236847.html"&gt;an old entry of mine&lt;/a&gt; and marked up the change with the HTML tags &lt;code&gt;&amp;lt;del&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;ins&amp;gt;&lt;/code&gt;, indicating that I first deleted some content and then inserted some new content.&lt;/p&gt;

&lt;p&gt;Based on my previous experience of browser renderings, I expected the deleted content to have a line through it and the newly-inserted content to have a line underneath it.&lt;/p&gt;

&lt;p&gt;However, when I viewed the entry in three different browsers, I saw that behaviour only in MSIE (6.0, in case that matters). Firefox showed no text decoration at all and Chrome only decorated the inserted text with an underline, but not the deleted text with a line-through.&lt;/p&gt;

&lt;p&gt;Odd.&lt;/p&gt;

&lt;p&gt;For reference, here’s &lt;del&gt;some deleted text&lt;/del&gt; and &lt;ins&gt;some inserted text&lt;/ins&gt;.&lt;/p&gt;

&lt;p&gt;(Incidentally, I wonder whether the curious behaviour stems from the fact that I didn’t just use the plain tag, but I added &lt;code&gt;cite&lt;/code&gt; and &lt;code&gt;datetime&lt;/code&gt; attributes to point to the reasoning for the change and to mark up when the change was made. &lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___1" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://pne.dreamwidth.org/927377.html#cutid1"&gt;Test of this&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___1" aria-live="assertive"&gt;&lt;/div&gt;)&lt;/p&gt;

&lt;p&gt;(And in case it’s different between LiveJournal and Dreamwidth, due to the different site stylesheets, cross-links: &lt;a href="http://pne.livejournal.com/946628.html"&gt;LiveJournal version of this entry&lt;/a&gt;; &lt;a href="http://pne.dreamwidth.org/927377.html"&gt;Dreamwidth version of this entry&lt;/a&gt;.)&lt;/p&gt;

&lt;p&gt;Edit: FWIW, Opera shows the old entry the way I expected. Yay :)&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=pne&amp;ditemid=927377" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
</feed>
