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

Chris Dumez
Reported 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
Attachments
Patch (7.29 KB, patch)
2021-06-22 09:36 PDT, Chris Dumez
no flags
Improved test coverage (2.62 KB, patch)
2021-06-23 10:44 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2021-06-22 09:36:48 PDT
Geoffrey Garen
Comment 2 2021-06-22 10:37:34 PDT
Comment on attachment 431970 [details] Patch r=me
EWS
Comment 3 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].
Radar WebKit Bug Importer
Comment 4 2021-06-22 10:44:20 PDT
Chris Dumez
Comment 5 2021-06-23 10:44:32 PDT
Reopening to attach new patch.
Chris Dumez
Comment 6 2021-06-23 10:44:34 PDT
Created attachment 432072 [details] Improved test coverage
EWS
Comment 7 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].
Note You need to log in before you can comment on or make changes to this bug.