Dan Tonon

Results 137 comments of Dan Tonon

I'm not really interested in creating a PR. I'm comfortable enough with CSS Grid to write my code without a visual tool to help me. I created the ticket so...

I really like Rachel's original suggestion although I would change it to "with" rather than "in" because you are more looking for a generic relationship between the 2 rather than...

> In the case of flex gap specifically, is there _any_ workaround for web developers to detect support for it? Yes, there is but you have to use JS to...

Is there any chance of `element.scrollIntoView` and `window.scroll` returning a promise that resolves when the scroll animation has ended? Or is that going to break backwards compatibility? Applied to `element.scrollIntoView`...

@Kymy no, I think I ended up just using `setTimeout` which is *far* from perfect but it is close enough to do the job for now. ```js element.scrollIntoView({ behavior: 'smooth'...

I get the feeling [the solution I mention above](https://github.com/w3c/csswg-drafts/issues/3744#issuecomment-564821823) (using a promise) is going to break backwards compatibility since `element.scrollIntoView` will go from returning a falsy value (undefined) to a...

> Unfortunately, this is highly unreliable. The scrolling easily can take more than 500ms even for a very short content because the browser can be resource-constrained by other heavy pages...

There are legitimate cases for adding div[onclick] so there should also be a way to ignore this rule. (eg. Making a card clickable without wrapping the whole card in a...

In this comment it was suggested that the toggle switch immediately submits after being toggled. https://discourse.wicg.io/t/proposal-a-toggle-switch-control-element/3620/3 That would actually be an accessibility violation against [3.2.2 On Input](https://www.w3.org/TR/UNDERSTANDING-WCAG20/consistent-behavior-unpredictable-change.html). You need to...

HTML is supposed to be accessible by default so anything that suggests that it auto-submits when it changes isn't an option. Not unless some fancy new native browser AJAX like...