daniel added a comment.

I am the "poor soul" writing CSS. I can assure you, there is no problem with wrapping things that are lists in a tag that represents a list, and not doing this with things that are not a list.

Well, I guess that's the crux of the disagreement, then: I think it is a list even if there is only one element, and it should be made obvious that it is a list. In particular, callers should never rely on it not being a list, even if it is commonly a single value.

I don't understand why you say that. In the discussions I was involved in nobody ever said it would be a good idea to give any guarantees about inline vs. block elements. It's guaranteed to be a DOM element. That's all.

We did have a lengthy discussion about div vs span because of this issue. IIRC we decided to actually guarantee an inline element there. It's rather important for the caller to know whether they will get an inline or block element.


TASK DETAIL
https://phabricator.wikimedia.org/T147307

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: hoo, daniel
Cc: gerritbot, Izno, Aklapper, Lydia_Pintscher, daniel, aude, Lucie, thiemowmde, hoo, Lewizho99, Maathavan, D3r1ck01, Wikidata-bugs, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to