-
Notifications
You must be signed in to change notification settings - Fork 715
[css-lists-3] Compute non-existent list-style-type
<counter-style> to decimal
?
#4210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I don't think Gecko does that anymore?
|
I think the behavior was changed in bug 1524328. So I guess maybe we should say the computed value of |
I don't see why we should go with unspecified, if we can settle on an answer. That's only really something we do if we have multiple incompatible impls and no good way to find consensus between them. As I said before, I don't think there's any particularly good reason to choose one way or the other, so we should do whatever is easiest. Looks like leaving the style around in computed style works best, as it lets Firefox delay having to resolve that style until later in the pipeline. I imagine Blink would benefit similarly (tho right now we don't implement @counter-style at all, so it's just an invalid declaration right now). |
The CSS Working Group just discussed
The full IRC log of that discussion<AmeliaBR> Topic: Compute non-existent `list-style-type` <counter-style> to `decimal`?<AmeliaBR> github: https://github.com//issues/4210 <AmeliaBR> TabAtkins: fantasai discovered this when cleaning up lists spec. Issue is what should computed style be if you set the list-style-type to a custom ident that doesn't currently exist. <AmeliaBR> …The used style is decimal. But computing that eagerly (as Firefox used to do) can be problematic, since @-rule could be added later. <AmeliaBR> …I don't think any other browsers yet implement custom idents; they reject at parse time. I think best to follow current Firefox. Computed value is the custom ident. <fantasai> s/cleaning up/doing archaeology for the/ <AmeliaBR> astearns: There are Firefox folks in thread pointing out that current behavior wasn't really intentional. <AmeliaBR> TabAtkins: That's OK. It's still good behavior. Let's spec it properly. <AmeliaBR> dbaron: If Emilio's OK with it, I'm OK with it. <AmeliaBR> TabAtkins: He wrote the current Firefox behavior, so I hope so. <AmeliaBR> astearns: And this will just be no-change to current spec. <AmeliaBR> RESOLVED: No change re computed value of list-style-type |
In https://lists.w3.org/Archives/Public/www-style/2016May/0076.html @upsuper wrote:
@tabatkins replied
Any other opinions, or should we update the spec to match Gecko?
The text was updated successfully, but these errors were encountered: