Bug 227257

Summary: CSSStyleDeclaration.getPropertyPriority() should return the empty string for invalid CSS properties
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: CSSAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, esprehn+autocc, ews-watchlist, ggaren, glenn, gyuyoung.kim, koivisto, kondapallykalyan, macpherson, menard, sam, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-getpropertyvalue
Attachments:
Description Flags
Patch
none
Improved test coverage none

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].