Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Normalizes Object#SVG Size and Alignment #99

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants

Resolves Normalize.css Issue #96

And here are screenshots in every browser showing consistency - just in case you need it.

https://www.dropbox.com/sh/3th0yan3afizznm/DhUmvbvD-X/ss

@ghost ghost assigned necolas Jun 12, 2012

Really thorough work on the issue @andrewheins, it's good to have such a comprehensive set of results for any quirk. Thank you for sharing.

However I think if this was added it would not be without some problems. The performance of attribute substring selectors is pretty poor, and asking a browser to evaluate the rules would be cumbersome, more so given SVG usage is still low.

Perhaps the solution could be to add this but commented out and with a URL to a resource detailing the issue?

I think that's a fair solution.

Another option might be to create a utility class the user could add to the object element, which would allow selective implementation, but I'm not sure how well utility classes mesh with the intent of the project - normalize seems to be aiming more for a set-and-forget universal implementation instead of selective implementation.

If @necolas can let me know what direction he'd prefer, I'll write up my documentation and get back to you with a url.

Owner

necolas commented Jun 12, 2012

Thanks a lot for getting back to me about this. I like to mull over certain changes for a while and have a chance to do my own tests as well.

I'd definitely encourage you to document your research on your blog because it might be useful to developers in general. And if the utility class ends up being a better fit, then it's the sort of thing we'd consider for inclusion in the HTML5 Boilerplate helper classes. Thanks again!

Owner

necolas commented Dec 2, 2012

Andrew, did you ever get around to documenting this code somewhere? Thanks

No, I kind of forgot about it. I've been caught up in other things
but could probably take a look at it over the holidays. Does that
work?

Owner

necolas commented Dec 2, 2012

Yeah, no hurry. I was just curious and felt like reading about the work you did. Thanks

Owner

necolas commented Dec 30, 2012

Thanks but closing. See #96

@necolas necolas closed this Dec 30, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment