Bug 27810 - Illegal values for <ol start> cause list numbering start at 0 (should start at 1)
Summary: Illegal values for <ol start> cause list numbering start at 0 (should start a...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Darin Adler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-29 12:52 PDT by Darin Adler
Modified: 2009-07-29 16:29 PDT (History)
0 users

See Also:


Attachments
patch (82.14 KB, patch)
2009-07-29 14:17 PDT, Darin Adler
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2009-07-29 12:52:54 PDT
Hixie recently mentioned this on the whatwg list. IE and the HTML 5 specification both agree that if the start attribute of an ordered list element has a value that can't be parsed, list numbering should start with 1 as if the start attribute was not present at all. Easy to fix.
Comment 1 Darin Adler 2009-07-29 14:17:48 PDT
Created attachment 33742 [details]
patch
Comment 2 Darin Adler 2009-07-29 16:29:16 PDT
Sending        LayoutTests/ChangeLog
Adding         LayoutTests/fast/lists/ol-start-parsing.html
Adding         LayoutTests/platform/mac/fast/lists/ol-start-parsing-expected.checksum
Adding  (bin)  LayoutTests/platform/mac/fast/lists/ol-start-parsing-expected.png
Adding         LayoutTests/platform/mac/fast/lists/ol-start-parsing-expected.txt
Sending        WebCore/ChangeLog
Sending        WebCore/html/HTMLOListElement.cpp
Transmitting file data .......
Committed revision 46561.
http://trac.webkit.org/changeset/46561