Index of /tests/evil/page-loading/alternative-content/investigation
Name Last modified Size Description
Parent Directory -
ieisms/ 2010-01-14 01:33 -
001.html 2004-05-02 11:35 1.7K noframes disabled
001.xml 2004-05-02 11:37 1.8K
002.html 2004-05-02 10:26 1.7K noframes enabled
002.xml 2004-05-02 10:31 1.7K
003.html 2004-05-02 10:31 1.6K noframes enabled dynamically
003.xml 2004-05-02 10:31 1.7K
004.html 2004-05-02 10:31 1.6K noframes disabled dynamically
004.xml 2004-05-02 10:31 1.7K
005.html 2004-05-02 11:39 2.4K noframes disabled and mutated dynamically
005.xml 2004-05-02 11:41 2.3K
006.html 2004-05-02 12:07 1.8K object disabled
006.xml 2004-05-02 11:58 1.9K
007.html 2004-05-02 11:58 1.9K object enabled
007.xml 2004-05-02 11:58 2.0K
008.html 2004-05-02 12:38 2.0K object disabled, content takes time to load
008.xml 2004-05-02 11:58 1.9K
009.html 2004-05-02 11:58 2.2K object enabled dynamically
009.xml 2004-05-02 11:58 2.1K
010.html 2004-05-03 02:53 18K content model for noframes, noscript, object
The question is basically: Given:
<script> ...1... </>
<one-of-the-elements-mentioned-below>
<script> ...2... </>
</one-of-the-elements-mentioned-below>
<script> ...3... </>
...what order do the script blocks execute in, in these scenarios:
a. the element is disabled, and stays disabled
b. the element is enabled, the content is available
c. the element is enabled, the content is not yet available but will be soon
d. the element is enabled, the content is not available
e. the element is enabled, the content is not available but we don't know yet
f. the element is disabled, but is later enabled triggering case b
g. the element is disabled, but is later enabled triggering case c
h. the element is disabled, but is later enabled triggering case d
i. the element is disabled, but is later enabled triggering case e
j. the element is enabled and content is known available but is then disabled
k. the element is enabled and content is known unavailable and then disabled
l. the element is enabled but is disabled while content is being loaded
m. the element is disabled and its contents manipulated through the DOM
(disabled means the contents aren't used; enabled means the contents
are used. Thus a disabled object element is one that is displaying its
data, and an enabled one is one that is showing its fallback content.)
This is especially important given document.write() calls in those scripts.
Then there are specific per-element questions:
<noframes> a=001, b=002, f=003 (if dynamic), j=004 (if dynamic), m=005
Should toggling frames on/off be dynamic, affecting already-loaded pages?
<noscript> a, b, f (if dynamic), j (if dynamic), m
Should toggling script on/off be dynamic, affecting already-loaded pages?
<input>
<img>
Should we do anything with what are basically replaced elements, or should
their contents go ahead and execute happily?
<iframe>
<object> a&d=006, b=007, c&e=008, f=009, g&i, h&k, j, l, m
<applet>
xlink:show="embed"
Should we show the alternative content while the document is loading?
(how about if there is an <object standby=""> attribute)
...and finally: Do we want all these elements to act the same? Or does it make
sense for some to be different?
Oh, and, should setting *{display:block!important} override this logic?
-- http://bugzilla.mozilla.org/show_bug.cgi?id=242298