Closed Bug 294694 Opened 20 years ago Closed 20 years ago

shorthand border not parsed with % instead of pix

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: tonglebeak, Assigned: dbaron)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050515 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050515 Firefox/1.0+ If an element has border:groove 1px; for example, the border is rendered fine. However, if it uses percent, like border: groove 1%; , the it does not get rendered and the js console complains about it. Reproducible: Always
This shows the top div being rendered with a border, using 1px. THe bottom is using 1%, and is not being rendered.
*** Bug 294693 has been marked as a duplicate of this bug. ***
Assignee: nobody → dbaron
Component: Layout: Tables → Style System (CSS)
QA Contact: layout.tables → ian
The CSS spec does not allow percentages on 'border-width'.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: