Closed
Bug 1387931
Opened 6 years ago
Closed 5 years ago
Don't generate pseudo elements for ::before and ::after if content property is 'none' or 'normal'
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
firefox57 | --- | wontfix |
People
(Reporter: hiro, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: dev-doc-complete)
From the spec [1]; none The pseudo-element is not generated. Stylo does not pseudo elements at all. [1] https://www.w3.org/TR/CSS21/generate.html#content
Reporter | ||
Comment 1•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=539ae2c3258394e9c6aa7f73a30dfb5a763ba22a I have no idea how to test this without checking whether animation was created on the pseudo element which has 'content:none'.
Comment 2•6 years ago
|
||
Hiro, is this a bug we need to fix in Stylo? Or a bug in Gecko's style system?
Flags: needinfo?(hikezoe)
Reporter | ||
Comment 3•6 years ago
|
||
Tight, this is a gecko bug, stylo handles the case correctly.
Flags: needinfo?(hikezoe)
Comment 4•6 years ago
|
||
Marking as part of documentation plan for intentional stylo differences, just in case this is fixed before stylo hits release.
Keywords: dev-doc-needed
Updated•6 years ago
|
Priority: -- → P3
Comment 5•6 years ago
|
||
Documented: https://developer.mozilla.org/en-US/docs/Web/CSS/::before#Quantum_CSS_notes https://developer.mozilla.org/en-US/docs/Web/CSS/::after#Quantum_CSS_notes https://developer.mozilla.org/en-US/docs/Web/CSS/content#Quantum_CSS_notes https://developer.mozilla.org/en-US/Firefox/Releases/57#Quantum_CSS_notes
Keywords: dev-doc-needed → dev-doc-complete
Updated•6 years ago
|
status-firefox57:
--- → wontfix
Reporter | ||
Comment 6•5 years ago
|
||
Closing since this is a bug for the old style system.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•