WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
15268
display:table-row always shows as the first row irrespective of where its defined.
https://bugs.webkit.org/show_bug.cgi?id=15268
Summary
display:table-row always shows as the first row irrespective of where its def...
Anantha Keesara
Reported
2007-09-24 08:00:31 PDT
Please see the attached testcase. All three browsers(IE,FF,Safari) render different.
Attachments
display:table-row always shows as the first row irrespective of where its defined.
(263 bytes, text/html)
2007-09-24 08:01 PDT
,
Anantha Keesara
no flags
Details
Safari 15.6 matches with Chrome but differs from Firefox
(400.21 KB, image/png)
2022-07-25 16:49 PDT
,
Ahmad Saleem
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Anantha Keesara
Comment 1
2007-09-24 08:01:14 PDT
Created
attachment 16368
[details]
display:table-row always shows as the first row irrespective of where its defined.
Robert Blaut
Comment 2
2008-03-09 13:56:59 PDT
In my opinion element with display:table-row shouldn't have influence on calculating parent element height like normal <tr> element so the case exposes bug in Webkit. Only Firefox displays it correctly. Opera also fails but differently.
Dave Hyatt
Comment 3
2008-03-09 14:01:49 PDT
The table is before the first div. This is clearly some kind of ordering bug. In addition in quirks mode we allow a table with no cells to have height (either from the row or the table specifying a height). However for CSS-anonymous tables we really should not support the quirk. So I see two bugs here.
Robert Blaut
Comment 4
2008-03-09 14:13:40 PDT
(In reply to
comment #3
)
> In addition in quirks mode we allow a table with no cells to have height > (either from the row or the table specifying a height). However for > CSS-anonymous tables we really should not support the quirk.
Dave, in strict mode the test case looks identical as in quirks mode:
http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cdiv%20%20style%3D%22border%3A2px%20solid%20black%3B%20%20width%3A%20100px%22%3E%0A%20%20%20%20%20%3Cdiv%20%20style%3D%22border%3A2px%20solid%20red%3Bheight%3A%2060px%3B%20width%3A%2080px%3B%22%3E%3C%2Fdiv%3E%0A%20%20%20%20%20%3Cdiv%20style%3D%22border%3A2px%20solid%20green%3B%20display%3A%20table-row%3B%20width%3A%2080px%3B%20height%3A%2020px%3B%22%3E%3C%2Fdiv%3E%0A%3C%2Fdiv%3E
Ahmad Saleem
Comment 5
2022-07-25 16:49:17 PDT
Created
attachment 461205
[details]
Safari 15.6 matches with Chrome but differs from Firefox I am not sure on web-spec nor on expected result but as can be seen from attached screenshot - Safari matches with Chrome but differ from Firefox. Thanks!
Radar WebKit Bug Importer
Comment 6
2022-07-26 19:52:49 PDT
<
rdar://problem/97642125
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug