sibling selector shadow down
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
People
(Reporter: gerhard.meyer, Unassigned)
Details
Attachments
(1 file)
1.52 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Steps to reproduce:
Just open my sample. The button show be visible when removing the readonly attribute from the input.
Actual results:
Sibling selector not applied correctly. When opening dev tools it suddenly applies
Expected results:
It should apply the sibling style. I have attached a example of the problem. Can be run in chrome to see expected results. The problem seems tied to the shadow dom and the sibling(~) selector.
Comment 1•14 days ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::CSS Parsing and Computation' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•8 days ago
|
||
Thanks for filing - and for the reduced testcase.
When opening dev tools it suddenly applies
That's a pretty telltale sign of a missed invalidation. Quickly changing display: none
to background: red
the issue still occurs, so it's unlikely to be the issue with the button not having a style.
Description
•