Closed Bug 1281016 Opened 8 years ago Closed 7 years ago

Restrict -moz-border-[top|bottom|left|right]-colors to privileged style sheets

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 1417200

People

(Reporter: MatsPalmgren_bugz, Unassigned)

Details

AFAIK, -moz-border-[top|bottom|left|right]-colors are not on standards track, nor are they supported in other UAs (prefixed or not). Our border drawing code to support these properties is very slow, in fact it hangs the browser with huge border widths (bug 1229473), so it would be nice to make it impossible to reach that code path from web content. The first step is to restrict the use of these properties to privileged sheets. The second step is to remove all non-XUL use of these properties in UA sheets. AFAICT, it's only used for <progress>: http://searchfox.org/mozilla-central/rev/970569ad57ac4436ff31aa2ac63f38ed3ee2932d/layout/style/res/forms.css#l805
Priority: -- → P3
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.