Chromium Code Reviews
        
  DescriptionFix ShapeResult::selectionRect handles RTL runs in wrong order
In ShapeResult::selectionRect, the Vector of ShapeResult is in logical
order, while RunInfo in ShapeResult is in visual order.
This patch fixes logical offsets to visual offsets when comparing to
RunInfo.
Also fixes to use HB_DIRECTION_IS_BACKWARD() when testing
hb_direction_t is RTL, which improves the test in vertical flow.
BUG=539108
Committed: https://crrev.com/79e5c356b8571b04a90bbfddfc8be0965e1af416
Cr-Commit-Position: refs/heads/master@{#357319}
   
  Patch Set 1 #Patch Set 2 : Fix runs are in visual order, and test #Patch Set 3 : Cleanup test #Patch Set 4 : Fix test #Patch Set 5 : Fix currentX calculation #Patch Set 6 : Fix currentX calculation #Patch Set 7 : Rebaseline 1px diff on Mac #
      Total comments: 2
      
     
  
  
 Messages
    Total messages: 19 (8 generated)
     
  
  
       | 
    |||||||||||||||||||||||||||||||||||||