[Bug 27860] New: unordered lists with invalid list-style-type should not render as ordered lists

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27860

            Bug ID: 27860
           Summary: unordered lists with invalid list-style-type should
                    not render as ordered lists
           Product: CSS
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Lists and Counters
          Assignee: jackalmage@gmail.com
          Reporter: trobinson@gksystems.com
        QA Contact: public-css-bugzilla@w3.org

Created attachment 1564
  --> https://www.w3.org/Bugs/Public/attachment.cgi?id=1564&action=edit
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?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 19 January 2015 17:58:33 UTC