Closed Bug 1805392 Opened 2 years ago Closed 2 years ago

outline-style: inherit misbehaves unless you specify outline-width.

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

No description provided.

The fix is calling set_outline_style so that we also reset the actual
outline width. Also clean-up surrounding code a little bit to be
marginally more efficient, and do the same change for border-*-style
(which was doing the right thing, but it's better to make sure both stay
in sync).

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ee1eac36428f
Fix outline-style: inherit behavior if you don't specify outline-width. r=Oriol
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/37475 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: