Bug 12899 - Ordered lists not updating dynamically with new styles
Summary: Ordered lists not updating dynamically with new styles
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: GoogleBug, InRadar
Depends on:
Blocks:
 
Reported: 2007-02-26 10:20 PST by Steven Saviano
Modified: 2007-02-27 16:02 PST (History)
1 user (show)

See Also:


Attachments
Test case for changing ol style via type attribute, style.listTyleType, and list-style-type CSS rule (794 bytes, text/html)
2007-02-26 10:21 PST, Steven Saviano
no flags Details
Update list marker on marker type style change (34.74 KB, patch)
2007-02-26 12:49 PST, mitz
koivisto: review+
Details | Formatted Diff | Diff
Test case for changing the "start" attribute of the ol tag. OBSOLETE - not for this bug (491 bytes, text/html)
2007-02-27 07:44 PST, Steven Saviano
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Saviano 2007-02-26 10:20:48 PST
Steps:
1) Make an ordered list. (using <ol>)
2) Try to change the style of the lists via any known way: "type" attribute, style.listStyleType, change the classes on the element that have a list-style-type rule

Expected Result:
1) The underlying html changes and the list redraws to display this style change.

Actual Result:
1) The underlying html changes BUT the list does not redraw to display this style change.

I tested this on r19843. NOTE: The styles of an unordered list do update correctly.
Comment 1 Steven Saviano 2007-02-26 10:21:50 PST
Created attachment 13382 [details]
Test case for changing ol style via type attribute, style.listTyleType, and list-style-type CSS rule
Comment 2 David Harrison 2007-02-26 10:40:08 PST
rdar://4889356
Comment 3 mitz 2007-02-26 12:49:01 PST
Created attachment 13385 [details]
Update list marker on marker type style change

Includes layout test and change log.
Comment 4 Antti Koivisto 2007-02-26 13:10:39 PST
Comment on attachment 13385 [details]
Update list marker on marker type style change

r=me
Comment 5 Mark Rowe (bdash) 2007-02-26 21:26:23 PST
Landed in r19875.
Comment 6 Steven Saviano 2007-02-27 07:43:55 PST
The ordered list is also not being redraw for the "start" attribute of the ol tag.

New test case being added now.
Comment 7 Steven Saviano 2007-02-27 07:44:48 PST
Created attachment 13398 [details]
Test case for changing the "start" attribute of the ol tag. OBSOLETE - not for this bug
Comment 8 Steven Saviano 2007-02-27 09:46:09 PST
Marking back as fixed and creating a new bug per Maciej's comments.
Comment 9 Beth Dakin 2007-02-27 16:02:14 PST
*** Bug 12911 has been marked as a duplicate of this bug. ***