Re: [csswg-drafts] [selectors] decide on :blank (#1967)

I ended up here after trying to understand why `:empty` doesn't work as I expected it to (a node with a whitespace is not considered empty).

I think this is a case where just changing the spec and browser behavior to match what I'd argue most people assume it does (that an element with only whitespace is still considered empty), is the right way to go (even though some might technically argue it's "breaking").

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 19 May 2025 13:09:03 UTC