Bug 63183 - CSS2.1-Chapter9 : root-box-002:HTML elements can be set to other display property values in order to behave like another element.
Summary: CSS2.1-Chapter9 : root-box-002:HTML elements can be set to other display prop...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://test.csswg.org/suites/css2.1/2...
Keywords:
Depends on:
Blocks: 47141
  Show dependency treegraph
 
Reported: 2011-06-22 14:27 PDT by Sangeetha
Modified: 2011-06-24 07:33 PDT (History)
2 users (show)

See Also:


Attachments

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