Closed Bug 946895 Opened 11 years ago Closed 11 years ago

property_database.js is missing most of the list-style-type values

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: jruderman, Assigned: xidorn)

Details

Attachments

(1 file, 1 obsolete file)

We're missing some regression-test and fuzzing coverage as a result of this.

(I noticed this while looking at bug 934072, but it was out of date even beofre that.)
Assignee: nobody → quanxunzhen
Attached patch patch (obsolete) (deleted) — Splinter Review
Attachment #8343689 - Flags: review?(jruderman)
Is this patch based on a list of values from one of the CSS specs?

https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type indicates that we also support some -moz- values, but I'm not sure where to look in the code for the real list.
(In reply to David Baron [:dbaron] (needinfo? me) (UTC-8) from comment #3)
> http://hg.mozilla.org/mozilla-central/file/ae2c044c6418/layout/style/
> nsCSSProps.cpp#l1234

Thanks! I'll rewrite the patch according to this file.
I just wonder if we need to test the Mozilla extensions? And should I add the values with -moz- prefix if the unprefixed counterpart exists?
I think it should include all the values that we support (and no others).
Attached patch patch v2 (deleted) — Splinter Review
This patch adds all supported values from nsCSSProps.cpp.
Attachment #8343689 - Attachment is obsolete: true
Attachment #8343689 - Flags: review?(jruderman)
Attachment #8344087 - Flags: review?(jruderman)
Comment on attachment 8344087 [details] [diff] [review]
patch v2

Great!

I think this should go through tryserver on one platform (e.g. to make sure the -moz- aliases serlialize as expected).  Do you have/want tryserver access, or do you want me to push it to try for you?
Attachment #8344087 - Flags: review?(jruderman) → feedback+
Thanks to both of you for getting this fixed.
https://hg.mozilla.org/mozilla-central/rev/298fa4d5c72e
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: