Bug 202919

Summary: [CSS Shadow Parts] ::part rules should be able to override style attribute
Product: WebKit Reporter: Emilio Cobos Álvarez (:emilio) <emilio>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: allan.jensen, commit-queue, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, jan, koivisto, macpherson, menard, rniwa, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 203029    
Bug Blocks: 149443    
Attachments:
Description Flags
Testcase.
none
patch
none
patch
none
patch
none
patch none

Description Emilio Cobos Álvarez (:emilio) 2019-10-14 01:19:04 PDT
Created attachment 380861 [details]
Testcase.

See the test-case.

WebKit trunk behaves the same as Firefox, but I think Chromium is technically correct.
Comment 1 Jan Miksovsky 2019-10-15 16:36:33 PDT
I filed https://github.com/w3c/webcomponents/issues/847 just to make sure everyone's on board with following Chrome's behavior.
Comment 2 Antti Koivisto 2019-10-16 00:16:44 PDT
Inline style is simply appended to the matching declaration list, and not sorted with the rest of the author style, because before this feature it would always win.
Comment 3 Antti Koivisto 2019-10-16 08:03:44 PDT
Created attachment 381069 [details]
patch
Comment 4 Antti Koivisto 2019-10-17 04:43:19 PDT
Created attachment 381189 [details]
patch
Comment 5 Antti Koivisto 2019-10-18 02:28:37 PDT
Created attachment 381286 [details]
patch
Comment 6 Antti Koivisto 2019-10-18 02:40:33 PDT
Created attachment 381289 [details]
patch
Comment 7 WebKit Commit Bot 2019-10-18 09:19:31 PDT
The commit-queue encountered the following flaky tests while processing attachment 381289 [details]:

fetch/fetch-worker-crash.html bug 187257 (author: youennf@gmail.com)
The commit-queue is continuing to process your patch.
Comment 8 WebKit Commit Bot 2019-10-18 09:20:23 PDT
Comment on attachment 381289 [details]
patch

Clearing flags on attachment: 381289

Committed r251285: <https://trac.webkit.org/changeset/251285>
Comment 9 WebKit Commit Bot 2019-10-18 09:20:25 PDT
All reviewed patches have been landed.  Closing bug.
Comment 10 Radar WebKit Bug Importer 2019-10-18 09:21:14 PDT
<rdar://problem/56408673>