-
Notifications
You must be signed in to change notification settings - Fork 200
Uncomment keys and compute_from (features A-C) #1400
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,13 +3,12 @@ description: The `CSSStyleSheet` constructor creates a new stylesheet which can | |
| spec: | ||
| - https://drafts.csswg.org/cssom-1/#dom-cssstylesheet-cssstylesheet | ||
| - https://drafts.csswg.org/cssom-1/#dom-documentorshadowroot-adoptedstylesheets | ||
| status: | ||
| compute_from: api.CSSStyleSheet.CSSStyleSheet | ||
| compat_features: | ||
| - api.CSSStyleSheet.CSSStyleSheet | ||
| - api.CSSStyleSheet.replace | ||
| - api.CSSStyleSheet.replaceSync | ||
| - api.Document.adoptedStyleSheets | ||
| - api.ShadowRoot.adoptedStyleSheets | ||
| # Setting the base URL is probably not important for typical uses of | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here, and elsewhere. It would be nice if we had a way to keep these editorial notes in there somewhere, maybe in a more structured form.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I agree that it would be nice, though I think Moreover, a lot of And in the meantime, do you want me to preserve this comment specifically?
This is the one bit I'm not especially keen on. We used to do just that and it meant that every single change to a feature YAML required a refresh. People didn't like it! 😄
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agreed that just having a comment that says "later addition" isn't useful. I'm more concerned about the various links and pieces of info that we spent time digging up when researching a feature. |
||
| # constructed stylesheets (it doesn't appear in examples) and should be | ||
| # treated as a later minor addition to the feature. | ||
| # - api.CSSStyleSheet.CSSStyleSheet.options_baseURL_parameter | ||
| - api.CSSStyleSheet.CSSStyleSheet.options_baseURL_parameter | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,17 @@ status: | |
| safari: "17" | ||
| safari_ios: "17" | ||
| compat_features: | ||
| # ⬇️ Same status as overall feature ⬇️ | ||
| # baseline: low | ||
| # baseline_low_date: 2023-09-18 | ||
| # support: | ||
| # chrome: "91" | ||
| # chrome_android: "91" | ||
| # edge: "91" | ||
| # firefox: "33" | ||
| # firefox_android: "33" | ||
| # safari: "17" | ||
| # safari_ios: "17" | ||
| - api.CSSCounterStyleRule | ||
| - api.CSSCounterStyleRule.additiveSymbols | ||
| - api.CSSCounterStyleRule.fallback | ||
|
|
@@ -21,7 +32,9 @@ compat_features: | |
| - api.CSSCounterStyleRule.pad | ||
| - api.CSSCounterStyleRule.prefix | ||
| - api.CSSCounterStyleRule.range | ||
| - api.CSSCounterStyleRule.speakAs | ||
| - api.CSSCounterStyleRule.suffix | ||
| - api.CSSCounterStyleRule.symbols | ||
|
Comment on lines
+35
to
+37
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is by far the weirdest bit. I don't know if we should be troubled by properties for unsupported descriptors, but it's at least true (it made me stop to check that these are indeed on
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's surprising that this has been exposed in CSSOM in both Chrome and Firefox if they don't actually work. But if that's true, I think they ought to be
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I looked at this more closely. For For We can wait on the latter PR, or I can comment out the key until it lands. Do you have a preference (and maybe we should turn that preference into a policy)?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think waiting for BCD slows us down and we need a policy that allows us to think about these things once. And the risk to minimize is the risk that whatever we assume will happen doesn't happen, and we never notice we got it wrong. I think these won't be Baseline anyway, so OK to just proceed, |
||
| - api.CSSCounterStyleRule.system | ||
| - css.at-rules.counter-style | ||
| - css.at-rules.counter-style.additive-symbols | ||
|
|
@@ -32,3 +45,15 @@ compat_features: | |
| - css.at-rules.counter-style.range | ||
| - css.at-rules.counter-style.suffix | ||
| - css.at-rules.counter-style.system | ||
|
|
||
| # baseline: false | ||
| # support: | ||
| # safari: "17" | ||
| # safari_ios: "17" | ||
| - css.at-rules.counter-style.symbols | ||
|
|
||
| # baseline: false | ||
| # support: | ||
| # firefox: "33" | ||
| # firefox_android: "33" | ||
| - css.at-rules.counter-style.speak-as | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a feeling we should keep this comments, and others like it. There's some good research in there, which I would hate to lose.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can see that. In the interest of consolidating all of untangling of this feature, I've updated and linked to #1249 with 81296e3.