Open Bug 1612660 Opened 6 years ago Updated 4 years ago

Adding a property with an rgb() with alpha parameter turns it into rgba

Categories

(DevTools :: Inspector: Rules, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: nchevobbe, Unassigned)

Details

Steps to reproduce

  1. Open data:text/html,<h1>Hello</h1>
  2. Inspect the element
  3. In the rule view, add the following property for this element color: rgb(0,0,0,0.5);

Expected results

A property is added, with the rgb(0,0,0,0.5) value (which is now valid)

Actual results

The value is directly switched to rgba(0,0,0,0.5) (note the rgba)

Yes, we should respect authored styles for colors whenever possible.

Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.