Originally filed by Tom Robinson, 2015-01-19 on Bugzilla 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?
Originally filed by Tom Robinson, 2015-01-19 on Bugzilla but Bugzilla will soon be phased out.