[Webkit-unassigned] [Bug 53148] New: Location of <style> block affects generation of anonymous table boxes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 25 17:19:28 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=53148

           Summary: Location of <style> block affects generation of
                    anonymous table boxes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: data:text/html,<!doctype html><style>#a > span {
                    display: table-cell; }</style><div
                    id=a><span>a</span><span>b</span></div><div
                    id=b><span>a</span><span>b</span></div><style>#b >
                    span { display: table-cell; }</style>
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tabatkins at google.com
                CC: hyatt at apple.com, simon.fraser at apple.com


Testcase:
<!doctype html>
<style>
#a > span { display: table-cell; }
</style>
<div id=a>
  <span>a</span>
  <span>b</span>
</div>
<div id=b>
  <span>a</span>
  <span>b</span>
</div>
<style>
#b > span { display: table-cell; }
</style>

The contents of #a and #b should be identical, as they have identical structure and identical CSS applied to them - the two spans should be wrapped in an anonymous table box.  

Instead, #b generates *two* anonymous table boxes, one for each span.  This is an error.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list