Re: [csswg-drafts] [css-contain-1] in layout containment section, `display:contents`, `none`, and `table-cell` values should link to these value definitions (#3889)

> I guess that's the part I would change, and make bikeshed link "prop: value" to the value instead. If you just meant the property, there's not need to specifiy the value, but when you mean the value, showing the property can be useful for context, but you're still talking about a particular value.

Can't in general; the `''prop: val''` syntax is generally used for arbitrary CSS examples, and there's no guarantee of a reasonable mapping between the value and a value definition (that is, a machine-parsable mapping that doesn't involve Bikeshed needing a deep understanding of CSS syntax and grammars).  Theoretically I could map simple examples, like `display: none`, but it would be weird that `width: 10px` would still just link to 'width', rather than its `<length>` value definition.

> In particular, when I visit the current display:none link-target (drafts.csswg.org/css-display-3/#propdef-display ) in a maximized browser, I have to hit my PageDown key 6 times in order to arrive at the section where the none value is actually defined.

Yeah, that kinda sucks. I'll see about making the values in the propdef link to their definition.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3889#issuecomment-490686102 using your GitHub account

Received on Wednesday, 8 May 2019 23:19:56 UTC