<fieldset> not working box-shadow inset
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
People
(Reporter: devcustrom, Assigned: emilio)
References
(Blocks 1 open bug, )
Details
(Keywords: correctness, regression)
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Steps to reproduce:
https://play.tailwindcss.com/aWFBA6nbQU
Actual results:
https://play.tailwindcss.com/aWFBA6nbQU
Expected results:
expect to see box-shadow inset in fieldset tag
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
![]() |
||
Comment 2•3 years ago
|
||
I can reproduce the issue in Firefpx91esr and 98.0a1 Windows10.
The issue go away if WebRender is disabled in 91esr.
![]() |
||
Updated•3 years ago
|
![]() |
||
Comment 3•3 years ago
•
|
||
Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=a21099ce055f983cd642732d49148d3bfaa2d686&tochange=6d0f18e0387602d534a03c2cae10cf6b814ea9fd
Regressed by:
d868d37155547fdfb02e68d477ae55e32f924ea4 Glenn Watson — servo: Merge #18926 - Update WR (box shadows, subpixel + alpha text) (from glennw:update-wr-bs); r=jdm
or
1347bb0b084bf245ff9315d07e3646547aa0c8e0 Emilio Cobos Álvarez — servo: Merge #18937 - style: Use a proper flattened tree iterator if we're under a shadow tree (from emilio:shadow-proper-flattened-tree); r=heycam
Updated•3 years ago
|
Comment 4•3 years ago
|
||
:alice0775, since this bug is a regression, could you fill (if possible) the regressed_by field?
For more information, please visit auto_nag documentation.
![]() |
||
Comment 5•3 years ago
|
||
(In reply to Release mgmt bot [:marco/ :calixte] from comment #4)
:alice0775, since this bug is a regression, could you fill (if possible) the regressed_by field?
For more information, please visit auto_nag documentation.
See comment#3.
Comment 7•3 years ago
|
||
I can reproduce the bug locally with the provided data URL.
I saved a WR capture file and inspected the scene - there doesn't appear to be any box-shadow
primitive in the content display list at all (just a couple of background rectangles and the groove
border).
Perhaps the Gecko DL building code or DL->WR converting code is ignoring the box-shadow on a fieldset
?
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 8•3 years ago
|
||
Fieldsets have rather weird background and border painting rules, so we
paint inset box shadows as part of the nsFieldSetBorder display item.
However there was no equivalent to this call in the WebRender
implementation:
Comment 11•3 years ago
|
||
Comment 12•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2c37aa3ea90b
https://hg.mozilla.org/mozilla-central/rev/cf8829a3353a
Comment 14•3 years ago
|
||
The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 15•3 years ago
|
||
Pretty old regression so probably can ride the trains.
Updated•3 years ago
|
Description
•