RESOLVED CONFIGURATION CHANGED 63183
CSS2.1-Chapter9 : root-box-002:HTML elements can be set to other display property values in order to behave like another element.
https://bugs.webkit.org/show_bug.cgi?id=63183
Summary CSS2.1-Chapter9 : root-box-002:HTML elements can be set to other display prop...
Sangeetha
Reported 2011-06-22 14:27:11 PDT
http://test.csswg.org/suites/css2.1/20110323/html4/root-box-002.htm fails Additional Info: Here is a reduced scenario of the bug. In style for html:before specifying both "content" and "display: table-caption" makes the div in the body invisible. Removing one of this makes the div visible. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <style type="text/css"> html:before {content: "This text should appear before the Div to Test-Style"; display: table-caption;} head, body { display: table-row; } .bl { background: url(support/test-bl.png); } [title="tl"] { background: url(support/test-tl.png); } </style> </head> <body> <div class="bl">Div to Test-Style: Before HTML </div> </body> </html>
Attachments
Safari 15.5 matches other browsers (997.12 KB, image/png)
2022-06-21 16:48 PDT, Ahmad Saleem
no flags
Ahmad Saleem
Comment 1 2022-06-21 16:48:12 PDT
Created attachment 460390 [details] Safari 15.5 matches other browsers I am unable to reproduce this bug based on attached test case in Comment 01 using Safari 15.5 on macOS 12.4. It matches with other browsers as shown in the attached screenshot. I think this was resolved along the way and can now be marked as "RESOLVED CONFIGURATION CHANGED". Thanks! Further - based on Comment 01, I changed the reduction into following JSFiddle: Link - https://jsfiddle.net/rmjs528p/ It also behave similar across all browser (but no screenshot attached). Thanks!
Note You need to log in before you can comment on or make changes to this bug.