-
Notifications
You must be signed in to change notification settings - Fork 719
[css-backgrounds][css-display][css-box] anchoring terminology for the border box taking corner shape into account. #2324
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
Labels
Comments
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 |
jihyerish
pushed a commit
to jihyerish/csswg-drafts
that referenced
this issue
Nov 25, 2019
Related issue(w3c#2324) looks like to be resolved.
See also #5896 (comment) |
The paragraph didn't make it into css-box-3. It is in the css-box-4 WD. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
border edge
is the one I'm after, but it is defined in CSS2.1 without mentioning border-radius, then effectively monkey-patched in CSS Backgrounds 3 §5.1 to say that it is affected by border radius. That spec should probably provide an updating definition ofborder edge
that states explicitly states it takes corner shaping into account(corner shaping
should probably be an anchor term as well), and then let border-radius state how does the corner shaping.While we're at it, we should also clarify whether the
border box
takes corner shaping into account.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
The text was updated successfully, but these errors were encountered: