[Webkit-unassigned] [Bug 156841] New: [GTK] "-webkit-line-box-contain: glyphs replaced" sets height of arabic glyphs to zero

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 21 02:59:15 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=156841

            Bug ID: 156841
           Summary: [GTK] "-webkit-line-box-contain: glyphs replaced" sets
                    height of arabic glyphs to zero
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fred.wang at free.fr
                CC: alex at igalia.com, mmaxfield at apple.com

Created attachment 276904
  --> https://bugs.webkit.org/attachment.cgi?id=276904&action=review
testcase

This was discussed in bug 153208. In the attached testcase:

1) green background is used for arabic and latin text.
2) red background is used for arabic and latin text, using "-webkit-line-box-contain: glyphs replaced"
3) blue background is used for arabic and latin text in a MathML <mi> element (which currently uses "-webkit-line-box-contain: glyphs replaced", see bug 151592)

This works correctly for latin, but the background of Arabic text does not appear because the height of the calculated bounding box is incorrect. After bug 153208, MathML uses this exact bounding box for the layout and so Arabic text no longer appears.

I was able to reproduce this problem on GTK but this works correctly on Mac, so I guess it is specific to the Linux graphics backend.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160421/7ad8bfcf/attachment.html>


More information about the webkit-unassigned mailing list