Bug 137672

Summary: AX: [ATK] atk_text_get_text_at_offset is broken for elements with CSS-generated text content
Product: WebKit Reporter: Joanmarie Diggs <jdiggs>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bugs-noreply, dauwhe, webkit-bug-importer, webkit
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: Linux   
Bug Depends on:    
Bug Blocks: 25531    

Description Joanmarie Diggs 2014-10-13 14:17:38 PDT
Given:

  <html>
  <head>
  <style type="text/css">
  p#generated:before { content: "Before"; }
  p#generated:after { content: "After"; }
  </style>
  </head>
  <body>
  <p id="generated"> Text </p>
  </body>
  </html>

The reported line, word, and sentence for a specified offset is either a partial string or an empty string.

See also bug 137669.
Comment 1 Radar WebKit Bug Importer 2014-10-13 14:17:49 PDT
<rdar://problem/18638921>