Closed
Bug 1600060
Opened 6 years ago
Closed 6 years ago
CSS 'all: revert' breaks SVG
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: david, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36 OPR/65.0.3467.48
Steps to reproduce:
<style>
- {
all: revert;
}
</style>
<svg viewBox="0 0 100 100">
<rect width="100" height="100" />
</svg>
Actual results:
You should see rectangle
Expected results:
Rectangle disappears, because "all: revert" removes width, height, fill, etc…
Comment 1•6 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Component: Untriaged → SVG
Product: Firefox → Core
Comment 2•6 years ago
|
||
This is exactly what Safari does (it supports revert). Chrome doesn't support revert but you can't raise Chrome bugs here.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•