Open
Bug 633783
Opened 13 years ago
Updated 2 years ago
If list-style-image has an SVG image with percent height and/or width, no image is drawn
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
NEW
People
(Reporter: dholbert, Unassigned)
Details
If you have list-style-image: url('foo.svg') with foo.svg having a percent-valued height and/or width on its root <svg> node, then the image isn't drawn. (It looks like we might treat it as if that dimension were 0px, and we honor the other dimension. For example, if you have width=50% height=200px, then the list items end up being about 200px apart vertically, even though no image is drawn.) See also Tab Atkins' discussion of the spec vs. various browsers' behaviors in this thread: http://lists.w3.org/Archives/Public/www-style/2011Feb/0364.html (When he mentions Firefox there, I suspect he's referring to 3.6 or another version from before SVG-as-an-image support was added.)
I'd think the patches in bug 611099 ought to fix this, since they remove the concept of percent intrinsic size.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•