[go: nahoru, domu]

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

[css-values] Definition of 2D Positioning: the <position> type #2193

Closed
lahmatiy opened this issue Jan 16, 2018 · 3 comments
Closed

[css-values] Definition of 2D Positioning: the <position> type #2193

lahmatiy opened this issue Jan 16, 2018 · 3 comments

Comments

@lahmatiy
Copy link
Contributor

The latest version of CSS Backgrounds and Borders Module Level 3 has changed definition of <bg-layer> and <final-bg-layer> to use <bg-position> instead of <position>. I did a little research into the difference and found that CSS Values and Units Module Level 4 has its own syntax of <position> with notes:

Note: The background-position property also accepts a three-value syntax. This has been disallowed generically because it creates parsing ambiguities when combined with other length or percentage components in a property value.

It's good to know. But there are a couple of problems:

  • CSS Values and Units Module Level 4 (WD) – doesn't reflect changes about <position> in Changes section
  • CSS Values and Units Module Level 3 (CR) – still refers to CSS Backgrounds and Borders Module Level 3 with no notes about the difference

I believe it should fixed in one way or another to be less confused: add a notes to <position> section and an entry to Changes section to L3, or add an entry to Changes section in L4.

@fantasai
Copy link
Collaborator
fantasai commented Feb 3, 2018

Afaict, css-values-3 and css-values-4 have identical text, which defines a syntax and defers interpretation to css3-background, which defines a superset of said syntax. So I don't see a problem.

As css-values-4 is a new spec, its changes section will consist only of differences from css-values-3 upon publication of FPWD.

Closing as invalid.

@lahmatiy
Copy link
Contributor Author
lahmatiy commented Feb 3, 2018

Afaict, css-values-3 and css-values-4 have identical text

No, they are not identical or I'm looking wrong urls.

CSS Values and Units Module Level 3 (CR)

https://www.w3.org/TR/css-values-3/#position
https://www.w3.org/TR/css-values/#position
image

CSS Values and Units Module Level 4 (WD)

https://drafts.csswg.org/css-values/#position
image

@fantasai
Copy link
Collaborator
fantasai commented Feb 3, 2018

https://drafts.csswg.org/css-values-3/

I've been trying to get the copy on www.w3.org updated since August, but the CSSWG was really dragging its heels on #434 . I checked in the edits last night, though, so assuming I get approval next Wednesday, we should be able to publish in 2 weeks. (CR updates take a long time, unfortunately. 🙁 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants