[Webkit-unassigned] [Bug 22771] table with display: inline; does not work with proper DOCTYPE
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 25 21:25:22 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=22771
--- Comment #4 from Mustafizur Rahaman <mustaf.here at gmail.com> 2011-05-25 21:25:22 PST ---
Thanks Alexey. I got some info as to when this code was added by using svn blame.
However, I finally found that it is the problem with the test case. To make a table display inline, "display:inline" is not enough, we have to specify "display:inline-table" (enum INLINE_TABLE in the code). Please refer to
http://www.webkit.org/blog/115/webcore-rendering-ii-blocks-and-inlines/ as well
http://www.w3schools.com/css/pr_class_display.asp
When DOCTYPE is not mentioned i.e. in Quirk mode, the code applies lesser strictness, therefore allow "display:inline" to be displayed as inline table. But when we mention DOCTYPE, applying of style becomes more strict & it displays an inline table if & only if we mention "display:inline-table".
I have verified by making the following changes in the test case & now the table is rendered inline in Winlauncher & Safari.
<table style="display:inline-table">
Therefore, it is a test case issue, no problem with the code.
Can I change the status of the bug & How?
--
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