Re: [csswg-drafts] [css-lists-3] Clarify sizing of marker images. (#4207)

[Testcase](https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cstyle%3E%0Ali%20%7B%20list-style-position%3A%20inside%20%7D%0Ali%3Anth-child(1)%20%7B%20list-style-image%3A%20url(%27data%3Aimage%2Fsvg%2Bxml%2C%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cellipse%20cx%3D%2250%25%22%20cy%3D%2250%25%22%20rx%3D%2250%25%22%20ry%3D%2250%25%22%20fill%3D%22blue%22%20%2F%3E%3C%2Fsvg%3E%27)%20%7D%0Ali%3Anth-child(2)%20%7B%20list-style-image%3A%20url(%27data%3Aimage%2Fsvg%2Bxml%2C%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2250px%22%3E%3Cellipse%20cx%3D%2250%25%22%20cy%3D%2250%25%22%20rx%3D%2250%25%22%20ry%3D%2250%25%22%20fill%3D%22blue%22%20%2F%3E%3C%2Fsvg%3E%27)%20%7D%0Ali%3Anth-child(3)%20%7B%20list-style-image%3A%20url(%27data%3Aimage%2Fsvg%2Bxml%2C%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2250px%22%3E%3Cellipse%20cx%3D%2250%25%22%20cy%3D%2250%25%22%20rx%3D%2250%25%22%20ry%3D%2250%25%22%20fill%3D%22blue%22%20%2F%3E%3C%2Fsvg%3E%27)%20%7D%0Ali%3Anth-child(4)%20%7B%20list-style-image%3A%20url(%27data%3Aimage%2Fsvg%2Bxml%2C%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2250px%22%20width%3D%2250px%22%3E%3Cellipse%20cx%3D%2250%25%22%20cy%3D%2250%25%22%20rx%3D%2250%25%22%20ry%3D%2250%25%22%20fill%3D%22blue%22%20%2F%3E%3C%2Fsvg%3E%27)%20%7D%0A%3C%2Fstyle%3E%0A%3Cli%3Eempty%3C%2Fli%3E%0A%3Cli%3Eheight%3D%2250px%22%3C%2Fli%3E%0A%3Cli%3Ewidth%3D%2250px%22%3C%2Fli%3E%0A%3Cli%3Eheight%3D%2250px%22%20width%3D%2250px%22%3C%2Fli%3E)
In Chromium and WebKit, if some intrinsic size is missing, it's set to the font ascent divided by 2.
In Firefox, it's set to 0.

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

Received on Saturday, 25 July 2020 13:07:20 UTC