Bug 139183 - CSS first-letter property is not respected by the SVG <text> element
Summary: CSS first-letter property is not respected by the SVG <text> element
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-12-02 08:42 PST by Said Abou-Hallawa
Modified: 2014-12-02 08:44 PST (History)
2 users (show)

See Also:


Attachments
Test first-letter style element with the svg <text> element. (387 bytes, image/svg+xml)
2014-12-02 08:42 PST, Said Abou-Hallawa
no flags Details
Expected file (355 bytes, image/svg+xml)
2014-12-02 08:43 PST, Said Abou-Hallawa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2014-12-02 08:42:57 PST
Created attachment 242409 [details]
Test first-letter style element with the svg <text> element.

Open the attached file and compare it with the expected results. They should be identical.

The CSS first-letter is not respected by the SVG text element. If the selector is text::first-letter or ::first-letter is in the style section of the svg, it has no effect.  It is expected to have the first letter drawn with the style specified in the first-letter element.

NOTE: The attached file is an imported test from Mozilla test suite for svg
Comment 1 Said Abou-Hallawa 2014-12-02 08:43:30 PST
Created attachment 242411 [details]
Expected file
Comment 2 Radar WebKit Bug Importer 2014-12-02 08:44:01 PST
<rdar://problem/19114946>