Bug 53114

Summary: CSS 2.1 failure: before-after-table-parts-00* ::before and ::after don't work on table-internal elements like tr
Product: WebKit Reporter: Tab Atkins <tabatkins>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, ap, hyatt, igor.oliveira, mitz, robert, simon.fraser, zalan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
URL: http://test.csswg.org/suites/css2.1/20110111/html4/before-after-table-parts-001.htm
Bug Depends on:    
Bug Blocks: 47141    

Description Tab Atkins 2011-01-25 12:22:42 PST
Test: http://test.csswg.org/suites/css2.1/20110111/html4/before-after-table-parts-001.htm
Ref:  http://test.csswg.org/suites/css2.1/20110111/html4/before-after-table-parts-001-ref.htm

According to the CSS 2.1 spec, ::before and ::after can be generated on all elements.  Webkit doesn't allow them to be generated on table-internal elements (any element with 'display' of 'table-row', 'table-row-group', 'table-header-group', 'table-footer-group').  It should.

This causes the first two tests in the first column, and all of tests in the second column, to fail.
Comment 1 Ahmad Saleem 2022-09-30 08:19:32 PDT
I am not able to see any difference with Safari 16 with other browsers (Chrome Canary 108 and Firefox Nightly 107).

I am marking this as "RESOLVED CONFIGURATION CHANGED". If it is reproducible and I am testing wrong, please reopen. Thanks!