Bug 227257 - CSSStyleDeclaration.getPropertyPriority() should return the empty string for invalid CSS properties
Summary: CSSStyleDeclaration.getPropertyPriority() should return the empty string for ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://drafts.csswg.org/cssom/#dom-c...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-06-22 09:33 PDT by Chris Dumez
Modified: 2021-06-23 11:39 PDT (History)
13 users (show)

See Also:


Attachments
Patch (7.29 KB, patch)
2021-06-22 09:36 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Improved test coverage (2.62 KB, patch)
2021-06-23 10:44 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2021-06-22 09:33:57 PDT
CSSStyleDeclaration.getPropertyPriority() should return the empty string for invalid CSS properties, not null:
https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-getpropertyvalue
Comment 1 Chris Dumez 2021-06-22 09:36:48 PDT
Created attachment 431970 [details]
Patch
Comment 2 Geoffrey Garen 2021-06-22 10:37:34 PDT
Comment on attachment 431970 [details]
Patch

r=me
Comment 3 EWS 2021-06-22 10:43:21 PDT
Committed r279125 (239040@main): <https://commits.webkit.org/239040@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 431970 [details].
Comment 4 Radar WebKit Bug Importer 2021-06-22 10:44:20 PDT
<rdar://problem/79622278>
Comment 5 Chris Dumez 2021-06-23 10:44:32 PDT
Reopening to attach new patch.
Comment 6 Chris Dumez 2021-06-23 10:44:34 PDT
Created attachment 432072 [details]
Improved test coverage
Comment 7 EWS 2021-06-23 11:39:04 PDT
Committed r279176 (239072@main): <https://commits.webkit.org/239072@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 432072 [details].