Bug 53114 - CSS 2.1 failure: before-after-table-parts-00* ::before and ::after don't work on table-internal elements like tr
Summary: CSS 2.1 failure: before-after-table-parts-00* ::before and ::after don't work...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://test.csswg.org/suites/css2.1/2...
Keywords:
Depends on:
Blocks: 47141
  Show dependency treegraph
 
Reported: 2011-01-25 12:22 PST by Tab Atkins
Modified: 2022-09-30 08:19 PDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!