On 07/05/2014 03:00 PM, Dave wrote:
I did some local testing with the Basic theme and did not see the mobile
problems mentioned in that blog entry, so that would be helpful.

Hi Dave, I don't know what happened, but I can't duplicate Kyle's problem either: http://www.nailedtothex.org/roller/kyle/entry/nested-list-element-issue-of1, but noticed another one.

I noticed however, in his example, he's making a <ul> a direct child of a <ol> but according to the HTML 5 (and probably earlier standards), only a <li> can be a child of an <ol>, i.e., he should have embedded that <ul> within an <li>. With a ul as an immediate child of an ol, the behavior would probably be undefined, even if most browsers (and our Mobile theme) support it. So I guess we can forget about that issue.

Anyway, for this blog entry.

<p>But, in a larger sense, we can not dedicate -- we can not consecrate -- we can not hallow -- this ground. The brave men, living and dead, who struggled here, have consecrated it, far above our poor power to add or detract. The world will little note, nor long remember what we say here, but it can never forget what they did here. It is for us the living, rather, to be dedicated here to the unfinished work which they who fought here have thus far so nobly advanced. It is rather for us to be here dedicated to the great task remaining before us -- that from these honored dead we take increased devotion to that cause for which they gave the last full measure of devotion -- that we here highly resolve that these dead shall not have died in vain -- that this nation, under God, shall have a new birth of freedom -- and that government of the people, by the people, for the people, shall not perish from the earth.</p>

<p>Good HTML:</p>

<ul>
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
<li>
<ol>
<li>Fourth Item</li>
<li>Fifth Item</li>
<li>Sixth Item</li>
</ol>
</li>
</ul>

<p>Bad HTML:</p>

<ul>
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
<ol>
<li>Fourth Item</li>
<li>Fifth Item</li>
<li>Sixth Item</li>
</ol>
</ul>

Both "good" and "bad" HTML work fine, as mentioned earlier, but the real problem is that the paragraph at the top ends up getting truncated after the first line, there's no word wrapping, text is lost. If I remove the enclosing <p> element around the paragraph the text renders fine in mobile though. So that's the only thing I can see needing fixing with Mobile.

Regards,
Glen

Reply via email to