-
robert@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=11582 Reviewed by David Hyatt. Source/WebCore: The offsetTop and offsetLeft of sections, rows and cells should include the table's border. There are separate problems with the offset[Top|Left] of table sections and the offsetLeft of rows which are covered under bugs 119020 and 119021 respectively - here we stick to just fixing the inclusion of the border as it doesn't require rebaselining a lot of tests. Test: fast/table/offset-top-includes-border.html * rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::adjustedPositionRelativeToOffsetParent): * rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::layoutRows): LayoutTests: * fast/dom/Element/offsetTop-table-cell-expected.txt: * fast/dom/Element/offsetTop-table-cell.html: * fast/table/offset-top-includes-border-expected.txt: Added. * fast/table/offset-top-includes-border.html: Added. * platform/mac/editing/selection/5057506-2-expected.txt: * platform...
f9766b13