Bug 243538

Summary: placeholderCanvas.setAtttribute(width) messes the CSSOM boxes
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, bfulgham, dino, heycam, karlcow, mattwoodrow, rniwa, sabouhallawa, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari 15   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 183720    
Bug Blocks:    
Attachments:
Description Flags
Reference Screenshot (of Safari 15.6) none

Description Ahmad Saleem 2022-08-04 05:56:00 PDT
Created attachment 461397 [details]
Reference Screenshot (of Safari 15.6)

Hi Team,

I am going through Chrome Bugs and noticed following test case, which is broken in Safari 15.6 on macOS 12.5 and it does not show any boxes etc.

Test Case Link - https://jsfiddle.net/brc580sz/show

Chrome Bug - https://bugs.chromium.org/p/chromium/issues/detail?id=1314583

*** STEPS TO REPRODUCE ***

1) Open JSFiddle and run

>> EXPECTED RESULT:

It should show the outlines etc.

>> ACTUAL RESULT:

Safari does not show outlines etc. like other browsers (Chrome Canary 106 & Firefox Nightly 105)

____

Please refer to attached screenshot as reference and also if it is fixed in upstream Webkit Nightly then please ignore and mark it as Duplicate.

Thanks
Comment 1 Radar WebKit Bug Importer 2022-08-11 05:56:16 PDT
<rdar://problem/98503852>
Comment 2 Matt Woodrow 2022-09-11 18:17:24 PDT
This is failing because OffscreenCanvas isn't supported yet, and the 'transferControlToOffscreen' call is erroring.
Comment 3 Matt Woodrow 2022-12-20 17:53:40 PST

*** This bug has been marked as a duplicate of bug 247107 ***