Bug 172058
| Summary: | Simple line layout and the inline tree return different Range client rects | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | Text | Assignee: | alan <zalan> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ap, koivisto, mmaxfield, simon.fraser, zalan |
| Priority: | P2 | ||
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 172057 | ||
| Bug Blocks: | |||
Simon Fraser (smfr)
LayoutTests/fast/dom/Range/simple-line-layout-getclientrects-expected.html detected a case where simple line layout and the inline tree returned different client rects for a range.
simple line layout does not round the rects, but InlineTextBox::localSelectionRect() does snapping of the selection rects, resulting in integral rects.
This means that simple line layout is detectable from web content.
I will modify the test to work around this problem in bug 172057.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |