Bug 172058

Summary: Simple line layout and the inline tree return different Range client rects
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: TextAssignee: 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)
Reported 2017-05-12 16:25:34 PDT
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
Note You need to log in before you can comment on or make changes to this bug.