Skip to content
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

Update Unlayered styles always winning over Layered styles #12011

Closed
wants to merge 1 commit into from

Conversation

buondevid
Copy link
Contributor

@buondevid buondevid commented Jan 14, 2022

Summary

I updated the docs to the current spec in a very important aspect of it: the position of the Unlayered style layer.
Initially, it was supposed to be first (so overridable by layers), now it's last (overrides any layer).

Motivation

The spec changed 3 months ago, time to update your docs :)

The docs now should be correct at least, I'm not sure whether it's the better formulation as English is not my mother tongue.

Extra: the last LiveSample looks broken, no styling is applied at the moment.

Supporting details

w3c/csswg-drafts#6284 (comment)

Metadata

  • Adds a new document
  • Rewrites (or significantly expands) a document
  • Fixes a typo, bug, or other error

The spec changed 3 months ago, time to update your docs :) w3c/csswg-drafts#6284 (comment)

The docs now should be correct at least, I'm not sure whether it's the better formulation as English is not my mother tongue.

Extra: the last LiveSample looks broken, no styling is applied at the moment.
@buondevid buondevid requested a review from a team as a code owner January 14, 2022 23:37
@buondevid buondevid requested review from rachelandrew and removed request for a team January 14, 2022 23:37
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label Jan 14, 2022
@github-actions
Copy link
Contributor

Preview URLs

Flaws

URL: /en-US/docs/Web/CSS/@layer
Title: @layer
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.at-rules.layer

External URLs

URL: /en-US/docs/Web/CSS/@layer
Title: @layer
on GitHub

No new external URLs

@Rumyra
Copy link
Collaborator

Rumyra commented Feb 1, 2022

Hi @buondevid - thanks so much for the contribution. These docs were updated in this pr (including the example) #12185 - these will be reflected on the site now. Let me know if there's anything you would change 👍

@Rumyra Rumyra closed this Feb 1, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Content:CSS Cascading Style Sheets docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants