<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.whatwg.org/index.php?action=history&amp;feed=atom&amp;title=Component_Model_Progressive_Enhancement</id>
	<title>Component Model Progressive Enhancement - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.whatwg.org/index.php?action=history&amp;feed=atom&amp;title=Component_Model_Progressive_Enhancement"/>
	<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Component_Model_Progressive_Enhancement&amp;action=history"/>
	<updated>2026-05-23T05:15:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Component_Model_Progressive_Enhancement&amp;diff=7526&amp;oldid=prev</id>
		<title>Rolandsteiner at 00:37, 29 October 2011</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Component_Model_Progressive_Enhancement&amp;diff=7526&amp;oldid=prev"/>
		<updated>2011-10-29T00:37:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:37, 29 October 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Set &amp;lt;code&amp;gt;became&amp;lt;/code&amp;gt; property on the existing instance to point to the newly created element.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Set &amp;lt;code&amp;gt;became&amp;lt;/code&amp;gt; property on the existing instance to point to the newly created element.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[User:Rolandsteiner|RolandSteiner]] Does this mean an author may need to duplicate CSS selectors, e.g., if we have &amp;lt;tt&amp;gt;&amp;amp;lt;div becomes=&amp;quot;x-foo&amp;quot; class=&amp;quot;c&amp;quot;&amp;amp;gt;&amp;lt;/tt&amp;gt; and a selector &amp;lt;tt&amp;gt;div.c&amp;lt;/tt&amp;gt;, don&amp;#039;t we then also need an equivalent selector &amp;lt;tt&amp;gt;x-foo.c&amp;lt;/tt&amp;gt;? OTOH, is it a problem?&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[User:Rolandsteiner|RolandSteiner]] Does this mean an author may need to duplicate CSS selectors, e.g., if we have &amp;lt;tt&amp;gt;&amp;amp;lt;div becomes=&amp;quot;x-foo&amp;quot; class=&amp;quot;c&amp;quot;&amp;amp;gt;&amp;lt;/tt&amp;gt; and a selector &amp;lt;tt&amp;gt;div.c&amp;lt;/tt&amp;gt;, don&amp;#039;t we then also need an equivalent selector &amp;lt;tt&amp;gt;x-foo.c&amp;lt;/tt&amp;gt;? OTOH, is it a problem&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;? Perhaps more so in JS with querySelectorAll than in CSS&lt;/ins&gt;?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rolandsteiner</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Component_Model_Progressive_Enhancement&amp;diff=7525&amp;oldid=prev</id>
		<title>Rolandsteiner: add question</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Component_Model_Progressive_Enhancement&amp;diff=7525&amp;oldid=prev"/>
		<updated>2011-10-29T00:36:25Z</updated>

		<summary type="html">&lt;p&gt;add question&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:36, 29 October 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l19&quot;&gt;Line 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Fire &amp;quot;&amp;lt;code&amp;gt;become&amp;lt;/code&amp;gt;&amp;quot; event on the existing instance.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Fire &amp;quot;&amp;lt;code&amp;gt;become&amp;lt;/code&amp;gt;&amp;quot; event on the existing instance.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Set &amp;lt;code&amp;gt;became&amp;lt;/code&amp;gt; property on the existing instance to point to the newly created element.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Set &amp;lt;code&amp;gt;became&amp;lt;/code&amp;gt; property on the existing instance to point to the newly created element.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[User:Rolandsteiner|RolandSteiner]] Does this mean an author may need to duplicate CSS selectors, e.g., if we have &amp;lt;tt&gt;&amp;amp;lt;div becomes=&quot;x-foo&quot; class=&quot;c&quot;&amp;amp;gt;&amp;lt;/tt&gt; and a selector &amp;lt;tt&gt;div.c&amp;lt;/tt&gt;, don&#039;t we then also need an equivalent selector &amp;lt;tt&gt;x-foo.c&amp;lt;/tt&gt;? OTOH, is it a problem?&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rolandsteiner</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Component_Model_Progressive_Enhancement&amp;diff=7100&amp;oldid=prev</id>
		<title>Dglazkov: Created page with &#039;A. While adding an element to a DOM tree: # Check for existence of the &lt;code&gt;becomes&lt;/code&gt; attribute. If the attribute exists: ## Check the value of  the &lt;code&gt;becomes&lt;/code&gt; at...&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Component_Model_Progressive_Enhancement&amp;diff=7100&amp;oldid=prev"/>
		<updated>2011-08-31T17:48:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;A. While adding an element to a DOM tree: # Check for existence of the &amp;lt;code&amp;gt;becomes&amp;lt;/code&amp;gt; attribute. If the attribute exists: ## Check the value of  the &amp;lt;code&amp;gt;becomes&amp;lt;/code&amp;gt; at...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A. While adding an element to a DOM tree:&lt;br /&gt;
# Check for existence of the &amp;lt;code&amp;gt;becomes&amp;lt;/code&amp;gt; attribute. If the attribute exists:&lt;br /&gt;
## Check the value of  the &amp;lt;code&amp;gt;becomes&amp;lt;/code&amp;gt; attribute against the names of already defined elements. &lt;br /&gt;
### If such element exists, go to step X.&lt;br /&gt;
### Otherwise, store a reference to this instance in a &amp;quot;may-become&amp;quot; table.&lt;br /&gt;
&lt;br /&gt;
B. When a new element is registered:&lt;br /&gt;
# Check to see if there are any instances waiting in the &amp;quot;may-become&amp;quot; table for this element&amp;#039;s name&lt;br /&gt;
# If so, collect all these instances and, for each instance, go to step X.&lt;br /&gt;
&lt;br /&gt;
C. When the &amp;quot;becomes&amp;quot; attribute is set:&lt;br /&gt;
# If the element is in tree, go to step A 1.1.&lt;br /&gt;
&lt;br /&gt;
X. Becoming another element (in Element existing instance).&lt;br /&gt;
# Create the element by the name, specified in the &amp;lt;code&amp;gt;becomes&amp;lt;/code&amp;gt; attribute of the existing instance&lt;br /&gt;
# If the existing instance is already in document tree:&lt;br /&gt;
## execute renameNode (or something better) to replace the old element with the newly created element.&lt;br /&gt;
## Otherwise, insert newly create element in DOM tree.&lt;br /&gt;
# Fire &amp;quot;&amp;lt;code&amp;gt;become&amp;lt;/code&amp;gt;&amp;quot; event on the existing instance.&lt;br /&gt;
# Set &amp;lt;code&amp;gt;became&amp;lt;/code&amp;gt; property on the existing instance to point to the newly created element.&lt;/div&gt;</summary>
		<author><name>Dglazkov</name></author>
	</entry>
</feed>