Lonami
Lonami
Please use English when opening an issue on GitHub, since that's what everyone talks :)
> They tend not to be centered Do you mean the text label below the icons? > and even overlap when the screen rotates. Strange. No icons overlap for me.
Oh right, on the home screen shortcuts (I personally don't use those). It's set to a square grid, so there's not much we can do about that I would say?...
If backwards-compatibility is a concern, I would suggest adding a module `html5ever::constants` with all the `ATOM_` constants.
…and only after trying to solve this issue I found that [`string_cache_codegen`](https://docs.rs/string_cache_codegen/0.5.1/string_cache_codegen/) generates a macro, which for `html5ever` is [`local_name!`](https://docs.rs/html5ever/0.25.1/html5ever/macro.local_name.html). Well, that's a lot nicer to use, but at the...
Maybe provide something like this, perhaps have the `string_cache` crate generate this? ```rust macro_rules! make_tag_consts { ( $( $tag:tt => $constant:ident ),* ) => { $( const $constant: string_cache::Atom =...
> Hi. What are the benefits of using `TAG_A` instead of just `local_name!(a)`? It's semantically clearer what one means, since macros can do pretty much anything after all. But my...
I depended on `string_cache` to be able to name the constants' type, so that I could define my own constants with better naming. However, I wouldn't need to do this...
I re-learnt about `local_name!` and that definitely works just fine in `match` expressions. I'm not sure if it's a new addition at some point, but this can be closed.
@dhardy the problem with relying on the `README.md` is that it may more easily lead to inconsistencies in my opinion (i.e. a new feature was added but they forgot to...