Closed Bug 442630 Opened 16 years ago Closed 16 years ago

Style system creates the invalid shorthand "border: 5px solid inherit;"

Categories

(Core :: DOM: CSS Object Model, defect)

x86
macOS
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 376075

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

Attached file testcase (deleted) —
style="border-style: solid; border-color: inherit; border-width: 5px;" is *serialized* as style="border: 5px solid inherit;" but the style *parser* rejects this due to the "inherit", saying "Error in parsing value for property 'border'.". I don't know which part is wrong, but clearly at least one of them is wrong.
It's the serialization that's incorrect; 'inherit' is allowed only as a value on its own and never as part of a shorthand.
Component: Style System (CSS) → DOM: CSSOM
QA Contact: style-system → general
Summary: Style system creates but rejects the shorthand "border: 5px solid inherit;" → Style system creates the invalid shorthand "border: 5px solid inherit;"
Depends on: 160403
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: