Last modified: 2011-10-21 23:12:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33746, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31746 - Unordered list & items (ul and li inside ul) ignores list-style-type
Unordered list & items (ul and li inside ul) ignores list-style-type
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/User:SMc...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-16 05:58 UTC by S. McCandlish
Modified: 2011-10-21 23:12 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description S. McCandlish 2011-10-16 05:58:08 UTC
The parser is ignoring list-style-type on unordered lists, whether it is applied to the ul element or the individual li's or both. It is not ignoring the generalized list-style, just more specific list-style-type. This only affects ordered lists; unordered properly respond to all valid values of list-style-type in inline CSS.

Extensive simple test cases: 

http://en.wikipedia.org/wiki/User:SMcCandlish/Sandbox/Unordered_list_items_not_styleable

(Yes, I know it's not correctly named; I created the page before I discovered that list-style will work where list-style-type must but fails to).

I'm seeing this bug in the version that is deployed at en.wikipedia right now, whatever version that is.  I'm not presently toying with any test installations.

It seems weird that no one would have reported this before, unless it's a new bug, but I did look for previous bugs on the topic.
Comment 1 Brion Vibber 2011-10-21 23:05:46 UTC
There's a list-style-image in the style sheets for 'li' elements; this appears to be untouched by your override of list-style-type, so the round blue bullet image is still being used.
Comment 2 Brion Vibber 2011-10-21 23:12:34 UTC
Yep, it's working according to spec:

http://www.w3.org/TR/CSS21/generate.html#propdef-list-style-image

"This property sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker."

Add "list-style-image: none" into your style attributes to override that, and the list-style-type will shine right through.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links