WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
275437
Web Inspector: Styles Panel: Can't add a CSS Declaration block to a newly created rule
https://bugs.webkit.org/show_bug.cgi?id=275437
Summary
Web Inspector: Styles Panel: Can't add a CSS Declaration block to a newly cre...
Razvan Caliman
Reported
2024-06-13 06:13:45 PDT
Steps to reproduce: - Inspect the <body> element on webkit.org. - In the Styles panel, click the plus icon (➕)to add a new CSS rule. - Tab to move focus to the input field of the first property. - Paste this CSS declaration block and hit the Return key: ``` clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; ``` Expected: The new CSS rule should contain the provided CSS declarations. Result: The CSS rule is empty.
Attachments
Add attachment
proposed patch, testcase, etc.
Razvan Caliman
Comment 1
2024-06-13 06:16:26 PDT
Also fails when pasting the declaration block into the property field of an inherited style. Works fine on an existing CSS rule that matches the element directly.
Radar WebKit Bug Importer
Comment 2
2024-06-13 11:59:56 PDT
<
rdar://problem/129784964
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug