[Webkit-unassigned] [Bug 117359] tables with display:block layed out differently than other browsers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 10 22:46:09 PST 2014


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


deepak.deepakmittal at gmail.com <deepak.m1 at samsung.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |deepak.m1 at samsung.com




--- Comment #4 from deepak.deepakmittal at gmail.com <deepak.m1 at samsung.com>  2014-02-10 22:43:26 PST ---
The Reason is when we put the document tag in the test page then style.get().display() for HTMLTableCellElement will come as the BLOCK and due to that control will go inside 

if (!child->isTableCell()) in RenderTableRow.cpp file, and layout is the Block flow.
So  the row's comes one above the another due to blow flow.

But when the doctype is not present in the page then style.get().display() for HTMLTableCellElement will come as the TABLE_CELL so control will not go inside if (!child->isTableCell()) in RenderTableRow.cpp file,

and layout is the inline flow, so cell's are coming adjustment.

-- 
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