diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-11-27 18:25:50 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-11-27 18:25:50 +0100 |
commit | 72608d2fd25a499afa07cec172088b75174d4ae4 (patch) | |
tree | fd5f4da9de0c3188a2ed7d653cc84ee5bdfe0438 /src/nav.h | |
parent | a0635d1f4b7fa7aa8396e1de590174fb840b205c (diff) |
fix nested <ul> handling in user agent style
Originally I hoped that <ul> elements would be nested like this:
<ul>
<li>foo</li>
<ul>
<li>bar</li>
</ul>
</ul>
in which case we could use ul > ul.
But instead it seems to be common to use:
<ul>
<li>foo</li>
<li>
<ul>
<li>bar</li>
</ul>
</li>
</ul>
The child selector ('>') is slightly more efficient than
the general descendant (' ') selector, but it doesn't
seem to matter much anyway.
Diffstat (limited to 'src/nav.h')
0 files changed, 0 insertions, 0 deletions