Closed
Bug 1884113
Opened 2 years ago
Closed 2 years ago
Deleted (Wrong Stylo CSS parsing result in `transparent` keyword)
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
INVALID
People
(Reporter: rushliu, Unassigned)
Details
Steps to reproduce:
background: repeating-linear-gradient(0.25turn, transparent, #3f87a6 20px);
Actual results:
Parsed this CSS with rust Stylo crate. Stylo parses the gradient wrongly, it simply returns Absolute black transparent (https://github.com/servo/stylo/blob/3f129fb95a345f0057a6b72901eb7eb795840a76/style/values/computed/color.rs#L56)
Expected results:
Most modern browsers (Chrome 123, Firefox 123), the transparent in gradient should be parsed into "next color with alpha = 0".
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
Group: core-security
Summary: Wrong Stylo CSS parsing result in `transparent` keyword → Deleted (Wrong Stylo CSS parsing result in `transparent` keyword)
You need to log in
before you can comment on or make changes to this bug.
Description
•