add Snap a length as a line width#44194
Open
sb3nder wants to merge 1 commit into
Open
Conversation
Contributor
|
Preview URLs (1 page) External URLs (1)URL:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add high level description of the
Snap a length as a line widthrounding method, to the<length>CSS type" page.Motivation
The computed value for
border-*-width,column-rule-width,outline-width,outline-offset,-webkit-border-*-width, is specified as "the absolute length, snapped as a line width" .There is no docs explaing what that means, that I can easely link in the computed value description.
Additional details
border-*-width,column-rule-width,outline-widthsnapped as a line width:w3c/csswg-drafts#5210
Computed value untangled from
*-styleproperties value:w3c/csswg-drafts#11494 (comment)
outline-offsetsnapped as a line width:w3c/csswg-drafts#12906
Definition of "length snapped as a line width":
https://drafts.csswg.org/css-values-4/#snap-as-a-line-width
Related issues and pull requests
Fixes #44193
Relates mdn/data#1069