Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[css-backgrounds][css-display][css-box] anchoring terminology for the border box taking corner shape into account. #2324
As a baby step towards defining hit testing that would be useful in other places as well, a css spec should define some anchoring terminology for the area encompassed by the border of an element, taking corner shaping (by border-radius and possible future properties) into account.
Quite possibly the term
While we're at it, we should also clarify whether the
This would have been useful at least in in https://drafts.csswg.org/css-ui-3/#cursor, and in https://wicg.github.io/spatial-navigation/#heuristics
Another spec where having a word for the explicitly shaped border / padding box is css-contain (see #2223).
I suggest that we:
The Working Group just discussed
The full IRC log of that discussion<dael> Topic: Missing box termonology
<dael> github: https://github.com//issues/2324
<dael> florian: background 3 says border radius changes border edge. If you link to border edge it doesn't say if it effects it. The spec that does talks about border edge but not the other varius boxes. It makes it really awk to refer to in other specs. If we can define the border edge in level 3
<dael> TabAtkins: I like shaped border edge to refer to it.
<dael> florian: And we can add all the thigns that can be shaped.
<dael> TabAtkins: WE wanted to refer to the things outside.
<dael> florian: If it effects hit testing it should be there.
<dael> iank_: clip-path yes, but I don't believe share-outside
<dael> florian: Editors will do it? I think it's border and backgrounds L3
<dael> TabAtkins: Sure. Seems fine.
<dael> astearns: Since it's just missing testing to go to rec....it's just a term. As long as you don't open hit testing in backgrounds and border I'll be happy.
<dael> Rossen: prop: Add the definition of the border shape edge to Borders and Backgrounds L3
<dael> RESOLVED: Add the definition of the border shape edge to Borders and Backgrounds L3