Closed Bug 1335990 Opened 7 years ago Closed 7 years ago

stylo: border-width is not computed to medium when border-style is specified

Categories

(Core :: CSS Parsing and Computation, defect, P1)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1350140

People

(Reporter: xidorn, Assigned: emilio)

References

Details

Attachments

(1 file)

Attached file testcase
See the attached testcase. With stylo, it shows "0px", while in all other browsers (including Servo!) it shows "3px".

The rule is that, border-*-width properties have their initial value to be "medium" (which is 3px in general), but when their corresponding border-*-style is none, they are computed to 0px.

In this case, we specify border-style to "solid", which should make all border-width be computed to 3px.
Priority: -- → P2
This one should probably be quick, but good to knock out.
Assignee: nobody → mbrubeck
Priority: P2 → P1
This is also relevant for outline-width, I'm fixing both at bug 1350140.
Depends on: 1350140
Fixed by bug 1350140.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Assignee: mbrubeck → emilio+bugs
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: