[Webkit-unassigned] [Bug 94179] New: [Qt] -webkit-text-stroke values being passed through a non-inherited chain

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 15 20:26:31 PDT 2012


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

           Summary: [Qt] -webkit-text-stroke values being passed through a
                    non-inherited chain
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bruno.abinader at basyskom.com


Created an attachment (id=158700)
 --> (https://bugs.webkit.org/attachment.cgi?id=158700&action=review)
Example to test the issue

While implementing repaint tests for bug 91638, I've noticed that the '-webkit-text-stroke' style property, when used on an object, affects the others not directly linked to this object (ie. through inheritance). See the example below:

...
<body>
    <p id="line1"><span id="test1" style="text-decoration: underline; -webkit-text-stroke: 1px blue; -webkit-text-fill-color: red;">red fill, blue stroke text with underline</span></p>
    <p id="line2">This is a very long text that should have its text stroke values reset to default</p>
</body>
...

The -webkit-text-stroke values from the span inside line1 are erroneously used on line2. On Minibrowser, the text stroke values are used until a certain length of the text ("reset" word), and inside QtTestBrowser it goes all the way. This behavior is certainly wrong and indicates that the text stroke width/color are not reset between each object rendering.

Can someone please also confirm this? I haven't tested it yet, but this issue might appear on other platforms as well.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list