Summary: | display: none ignored on outermost SVG element | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Elliott Sprehn <esprehn> | ||||
Component: | SVG | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | bfulgham, eric, pdr, schenney, webkit-bug-importer, zimmermann | ||||
Priority: | P2 | Keywords: | HasReduction, InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Elliott Sprehn
2012-11-28 01:11:06 PST
Created attachment 176422 [details]
Reduction
This is a side effect of the fact that SVG needs renderers for content hat the SVG spec defines as display:none. Examples include filters, masks, patterns, anything in defs elemens, etc. Mozilla have apparently also had issue with this: https://bugzilla.mozilla.org/show_bug.cgi?id=376027 We should still fix it though, as it should be possible to put display:none on the root SVG and have nothing display. Safari and Chrome fail this test. Firefox handles it properly. |