Commit 1469180c authored by smcgruer's avatar smcgruer Committed by Commit bot

Fix comment regarding position:relative for table cells

Support for position:relative was added back in early 2011, in
23fab7d4, but the comment was never
updated to reflect the new code.

BUG=679759

Review-Url: https://codereview.chromium.org/2625723002
Cr-Commit-Position: refs/heads/master@{#443369}
parent 17238c09
......@@ -329,9 +329,8 @@ static void adjustStyleForDisplay(ComputedStyle& style,
style.setDisplay(EDisplay::InlineBlock);
// After performing the display mutation, check table rows. We do not honor
// position: relative table rows or cells. This has been established for
// position: relative in CSS2.1 (and caused a crash in containingBlock() on
// some sites).
// position: relative table rows. This has been established for position:
// relative in CSS2.1 (and caused a crash in containingBlock() on some sites).
if ((style.display() == EDisplay::TableHeaderGroup ||
style.display() == EDisplay::TableRowGroup ||
style.display() == EDisplay::TableFooterGroup ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment