[csswg-drafts] [css-lists-3] unordered lists with invalid list-style-type should not render as ordered lists (#3563)

svgeesus has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-lists-3] unordered lists with invalid list-style-type should not render as ordered lists ==
Originally filed by [Tom Robinson, 2015-01-19 on Bugzilla](https://www.w3.org/Bugs/Public/show_bug.cgi?id=27860) but Bugzilla will soon be phased out.

> unordered lists rendered in 6 browsers shows problem in Firefox

> The initial values for list-style-type are:

>     ol { list-style-type: decimal; }
>     ul { list-style-type: disc; }

> For nested lists it gets more complicated, but my concern is about a very simple case that is common on many legacy websites.

> There are many websites with <ul style="list-style-type:bullet"> or "disk" etc. In the past, the result looked fine because these invalid values were ignored, and reverted to the default of "disc".

> Recently, Firefox is "breaking" these sites by falling back to "decimal", and rendering such unordered lists are as ordered lists. The developers justify this by referring to the current CSS3 spec, which states that an invalid list-style-type should default to "decimal".

> Could the CSS spec wording be changed to state that the fallback should be "decimal" for ordered lists and "disc" for unordered lists?


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3563 using your GitHub account

Received on Monday, 28 January 2019 21:53:51 UTC