<html xmlns="http://www.w3.org/1999/xhtml" a0:Name="SuikaWiki" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:Version="0.9"><head></head><body><section><h1>img 要素 naturalsizeflag 属性 (HTML)</h1><p><a0:anchor-end a0:anchor="2">[2]</a0:anchor-end> この属性は、 <a0:anchor>Adobe</a0:anchor> の <a0:anchor>SiteMill</a0:anchor> や <a0:anchor>PageMill</a0:anchor>
が使用している独自拡張です。</p><p><a0:anchor-end a0:anchor="3">[3]</a0:anchor-end> 属性値:<dl><dt><code class="HTML">0</code></dt><dd>縦も横も長さが変更されています。
画像を更新したり置換したりする時に、
長さはそのまま (変更されたまま) 維持します。</dd><dt><code class="HTML">1</code></dt><dd>縦は長さが変更されています。
画像を更新したり置換したりする時に、
高さはそのまま (変更された値のまま) 維持します。</dd><dt><code class="HTML">2</code></dt><dd>横は長さが変更されています。
画像を更新したり置換したりする時に、
幅はそのまま (変更されたまま) 維持します。</dd><dt><code class="HTML">3</code></dt><dd>縦も横も原寸のままです。
画像を更新したり置換したりする時に、
新しい画像の原寸通りにします。</dd></dl></p><p>と <a0:anchor-internal a0:anchor="5">&gt;&gt;5</a0:anchor-internal> に書いてあります。疑うわけではありませんが、
他に全然検証報告が無いので (<a0:anchor-internal a0:anchor="4">&gt;&gt;4</a0:anchor-internal> はたぶん <a0:anchor-internal a0:anchor="5">&gt;&gt;5</a0:anchor-internal> が情報源)、
もし PageMill や SiteMill をお持ちの方がいらっしゃったら追試して結果を教えてください。</p><p><a0:anchor-end a0:anchor="8">[8]</a0:anchor-end> <code class="HTML">1</code> や <code class="HTML">2</code> は滅多に見かけません。
理由はなんとなく分かる気がしますが。</p><p><a0:anchor-end a0:anchor="1">[1]</a0:anchor-end> 1996年頃には既に 
<code class="HTMLe"><a0:anchor>img</a0:anchor></code> 要素のタグで
<samp class="HTML">NATURALSIZEFLAG=&quot;3&quot;</samp>
のように使われていました。</p><p>正確にいつから存在していたのかははっきりしていません。</p><p><a0:anchor-end a0:anchor="6">[6]</a0:anchor-end> <a0:anchor>バナー</a0:anchor>を貼るにはこのタグをこぴぺしろ的な HTML
マーク片が提示されているときに <code class="HTMLa">naturalsizeflag</code>
が混じっていることがたまにあります
(<a0:anchor-external a0:resScheme="IW" a0:resParameter="Google:&quot;naturalsizeflag&quot;">IW:Google:&quot;naturalsizeflag&quot;</a0:anchor-external> で引っかかるのは大部分がこれ)。
どうせ PageMill
で作った文書のバナー周辺だけ理解せずにこぴぺして提示しているのでしょう。
みっともない。</p><p>それどころか<a0:anchor>タグ講座</a0:anchor>にもそう言う例が載ってたりします。
何も知らないくせに偉そうに講釈たれていることがばればれで、
なんとも恥ずかしい。</p><a0:form ref="comment"></a0:form><section><h1>参考文献</h1><ul><li><a0:anchor-end a0:anchor="4">[4]</a0:anchor-end> <em>NATURALSIZEFLAG?</em> <a0:anchor-external a0:resScheme="URI" a0:resParameter="http://tohoho.wakusei.ne.jp/lng/199806/98060002.htm">http://tohoho.wakusei.ne.jp/lng/199806/98060002.htm</a0:anchor-external></li><li><a0:anchor-end a0:anchor="5">[5]</a0:anchor-end> <em>The NATURALSIZEFLAG attribute to the IMG tag</em> <a0:anchor-external a0:resScheme="URI" a0:resParameter="http://www.blooberry.com/indexdot/html/topics/naturalsize.htm">http://www.blooberry.com/indexdot/html/topics/naturalsize.htm</a0:anchor-external></li><li><a0:anchor-end a0:anchor="7">[7]</a0:anchor-end> <em>PageMill Tutorial Pages</em> <a0:anchor-external a0:resScheme="URI" a0:resParameter="http://web7.superb.net/firstbite/training/pagemill/hand1.html">http://web7.superb.net/firstbite/training/pagemill/hand1.html</a0:anchor-external>:
画像を挿入するには云々してから <code class="HTMLa">naturalsizeflag</code>
属性を削除しろと言っている。なかなか洒落たことを:)</li></ul></section></section><section><h1>実利用例</h1><p><a0:anchor-end a0:anchor="60">[60]</a0:anchor-end> <cite>https://web.archive.org/web/20050213215625if_/http://www.geocities.com:80/Paris/8975/comp.html</cite>, <time>2025-06-05T01:41:19.000Z</time> <a0:anchor-external a0:resScheme="URI" a0:resParameter="view-source:https://web.archive.org/web/20050213215625if_/http://www.geocities.com:80/Paris/8975/comp.html">view-source:https://web.archive.org/web/20050213215625if_/http://www.geocities.com:80/Paris/8975/comp.html</a0:anchor-external></p><blockquote><pre>&lt;IMG SRC=&quot;deda_linel.gif&quot; WIDTH=&quot;475&quot; HEIGHT=&quot;36&quot; ALIGN=&quot;BOTTOM&quot; NATURALSIZEFLAG=
&quot;3&quot;&gt;&lt;BR&gt;</pre></blockquote><comment-p xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:"><a0:anchor-end a0:anchor="61">[61]</a0:anchor-end> <a0:anchor>文字化け</a0:anchor>。 <a0:sw-see> <a0:anchor>georgian-academy</a0:anchor> </a0:sw-see></comment-p></section><section><h1>メモ</h1></section></body></html>