[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Bug#34005: a <ul> list that is inside an <ol> list shows up as an <ol> list
From:       Vadim Plessky <lucy-ples () mtu-net ! ru>
Date:       2001-10-27 17:08:21
[Download RAW message or body]

On Monday 22 October 2001 20:06, fredh@xandros.com wrote:
|   Package: khtml
|   Version: 2.2.1 (using KDE 2.2.1 )
|   Severity: normal
|   Installed from:    Debian Package 4:2.2.1-11 (testing/unstable)
|
|   A <ul> list inside an <ol> list should show up as a bulletted list within
| a numbered list. 

may I ask you why do you think so?

| Unfortunately it just shows up as another numbered list.
|

ok,  does adding this CSS rule to your html code help?  :-)
<style type="text/css">
   OL UL {  list-style-type: circle;}
</style>

Anyway, as it's already second bug report about the same problem, may be we 
should add this rule to html4.css default stylesheet?
besides, it seems that exact rule for "test2" (make disc, not circle) is 
ignored by KHTML. Mozilla displays disc, Konq - circle.
But anyway, original bug can be closed.

|   Here is the html code that demonstrates the flaw:
|

try my testcase below, works in Konq.

--------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<htmL>
<head><TITLE>konqi unordered and ordered lists</title>
<style type="text/css">
 .di { list-style-type: disc; }
 .ci { list-style-type: circle; }
 .dec { list-style-type: decimal; }
/* UL UL { list-style-type: circle; }
 */
 OL UL {  list-style-type: circle;}

</style>
</head>
<body>
<p>test 1</p>
<ol>
  <li>olItem
  <li>olItem
  <ul>
    <li>ulItem
    <li>ulItem
  </ul>
  <li>olItem
  <li>olItem
</ol>

<p>test 2</p>
<ol>
  <li>olItem
  <li>olItem
  <ul class="di">
    <li>should be disc
    <li>disc, too
  </ul>
  <li>olItem
  <li>olItem
</ol>

<p>test 3</p>
<ol>
  <li>olItem
  <li>olItem
  <ul class="ci">
    <li>should be circle
    <li>circle, too
  </ul>
  <li>olItem
  <li>olItem
</ol>
</body></html>

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic